Files
ventas_php/templates/forms/filtro-buenfin-prov.tpl

62 lines
2.5 KiB
Smarty
Executable File

<form name="frmBuenFinProv" id="frmBuenFinProv" method="post" action="export/buenfin-proveedor.php">
<input type="hidden" name="type" id="type" value="buenFinProv" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
<thead>
<tr>
<th width="480" align="center" colspan="2"><div align="center">Periodo</div></th>
<th width="200" align="center"><div align="center">Proveedor</div></th>
<th width="200" align="center"><div align="center">Sucursal</div></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div style="float:left">
Inicial: <input type="text" style="text-align:center; width:140px" name="fechaI" id="fechaI" class="smallInput" maxlength="10" readonly="readonly" value="{$fechaHoy}" />
</div>
<div style="float:left; padding-left:15px; padding-top:5px">
<a href="javascript:void(0)" onclick="NewCal('fechaI','ddmmyyyy')">
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
</div>
</td>
<td>
<div style="float:left">
Final: <input type="text" style="text-align:center; width:140px" name="fechaF" id="fechaF" class="smallInput" maxlength="10" readonly="readonly" value="{$fechaHoy}" />
</div>
<div style="float:left; padding-left:15px; padding-top:5px">
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
</div>
</td>
<td align="center">
<select name="idProveedor" id="idProveedor" class="largeInput" style="width:200px !important">
<option value="">Todos</option>
{foreach from=$proveedores item=item}
<option value="{$item.proveedorId}">{$item.nombre}</option>
{/foreach}
</select>
</td>
<td align="center">
<select name="idSucursal" id="idSucursal" class="largeInput">
<option selected="selected" value="">Todas</option>
{foreach from=$sucursales item=item key=key}
<option value="{$item.sucursalId}"> {$item.nombre}</option>
{/foreach}
</select>
</td>
</tr>
<tr>
<td align="center" colspan="7">
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="RepBuenFinProv()"/>
<div style="float:right; padding-right:50px">
<a href="javascript:void(0)" onclick="ExportBuenFinProv()">
<img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/>
</a>
</div>
</td>
</tr>
</tbody>
</table>
</form>