Files
ventas_php/templates_c/c0f10b63f3e3bd17ef9ae863554e64a8e7dc4996.file.filtro-reporte-faltantes.tpl.php

74 lines
2.8 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:44
compiled from "./templates/forms/filtro-reporte-faltantes.tpl" */ ?>
<?php /*%%SmartyHeaderCode:666116552540a2033dea276-52734618%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c0f10b63f3e3bd17ef9ae863554e64a8e7dc4996' =>
array (
0 => './templates/forms/filtro-reporte-faltantes.tpl',
1 => 1410130451,
),
),
'nocache_hash' => '666116552540a2033dea276-52734618',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include '/var/www/html/libs/plugins/modifier.truncate.php';
?><form name="frmFaltantes" id="frmFaltantes" method="post" action="export/reporte-faltantes.php">
<input type="hidden" name="type" 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="150"></th>
<th align="center"><div align="center">Proveedor</div></th>
<th align="center"></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center"></td>
<td align="center">
<select name="proveedorId" id="proveedorId" 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('proveedores2')->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 smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],50,"...");?>
</option>
<?php }} ?>
</select>
</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">
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportInv(); return false;"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/excel.png" title="Exportar Reporte"/></a></div>
</td>
</tr>
<tr>
<td colspan="3">
<div align="center">
<div id="loadBusqueda" style="display:none">
<br />
<img src="http://www.facturase.com/images/loading.gif" width="16" height="16" />
<br />Cargando...
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>