Primer commit del sistema avantika sin cambios

This commit is contained in:
2026-01-06 19:42:24 -06:00
commit 3ae4be5957
7127 changed files with 440072 additions and 0 deletions

View File

@@ -0,0 +1,115 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 10:07:56
compiled from "./templates/forms/search-pedidos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:21900711454075a9619d455-02959192%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b6ea01a65eb17233a0d7dcdc8fce6df514711c3b' =>
array (
0 => './templates/forms/search-pedidos.tpl',
1 => 1410130452,
),
),
'nocache_hash' => '21900711454075a9619d455-02959192',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include '/var/www/html/libs/plugins/modifier.truncate.php';
?><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 align="center"><div align="center">Proveedor</div></th>
<th align="center"><div align="center">M&eacute;todo de Compra</div></th>
<th align="center"><div align="center">Status</div></th>
<th align="center"><div align="center">Resurtido</div></th>
<th align="center"><div align="center">No. Ped.</div></th>
<th align="left"><div align="left" style="padding-left:5px">Fecha Ped.</div></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">
<select name="proveedorId2" id="proveedorId2" class="smallInput">
<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('proveedores')->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['proveedorId'];?>
" <?php if ($_smarty_tpl->getVariable('info')->value['proveedorId']==$_smarty_tpl->getVariable('item')->value['proveedorId']){?>selected<?php }?>><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],28,"...");?>
</option>
<?php }} ?>
</select>
</td>
<td align="center">
<select name="metodoCompra2" id="metodoCompra2" class="smallInput">
<option value="">Seleccione</option>
<option value="sinIva">IVA No Incluido</option>
<option value="conIva">IVA Incluido</option>
</select>
</td>
<td align="center">
<select name="status2" id="status2" class="smallInput">
<option value="">Seleccione</option>
<option value="Pendiente">1. Pte. de Aprobaci&oacute;n</option>
<option value="Aprobado">2.1 En espera de Dist.</option>
<option value="Rechazado">2.2 Rechazado</option>
<option value="Distribucion">3. Pte. Autorizaci&oacute;n Dist.</option>
<option value="Autorizado">4.1 Ord. Comp. Pte de Env. a Prov.</option>
<option value="Sugerencia">4.2 Con Obs. de Dist.</option>
<option value="OrdenCompEnv">5. Ord. Pte. Ing. a CEDIS</option>
<option value="OrdenCompEnvCan">6. Ord. Comp. Env. Cancelada</option>
<option value="OrdenCompIng">7. Mercancia Recibida en CEDIS</option>
<option value="EnvSuc">8. Env&iacute;ado a Tiendas</option>
<option value="Distribucion2">9. Resurtido Pte. Aut.</option>
<option value="Rechazado2">10. Resurtido No Aut.</option>
</select>
</td>
<td align="center">
<select name="resurtido2" id="resurtido2" class="smallInput">
<option value="">Sel.</option>
<option value="1">S&iacute;</option>
<option value="0">No</option>
</select>
</td>
<td align="center">
<input type="text" name="noPedido2" id="noPedido2" class="smallInput" maxlength="20" style="width:50px" onkeyup="CheckKey(event)" />
</td>
<td>
<div style="float:left">
<input type="text" name="fechaIni2" id="fechaIni2" class="smallInput" style="width:60px" maxlength="10" />
</div>
<div style="float:right; padding-right:50px; padding-top:10px">
<a href="javascript:void(0)" onclick="NewCal('fechaIni2','ddmmyyyy')">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/calendar.gif" /></a>
</div>
</td>
</tr>
<tr>
<td align="center" colspan="7">
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Search()" />
</td>
</tr>
<tr>
<td colspan="7">
<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>