Files
ventas_php/templates/forms/search-reportes-devcedis.tpl

62 lines
2.4 KiB
Smarty
Executable File

<form name="frmDevCedis" id="frmDevCedis" method="post" action="export/reporte-devcedis.php">
<input type="hidden" name="type" id="type" value="search" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
<thead>
<tr>
<th width="100"></th>
<th align="center"><div align="center">Fecha Inicial</div></th>
<th align="center"><div align="center">Fecha Final</div></th>
<th align="center"><div align="center">Sucursal</div></th>
<th width="100"></th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td>
<div style="float:left; padding-left:20px;">
<input type="text" style="text-align:center" name="fechaI" id="fechaI" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$fechaHoy}" 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:left; padding-left:20px">
<input type="text" style="text-align:center" name="fechaF" id="fechaF" class="smallInput" style="width:140px" maxlength="10" readonly="readonly" value="{$fechaHoy}" align="middle"/>
</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>
<select name="sucursalId2" id="sucursalId2" class="smallInput" style="width:200px">
<option value="">Todas</option>
{foreach from=$sucursals item=item key=key}
<option value="{$item.sucursalId}" {if $post.sucursalId == $item.sucursalId}selected{/if}>{$item.nombre}</option>
{/foreach}
</select>
</td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td align="center">
<input type="button" name="btnReporte" id="btnReporte" value="Generar" class="btnSearch" onclick="Generar()"/>
</td>
<td></td>
<td align="center">
<div style="float:right; padding-right:50px">
<a href="javascript:void(0)" onclick="ExportRep()" title="Exportar Reporte">
<img src="{$WEB_ROOT}/images/icons/excel.png" border="0"/>
</a>
</div>
</td>
</tr>
</tbody>
</table>
</form>