65 lines
3.9 KiB
PHP
Executable File
65 lines
3.9 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-05-07 17:58:00
|
|
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/cuentas-pagar-saldos.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:682031929536aba781787f1-06674921%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'82a7a1c837aaed677b2a19b86aef5d062dedf7af' =>
|
|
array (
|
|
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/cuentas-pagar-saldos.tpl',
|
|
1 => 1379014161,
|
|
),
|
|
),
|
|
'nocache_hash' => '682031929536aba781787f1-06674921',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
|
|
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/cuentas-pagar-saldos-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
|
|
<?php if (count($_smarty_tpl->getVariable('proveedores')->value['items'])){?>
|
|
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('proveedores')->value['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
if (count($_from) > 0){
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
|
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
|
|
?>
|
|
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
|
|
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/cuentas-pagar-saldos-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
<?php }else{ ?>
|
|
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/cuentas-pagar-saldos-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
<?php }?>
|
|
<?php }} ?>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('tipo')->value=="search"){?>
|
|
<tr>
|
|
<td align="center"></td>
|
|
<td align="center"><div align="center"><b>TOTAL</b></div></td>
|
|
<td align="center"><div align="center"><b>$<?php echo number_format($_smarty_tpl->getVariable('total')->value,2,'.',',');?>
|
|
</b></div></td>
|
|
<td align="center"><div align="center"><b>$<?php echo number_format($_smarty_tpl->getVariable('totalAbonos')->value,2,'.',',');?>
|
|
</b></div></td>
|
|
<td align="center"><div align="center"><b>$<?php echo number_format($_smarty_tpl->getVariable('totalSaldoActual')->value,2,'.',',');?>
|
|
</b></div></td>
|
|
<td align="center"></td>
|
|
<td align="center"></td>
|
|
<td align="center"></td>
|
|
</tr>
|
|
<?php }?>
|
|
|
|
<?php }else{ ?>
|
|
<tr><td colspan="12" align="center">Ningún registro encontrado.</td>
|
|
<?php }?>
|
|
|
|
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
$_template->assign('pages',$_smarty_tpl->getVariable('proveedores')->value['pages']);$_template->assign('colspan',12); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|