Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-26 13:17:38
|
||||
compiled from "./templates/forms/search-envios-recibir-reporte.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:21376829005425adc250b817-45616639%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4e209dea1f08258595a1aa692555cbb7eef78f51' =>
|
||||
array (
|
||||
0 => './templates/forms/search-envios-recibir-reporte.tpl',
|
||||
1 => 1410130452,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '21376829005425adc250b817-45616639',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<form name="frmSearch" id="frmSearch">
|
||||
<input type="hidden" name="action" id="action" value="search" />
|
||||
<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="50"></th>
|
||||
<th align="center" width="250"><div align="center">Sucursal</div></th>
|
||||
<th width="200"><div align="center">No. Envío</div></th>
|
||||
<th align="center" width="120"><div align="center">Código Barra</div></th>
|
||||
<th align="center"><div align="center">Status</div></th>
|
||||
<th align="center" width="50"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center">
|
||||
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
||||
<div class="txtFrm" style="width:200px"><?php echo $_smarty_tpl->getVariable('info')->value['sucursal'];?>
|
||||
</div>
|
||||
<input type="hidden" name="sucursalId2" id="sucursalId2" value="<?php echo $_smarty_tpl->getVariable('Usr')->value['sucursalId'];?>
|
||||
" />
|
||||
<?php }else{ ?>
|
||||
<select name="sucursalId2" id="sucursalId2" class="largeInput" style="width:200px">
|
||||
<option value="">Seleccione</option>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('sucursales')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
|
||||
" <?php if ($_smarty_tpl->getVariable('post')->value['sucursalId']==$_smarty_tpl->getVariable('item')->value['sucursalId']){?>selected<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" name="envioId2" id="envioId2" class="largeInput" style="width:70px" maxlength="10" onkeyup="CheckKey(event)" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" name="codigoBarra2" id="codigoBarra2" class="largeInput" style="width:120px" maxlength="30" onkeyup="CheckKey(event)" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="status2" id="status2" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="Autorizado">Autorizado</option>
|
||||
<option value="Rechazado">Rechazado</option>
|
||||
<option value="Pendiente">Pendiente</option>
|
||||
</select>
|
||||
</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="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif" width="16" height="16" />
|
||||
<br />Cargando...
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
Reference in New Issue
Block a user