Files
ventas_php/templates_c/d26b7b14c87a0d62dd438e6e97d33a755933007f.file.cuentas-pagos-prov-base.tpl.php

48 lines
2.2 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-10-17 09:05:11
compiled from "/var/www/html/templates/items/cuentas-pagos-prov-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:897790028544122174262e5-28140502%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd26b7b14c87a0d62dd438e6e97d33a755933007f' =>
array (
0 => '/var/www/html/templates/items/cuentas-pagos-prov-base.tpl',
1 => 1410130453,
),
),
'nocache_hash' => '897790028544122174262e5-28140502',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['ky'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('item')->value['pagos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['it']->key => $_smarty_tpl->tpl_vars['it']->value){
$_smarty_tpl->tpl_vars['ky']->value = $_smarty_tpl->tpl_vars['it']->key;
?>
<tr>
<td align="center" height="25"><?php echo $_smarty_tpl->getVariable('it')->value['metodoPago'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['noCheque'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['noFactura'];?>
</td>
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('it')->value['cantidad'],2,".",",");?>
<?php echo $_smarty_tpl->getVariable('it')->value['currency'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['fecha'];?>
</td>
<td align="center">
<a href="javascript:void(0)" onclick="DeletePago(<?php echo $_smarty_tpl->getVariable('it')->value['provPagoId'];?>
)" title="Eliminar">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.gif" border="0" />
</a>
</td>
</tr>
<?php }} else { ?>
<tr><td colspan="6" align="center" height="30">Ning&uacute;n registro encontrado.</td></tr>
<?php } ?>