Files
ventas_php/templates/forms/filtro-reporte-cuentaspen.tpl

49 lines
2.3 KiB
Smarty
Executable File

<form name="frmCuentasPend" id="frmCuentasPend" method="post" action="export/exportarexcel.php">
<input type="hidden" name="type" id="type" value="tipoCuentasPend" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
<thead>
<tr>
<th align="center" width="40%"><div align="center" style="width:100%">Proveedor</div></th>
<th align="center" width="60%" colspan="2"><div align="center" style="text-align:center">Fecha Pedido</div></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">
<select name="proveedor" id="proveedor" class="largeInput" style="width:300px;">
<option value="">Todos</option>
{foreach from=$resProveedor item=item key=key}
<option value="{$item.proveedorId}" >{$item.nombre}</option>
{/foreach}
</select>
</td>
<td align="center">
<div style="float:left; padding-left:20px">
Inicial:<input type="text" style="text-align:center" name="fechaI" id="fechaI" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
</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:right; padding-right:80px; padding-top:5px">
<a href="javascript:void(0)" onclick="NewCal('fechaF','ddmmyyyy')">
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
</div>
<div style="float:right; padding-right:20px">
Final: <input type="text" style="text-align:center" name="fechaF" id="fechaF" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$dateNow}" align="middle"/>
</div>
</td>
</tr>
<tr>
<td align="center" colspan="7">
<input type="button" name="btnReporte" value="Generar" class="btnSearch" onclick="ReporteCuentasPend()" />
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportCuentasPend(); return false;"><img src="{$WEB_ROOT}/images/icons/excel.png" title="Exportar Reporte"/></a></div>
</td>
</tr>
</tbody>
</table>
</form>