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

65 lines
3.0 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="buscar" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
<thead>
<tr>
<th width="76" scope="col"><div align="center">RFC</div></th>
<th width="102" scope="col"><div align="center">Nombre</div></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>
</tr>
</thead>
<tbody>
<tr>
<td align="center">
<input type="text" size="12" name="rfc" id="rfc" class="largeInput" maxlength="12" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<input type="text" size="15" name="nombre" id="nombre" class="largeInput" maxlength="30" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<select name="mes" id="mes" class="largeInput">
<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="largeInput" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<select name="status" id="status" class="largeInput">
<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="largeInput">
<option value="0">Todos</option>
{foreach from=$tiposComprobantes item=item key=key}
<option value="{$item.tiposComprobanteId}">{$item.nombre}</option>
{/foreach}
</select>
</td>
</tr>
<tr>
<td colspan="6" align="center" style="border-top:none">
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Buscar()" />
</td>
</tr>
</tbody>
</table>
</form>
</div>
</div>