Files
ventas_php/templates/forms/search-facturas-mens-gral.tpl

70 lines
3.1 KiB
Smarty
Executable File

<div class="clear"></div>
<div id="portlets">
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div class="portlet-content nopadding">
<form name="frmBusqueda" id="frmBusqueda" method="post" action="">
<input type="hidden" name="type" id="type" value="buscarMens" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
<thead>
<tr>
<th width="76" scope="col"></th>
<th width="129" scope="col"><div align="center">Mes</div></th>
<th width="79" scope="col"><div align="center">A&ntilde;o</div></th>
<th width="123" scope="col"><div align="center">Status</div></th>
<th width="90" scope="col"><div align="center">Comprobante</div></th>
<th width="90" scope="col"><div align="center">Sucursal</div></th>
<th width="" scope="col"></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center"></td>
<td align="center">
<select name="mes" id="mes" class="smallInput">
<option value="0">Todos</option>
{foreach from=$meses item=item key=key}
<option value="{$item.id}">{$item.nombre}</option>
{/foreach}
</select>
</td>
<td align="center">
<input type="text" size="4" name="anio" id="anio" maxlength="4" class="smallInput" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<select name="status" id="status" class="smallInput">
<option value="">Todos</option>
<option value="1">Activos</option>
<option value="0">Cancelados</option>
</select>
</td>
<td align="center">
<select name="tiposComprobanteId" id="tiposComprobanteId" class="smallInput">
<option value="0">Todos</option>
{foreach from=$tiposComprobantes item=item key=key}
<option value="{$item.tiposComprobanteId}">{$item.nombre}</option>
{/foreach}
</select>
</td>
<td align="center">
<select name="idSucursal" id="idSucursal" class="smallInput">
<option value="">Seleccione</option>
{foreach from=$sucursales item=item key=key}
<option value="{$item.sucursalId}">{$item.nombre}</option>
{/foreach}
</select>
</td>
<td align="center"></td>
</tr>
<tr>
<td colspan="7" align="center" style="border-top:none">
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Buscar()" />
</td>
</tr>
</tbody>
</table>
</form>
</div>
</div>