Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,136 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:37
|
||||
compiled from "/var/www/html/templates/boxes/total-desglosado.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:18040014015411bfe1b311a0-16730911%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'a8a71c51b83b8250507cd0f0ad74542c7adeba49' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/boxes/total-desglosado.tpl',
|
||||
1 => 1410130449,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '18040014015411bfe1b311a0-16730911',
|
||||
'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