Files
ventas_php/ajax/templates_c/3808a30e70411773d216c68bde9360989d24291b.file.export-factura.tpl.php

49 lines
2.5 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-04-30 12:17:48
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/export-factura.tpl" */ ?>
<?php /*%%SmartyHeaderCode:19284591355361303c292b35-03379903%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3808a30e70411773d216c68bde9360989d24291b' =>
array (
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/export-factura.tpl',
1 => 1396396276,
),
),
'nocache_hash' => '19284591355361303c292b35-03379903',
'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>