68 lines
2.5 KiB
Smarty
Executable File
68 lines
2.5 KiB
Smarty
Executable File
<form name="frmSearch" id="frmSearch">
|
|
<input type="hidden" name="action" id="action" value="searchDevs" />
|
|
<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">Sucursal</div></th>
|
|
<th align="center"><div align="center">Usuario</div></th>
|
|
<th align="center"><div align="center">Fecha Inicial</div></th>
|
|
<th align="center"><div align="center">Fecha Final</div></th>
|
|
<th align="center"><div align="center"></div></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td align="center">
|
|
<select name="sucursalId2" id="sucursalId2" class="smallInput" style="width:200px" onchange="LoadUsers()">
|
|
{if $Usr.type != "cajero" && $Usr.type != "gerente"}
|
|
<option value="">Seleccione</option>
|
|
{/if}
|
|
{foreach from=$sucursales item=item key=key}
|
|
<option value="{$item.sucursalId}" {if $post.sucursalId == $item.sucursalId}selected{/if}>{$item.nombre}</option>
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
<td align="center">
|
|
<div id="enumUsr">
|
|
{include file="{$DOC_ROOT}/templates/lists/enumUsers.tpl"}
|
|
</div>
|
|
</td>
|
|
<td align="center">
|
|
<div style="float:left; padding-left:60px">
|
|
<input type="text" name="fechaIni2" id="fechaIni2" class="smallInput" style="width:100px" value="{$fechaHoy}" />
|
|
</div>
|
|
<div style="float:left; padding-left:5px; padding-top:10px">
|
|
<a href="javascript:void(0)" onclick="NewCal('fechaIni2','ddmmyyyy')">
|
|
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
|
</div>
|
|
</td>
|
|
<td align="center">
|
|
<div style="float:left; padding-left:60px">
|
|
<input type="text" name="fechaFin2" id="fechaFin2" class="smallInput" style="width:100px" value="{$fechaHoy}" />
|
|
</div>
|
|
<div style="float:left; padding-left:5px; padding-top:10px">
|
|
<a href="javascript:void(0)" onclick="NewCal('fechaFin2','ddmmyyyy')">
|
|
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
|
</div>
|
|
</td>
|
|
<td align="center"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5" align="center">
|
|
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Search()" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
<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> |