Primer commit del sistema avantika sin cambios
This commit is contained in:
66
templates/forms/search-usuarios.tpl
Executable file
66
templates/forms/search-usuarios.tpl
Executable file
@@ -0,0 +1,66 @@
|
||||
<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 width="25%"></th>
|
||||
<th scope="col" align="center">
|
||||
<div align="center">Nombre</div>
|
||||
</th>
|
||||
<th scope="col" align="center">
|
||||
<div align="center">Tipo</div>
|
||||
</th>
|
||||
<th scope="col" align="center">
|
||||
<div align="center">Sucursal</div>
|
||||
</th>
|
||||
<th width="25%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center">
|
||||
<input type="text" size="35" name="nombre2" id="nombre2" class="largeInput" style="width:130px" />
|
||||
</td>
|
||||
<td align="center">
|
||||
{if $Usr.type == "gerente"}
|
||||
<div class="txtFrm" style="width:200px">Vendedor</div>
|
||||
<input type="hidden" name="tipo2" id="tipo2" value="vendedor" />
|
||||
{else}
|
||||
{include file="{$DOC_ROOT}/templates/lists/enumUserTypes2.tpl"}
|
||||
{/if}
|
||||
</td>
|
||||
<td align="center">
|
||||
{if $Usr.type == "gerente"}
|
||||
<div class="txtFrm" style="width:250px">{$nomSuc}</div>
|
||||
<input type="hidden" name="sucursalId2" id="sucursalId2" value="{$Usr.sucursalId}" />
|
||||
{else}
|
||||
<select name="sucursalId2" id="sucursalId2" class="largeInput" style="width:200px">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$sucursales item=item key=key}
|
||||
<option value="{$item.sucursalId}" {if $post.sucursalId == $item.sucursalId}selected{/if}>{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{/if}
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" 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="{$WEB_ROOT}/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
Reference in New Issue
Block a user