Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,136 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-18 10:28:51
|
||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/total-desglosado.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:6466337453a1b0337b6891-17376715%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0e7661214b15bf2f07b814da0e0f8aa893f4bb0a' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/total-desglosado.tpl',
|
||||
1 => 1375965231,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '6466337453a1b0337b6891-17376715',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div style="width:750px;">
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('impuestos')->value){?>
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
Subtotal Original
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['subtotalOriginal'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['impuesto'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('impuestos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['impuesto']->key => $_smarty_tpl->tpl_vars['impuesto']->value){
|
||||
?>
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
<?php if ($_smarty_tpl->getVariable('impuesto')->value['tipo']=="retencion"){?>
|
||||
Retención
|
||||
<?php }elseif($_smarty_tpl->getVariable('impuesto')->value['tipo']=="deduccion"){?>
|
||||
Deducción
|
||||
<?php }?>
|
||||
<?php echo $_smarty_tpl->getVariable('impuesto')->value['tasa'];?>
|
||||
% de <?php echo $_smarty_tpl->getVariable('impuesto')->value['impuesto'];?>
|
||||
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('impuesto')->value['importe'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<?php }} ?>
|
||||
<?php }?>
|
||||
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
Subtotal
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['subtotal'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
Descuento
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['descuento'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
Después de Descuento
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['afterDescuento'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
IVA
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['iva'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
Después de IVA
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['afterIva'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
IEPS
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['ieps'];?>
|
||||
|
||||
</div>
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
Después de Impuestos
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['afterImpuestos'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<div style="clear:both"></div>
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
Ret. IVA
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['retIva'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
Ret. ISR
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['retIsr'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<div style="float:left; width:350px ;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
Total
|
||||
</div>
|
||||
<div style="float:left; width:250px;border:solid; border-width:1px; border-color:#000; background-color:#FFC; padding:5px">
|
||||
$ <?php echo $_smarty_tpl->getVariable('totalDesglosado')->value['total'];?>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user