Files
ventas_php/ajax/templates_c/bab443d137573b8da531bbc1fca22a90507295cf.file.cuentas-pagos-base.tpl.php

46 lines
2.1 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:09:15
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/cuentas-pagos-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17676204275361121bed6e84-92127727%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'bab443d137573b8da531bbc1fca22a90507295cf' =>
array (
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/cuentas-pagos-base.tpl',
1 => 1379912989,
),
),
'nocache_hash' => '17676204275361121bed6e84-92127727',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_smarty_tpl->tpl_vars['iP'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['ky'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('it')->value['pagos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['iP']->key => $_smarty_tpl->tpl_vars['iP']->value){
$_smarty_tpl->tpl_vars['ky']->value = $_smarty_tpl->tpl_vars['iP']->key;
?>
<tr>
<td align="center" height="25"><?php echo $_smarty_tpl->getVariable('iP')->value['metodoPago'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('iP')->value['noCheque'];?>
</td>
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('iP')->value['cantidad'],2,".",",");?>
<?php echo $_smarty_tpl->getVariable('iP')->value['currency'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('iP')->value['fecha'];?>
</td>
<td align="center">
<a href="javascript:void(0)" onclick="DeletePago(<?php echo $_smarty_tpl->getVariable('iP')->value['pedidoPagoId'];?>
)" 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="7" align="center" height="30">Ning&uacute;n registro encontrado.</td></tr>
<?php } ?>