49 lines
2.4 KiB
PHP
Executable File
49 lines
2.4 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-09-23 17:55:01
|
|
compiled from "/var/www/html/templates/boxes/export-factura.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:8907894675421fa45bf7a59-68366070%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'2daea5e851b43b2ea78be37c594d0f7bb00e085d' =>
|
|
array (
|
|
0 => '/var/www/html/templates/boxes/export-factura.tpl',
|
|
1 => 1410130448,
|
|
),
|
|
),
|
|
'nocache_hash' => '8907894675421fa45bf7a59-68366070',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<div>
|
|
El comprobante ha sido generada exitosamente, ahora puedes proceder a guardar los archivos.
|
|
<br />No te preocupes, estos archivos los podras volver a ver en "Consultar Comprobantes"
|
|
<br /><br />
|
|
|
|
<?php if ($_smarty_tpl->getVariable('info')->value['version']=="v3"||$_smarty_tpl->getVariable('info')->value['version']=="construc"){?>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/util/download.php?path=<?php echo $_smarty_tpl->getVariable('comprobante')->value['path'];?>
|
|
&secPath=xml&filename=SIGN_<?php echo $_smarty_tpl->getVariable('comprobante')->value['xml'];?>
|
|
.xml&contentType=text/xml" target="_blank" title="Descargar XML">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/xml_icon.png" height="100" width="100" border="0"/>
|
|
</a>
|
|
<?php }elseif($_smarty_tpl->getVariable('info')->value['version']=="2"){?>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/util/download.php?path=<?php echo $_smarty_tpl->getVariable('comprobante')->value['path'];?>
|
|
&secPath=xml&filename=<?php echo $_smarty_tpl->getVariable('comprobante')->value['xml'];?>
|
|
.xml&contentType=text/xml" target="_blank" title="Descargar XML">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/xml_icon.png" height="100" width="100" border="0"/></a>
|
|
<?php }?>
|
|
|
|
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/facturacion-pdf/ver/<?php echo $_smarty_tpl->getVariable('comprobante')->value['comprobanteId'];?>
|
|
" target="_blank" title="Descargar PDF">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/pdf_icon.png" height="100" width="100" border="0"/></a>
|
|
<br /><br />
|
|
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/facturacion-nueva">Crear Nuevo Comprobante</a>
|
|
</div>
|