Files
ventas_php/templates/forms/search-inventario-parcial.tpl

54 lines
1.7 KiB
Smarty
Executable File

<form name="frmInventario" id="frmInventario">
<input type="hidden" name="type" id="type" value="enviarSolicitud" />
<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="300"><div align="center">Sucursal</div></th>
<th align="center" width="300"><div align="center">Tipo</div></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="sucOrigen2" id="sucOrigen2" class="largeInput" style="width:200px">
<option value="">Seleccione</option>
{foreach from=$sucursales item=item key=key}
<option value="{$item.sucursalId}">{$item.nombre}</option>
{/foreach}
</select>
{/if}
</td>
<td align="center">
<select name="tipo" id="tipo" class="largeInput" style="width:200px">
<option value="">Seleccione</option>
<option value="Total">Total</option>
<option value="Parcial">Parcial</option>
</select>
</td>
<td></td>
</tr>
<tr>
<td align="center" colspan="4">
<input type="button" name="btnSend" value="Enviar Solicitud" class="btnSearch" onclick="EnviarSolicitud()" style="width:200px" />
</td>
</tr>
<tr>
<td colspan="4">
<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>