83 lines
3.6 KiB
PHP
Executable File
83 lines
3.6 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-pagar-saldos-base.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:1232095927544122173496d9-66243060%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'a046ecba5efb145cf042889d0899fbada65460c0' =>
|
|
array (
|
|
0 => '/var/www/html/templates/items/cuentas-pagar-saldos-base.tpl',
|
|
1 => 1410130453,
|
|
),
|
|
),
|
|
'nocache_hash' => '1232095927544122173496d9-66243060',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<tr>
|
|
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['noProv'];?>
|
|
</div></td>
|
|
<td align="left"><div align="left"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
</div></td>
|
|
<td align="center"><div align="center">$<?php echo number_format($_smarty_tpl->getVariable('item')->value['saldoCtaPagar'],2,'.',',');?>
|
|
</div></td>
|
|
<td align="center">
|
|
<div align="center" id="txtAbonos_<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
">
|
|
$<?php echo number_format($_smarty_tpl->getVariable('item')->value['abonos'],2,'.',',');?>
|
|
|
|
</div>
|
|
</td>
|
|
<td align="center">
|
|
<div align="center" id="txtSaldo_<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
">$<?php echo number_format($_smarty_tpl->getVariable('item')->value['saldoActual'],2,'.',',');?>
|
|
</div>
|
|
</td>
|
|
<td align="center">
|
|
<div id="btnPago_<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
" style="float:left; margin-left:10px; <?php if ($_smarty_tpl->getVariable('item')->value['pagado']){?>display:none;<?php }?>">
|
|
<a href="javascript:void(0)" onclick="AddPagoDiv(<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
)">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/add.png" border="0" />
|
|
</a>
|
|
</div>
|
|
<div style="float:right; padding-right:10px">
|
|
<a href="javascript:void(0)" onclick="ViewPagos(<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
)">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/details.png" border="0" />
|
|
</a>
|
|
</div>
|
|
</td>
|
|
<td align="center">
|
|
<div align="center" id="txtStatus_<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
">
|
|
<?php if ($_smarty_tpl->getVariable('item')->value['pagadoCtaPagar']){?>Pagado<?php }else{ ?>Pendiente<?php }?>
|
|
</div>
|
|
</td>
|
|
<td align="center">
|
|
<div align="center">
|
|
<a href="javascript:void(0)" onclick="EditSaldoCtaPagar(<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
)" title="Editar Saldo">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/edit.gif" border="0"/>
|
|
</a>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr id="pagos_<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
" style="display:none">
|
|
<td> </td>
|
|
<td colspan="8" align="left">
|
|
<div id="contPagos_<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
">
|
|
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/cuentas-pagos-prov.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);?>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|