77 lines
3.0 KiB
PHP
Executable File
77 lines
3.0 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:02:27
|
|
compiled from "./templates/forms/filtro-cuentas-pagar.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:669042488540f5cd3954719-25379859%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'126e116d5a8274c61bdb8cd82aaeb7c97e867af2' =>
|
|
array (
|
|
0 => './templates/forms/filtro-cuentas-pagar.tpl',
|
|
1 => 1410130451,
|
|
),
|
|
),
|
|
'nocache_hash' => '669042488540f5cd3954719-25379859',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<form name="frmSaldos" id="frmSaldos" method="post" action="export/cuentas-pagar.php">
|
|
<input type="hidden" name="action" id="action" value="search" />
|
|
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
|
|
<thead>
|
|
<tr>
|
|
<th align="center" width="280"></th>
|
|
<th align="center" width="200"><div align="center">Proveedor</div></th>
|
|
<th align="center" width="30"><div align="center">Global</div></th>
|
|
<th align="center"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td align="center"></td>
|
|
<td align="center">
|
|
<select name="proveedorId2" id="proveedorId2" class="largeInput" style="width:250px;">
|
|
<option value="">Todos</option>
|
|
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('proveedores')->value; 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;
|
|
?>
|
|
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
"><?php echo str_pad($_smarty_tpl->getVariable('item')->value['noProv'],3,"0",@STR_PAD_LEFT);?>
|
|
<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
</option>
|
|
<?php }} ?>
|
|
</select>
|
|
</td>
|
|
<td><input type="checkbox" name="global" id="global" value="1" /></td>
|
|
<td align="center"></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td align="center">
|
|
<input type="button" name="btnSearch" value="Generar" class="btnSearch" onclick="Buscar()" />
|
|
</td>
|
|
<td align="center" colspan="2">
|
|
<div style="float:right; padding-right:50px"><a href="javascript:void(0)" onclick="ExportReport()"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/excel.png" title="Exportar Reporte"/></a></div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
<div align="center">
|
|
<div id="loadBusqueda" style="display:none">
|
|
<br />
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/loading.gif" width="16" height="16" />
|
|
<br />Cargando...
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|