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-10-07 13:49:03
compiled from "./templates/forms/search-inventario-sucursal.tpl" */ ?>
<?php /*%%SmartyHeaderCode:7477827395434359f144fb4-65719451%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'90dbc77d99a1fd5fc8001978e45e7559f6159dae' =>
array (
0 => './templates/forms/search-inventario-sucursal.tpl',
1 => 1410130452,
),
),
'nocache_hash' => '7477827395434359f144fb4-65719451',
'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">Departamento</div></th>
<th align="center"><div align="center">L&iacute;nea</div></th>
<th align="center"><div align="center">Modelo</div></th>
<th align="center"><div align="center">Disponible</div></th>
<th align="center"><div align="center">Sucursal</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 echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],28,"...");?>
</option>
<?php }} ?>
</select>
</td>
<td align="center">
<select name="prodCatId2" id="prodCatId2" class="smallInput" onchange="LoadSubcats()">
<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('categorias')->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['prodCatId'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],28,"...");?>
</option>
<?php }} ?>
</select>
</td>
<td align="center">
<div id="enumSubcats">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdSubcatSearch.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
</div>
</td>
<td align="center">
<input type="text" name="modelo2" id="modelo2" class="smallInput" onkeyup="CheckKey(event)" style="width:100px" />
</td>
<td align="center">
<input type="checkbox" name="disponible2" id="disponible2" value="1" />
</td>
<td>
<select name="sucursalId" id="sucursalId" class="smallInput" style="width:200px">
<option selected="selected" 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 echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>
</td>
</tr>
<tr>
<td colspan="6" 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="http://www.facturase.com/images/loading.gif" width="16" height="16" />
<br />Cargando...
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>