Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
<?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-facturas-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:11932578115361121bdc08f8-28703846%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'756dc8546ae4f1c3f335c1b8947d9580fd3ca1fd' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/cuentas-facturas-base.tpl',
|
||||
1 => 1379912974,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '11932578115361121bdc08f8-28703846',
|
||||
'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['facturas']; 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['noPedido'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['folioProv'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['fecha'];?>
|
||||
</td>
|
||||
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('it')->value['total'],2,".",",");?>
|
||||
</td>
|
||||
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('it')->value['abonos'],2,".",",");?>
|
||||
</td>
|
||||
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('it')->value['saldo'],2,".",",");?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<div id="btnPagos_<?php echo $_smarty_tpl->getVariable('it')->value['pedidoId'];?>
|
||||
" style="float:left; margin-left:15px; <?php if ($_smarty_tpl->getVariable('it')->value['pagado']){?>display:none;<?php }?>">
|
||||
<a href="javascript:void(0)" onclick="AddPagoDiv(<?php echo $_smarty_tpl->getVariable('it')->value['pedidoId'];?>
|
||||
)">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/add.png" border="0" />
|
||||
</a>
|
||||
</div>
|
||||
<div style="float:right; padding-right:15px">
|
||||
<a href="javascript:void(0)" onclick="ViewPagos(<?php echo $_smarty_tpl->getVariable('it')->value['pedidoId'];?>
|
||||
)">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/details.png" border="0" />
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr id="pagos_<?php echo $_smarty_tpl->getVariable('it')->value['pedidoId'];?>
|
||||
" style="display:none">
|
||||
<td></td>
|
||||
<td colspan="6">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/cuentas-pagos.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
||||
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php }} else { ?>
|
||||
<tr><td colspan="7" align="center" height="30">Ningún registro encontrado.</td></tr>
|
||||
<?php } ?>
|
||||
Reference in New Issue
Block a user