Files
ventas_php/templates/forms/search-envios-transito.tpl

74 lines
2.6 KiB
Smarty
Executable File

<form name="frmSearch" id="frmSearch" action="export/envios-transito.php" method="post">
<input type="hidden" name="type" id="type" value="search" />
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="box-table-a" style="border-top:1px solid #999999">
<thead>
<tr>
<th align="center" width=""></th>
<th align="center" width="100"><div align="center">Sucursal</div></th>
<th width="100"><div align="center">Proveedor</div></th>
<th align="center" width="80"><div align="center">Fecha Inicial</div></th>
<th align="center" width="5"></th>
<th align="center" width="80"><div align="center">Fecha Final</div></th>
<th align="center" width="10"></th>
<th align="center" width=""></th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td align="center">
{if $Usr.type == "gerente"}
<div class="txtFrm" style="width:200px">{$nomSuc}</div>
{else}
<select name="sucursalId2" id="sucursalId2" class="largeInput" style="width:200px">
<option value="">Todas</option>
{foreach from=$sucursales item=item key=key}
<option value="{$item.sucursalId}">{$item.nombre}</option>
{/foreach}
</select>
{/if}
</td>
<td>
<select name="proveedorId2" id="proveedorId2" class="largeInput" style="width:200px">
<option value="">Todos</option>
{foreach from=$proveedores item=item key=key}
<option value="{$item.proveedorId}">{$item.nombre}</option>
{/foreach}
</select>
</td>
<td align="center">
<input type="text" name="fechaIni2" id="fechaIni2" class="largeInput" style="width:80px" maxlength="10" value="" />
</td>
<td align="center">
<a href="javascript:void(0)" onclick="NewCal('fechaIni2','ddmmyyyy')">
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
</td>
<td align="center">
<input type="text" name="fechaFin2" id="fechaFin2" class="largeInput" style="width:80px" maxlength="10" value="" />
</td>
<td align="center">
<a href="javascript:void(0)" onclick="NewCal('fechaFin2','ddmmyyyy')">
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
</td>
<td></td>
</tr>
<tr>
<td align="center" colspan="8">
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Search()" />
</td>
</tr>
<tr>
<td colspan="8">
<div align="center">
<div id="loadBusqueda" style="display:none">
<br />
<img src="{$WEB_ROOT}/images/loading.gif" width="16" height="16" />
<br />Cargando...
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>