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

70 lines
2.6 KiB
Smarty
Executable File

<form name="frmSearch" id="frmSearch">
<input type="hidden" name="action" id="action" value="search" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
<thead>
<tr>
<th align="center"><div align="center">Proveedor</div></th>
<th align="center"><div align="center">Departamento</div></th>
<th align="center"><div align="center">L&iacute;nea</div></th>
<th align="center"><div align="center">Modelo</div></th>
<th align="center"><div align="center">Disponible</div></th>
<th align="center"><div align="center">Sucursal</div></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">
<select name="proveedorId2" id="proveedorId2" class="smallInput">
<option value="">Seleccione</option>
{foreach from=$proveedores item=item key=key}
<option value="{$item.proveedorId}">{$item.nombre|truncate:28:"..."}</option>
{/foreach}
</select>
</td>
<td align="center">
<select name="prodCatId2" id="prodCatId2" class="smallInput" onchange="LoadSubcats()">
<option value="">Seleccione</option>
{foreach from=$categorias item=item key=key}
<option value="{$item.prodCatId}">{$item.nombre|truncate:28:"..."}</option>
{/foreach}
</select>
</td>
<td align="center">
<div id="enumSubcats">
{include file="{$DOC_ROOT}/templates/lists/enumProdSubcatSearch.tpl"}
</div>
</td>
<td align="center">
<input type="text" name="modelo2" id="modelo2" class="smallInput" onkeyup="CheckKey(event)" style="width:100px" />
</td>
<td align="center">
<input type="checkbox" name="disponible2" id="disponible2" value="1" />
</td>
<td>
<select name="sucursalId" id="sucursalId" class="smallInput" style="width:200px">
<option selected="selected" value="">Seleccione</option>
{foreach from=$sucursales item=item key=key}
<option value="{$item.sucursalId}"> {$item.nombre}</option>
{/foreach}
</select>
</td>
</tr>
<tr>
<td colspan="6" align="center">
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Search()" />
</td>
</tr>
<tr>
<td colspan="6">
<div align="center">
<div id="loadBusqueda" style="display:none">
<br />
<img src="http://www.facturase.com/images/loading.gif" width="16" height="16" />
<br />Cargando...
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>