44 lines
2.0 KiB
PHP
Executable File
44 lines
2.0 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:08:50
|
|
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/cuentas-notas-base.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:5888319045361120225e572-94733685%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'1946bf0b8129b683caca13a2a5bb80c8efc3f1f0' =>
|
|
array (
|
|
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/cuentas-notas-base.tpl',
|
|
1 => 1379545364,
|
|
),
|
|
),
|
|
'nocache_hash' => '5888319045361120225e572-94733685',
|
|
'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['notas']; 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['noNota'];?>
|
|
</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="DeleteNota(<?php echo $_smarty_tpl->getVariable('it')->value['pedidoNotaId'];?>
|
|
)" 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="4" align="center" height="30">Ningún registro encontrado.</td></tr>
|
|
<?php } ?>
|