74 lines
2.8 KiB
Smarty
Executable File
74 lines
2.8 KiB
Smarty
Executable File
<form name="frmSearch" id="frmSearch">
|
|
<input type="hidden" name="action" id="action" value="searchT" />
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="box-table-a" style="border-top:1px solid #999999">
|
|
<thead>
|
|
<tr>
|
|
<th align="center" width="300"><div align="center">Remitente</div></th>
|
|
<th align="center" width="300"><div align="center">Destinatario</div></th>
|
|
<th align="center"><div align="center">Status</div></th>
|
|
<th width="90"></th>
|
|
<th align="center" width="80"><div align="center">Fecha Envío</div></th>
|
|
<th align="center" width="15"></th>
|
|
<th align="center" width="50"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td align="center">
|
|
{if $Usr.type == "gerente"}
|
|
<div class="txtFrm" style="width:200px">{$nomSuc}</div>
|
|
{else}
|
|
<select name="sucOrigen2" id="sucOrigen2" 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 align="center">
|
|
<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>
|
|
</td>
|
|
<td align="center">
|
|
<select name="status2" id="status2" class="largeInput">
|
|
<option value="">Seleccione</option>
|
|
<option value="AutSuc">En Tránsito</option>
|
|
<option value="Pendiente">Pte. Autorización</option>
|
|
<option value="Recibido">Recibido</option>
|
|
<option value="Rechazado">Rechazado</option>
|
|
</select>
|
|
</td>
|
|
<td></td>
|
|
<td align="center">
|
|
<input type="text" name="fechaEnvio2" id="fechaEnvio2" class="smallInput" style="width:70px" maxlength="10" />
|
|
</td>
|
|
<td align="center">
|
|
<a href="javascript:void(0)" onclick="NewCal('fechaEnvio2','ddmmyyyy')">
|
|
<img src="{$WEB_ROOT}/images/icons/calendar.gif" /></a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" colspan="6">
|
|
<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> |