fix(promociones): Resuelve múltiples advertencias y errores en promociones y sucursales

- Se corrigieron las advertencias 'Undefined array key "checked"' en 'enumProvPromo.tpl', 'enumSucPromo.tpl' y 'enumProdCatPromo.tpl'.
- Se resolvieron las advertencias 'Trying to access array offset on null' en 'enumTiposPromo.tpl', 'enumDesctosPromo.tpl', 'enumStatusPromo.tpl', 'enumVigenciaPromo.tpl' y 'enumPromoAplicar.tpl'.
- Se corrigió el error 'Call to undefined method Util::DecodeUrlRow()' en 'ajax/sucursales.php' reemplazándolo por 'DecodeUrlResult()'.
- Se modificó 'templates/lists/sucursales.tpl' para evitar la inclusión de 'pages_ajax.tpl' cuando la variable '$pages' es nula.
- Se eliminaron archivos de log y temporales.
This commit is contained in:
2026-01-08 01:23:30 -06:00
parent ccfa01fa0e
commit cb1a44e380
69 changed files with 599 additions and 8912 deletions

View File

@@ -625,7 +625,11 @@
$producto->setProductoId($info['productoId']);
$infP = $producto->Info();
$info['producto'] = utf8_encode($infP['codigoBarra'].'<br>'.$infP['modelo']);
if ($infP) {
$info['producto'] = utf8_encode($infP['codigoBarra'].'<br>'.$infP['modelo']);
} else {
$info['producto'] = 'Producto no encontrado';
}
//Sucursales
@@ -642,6 +646,11 @@
$sucursales[] = $res;
}
$categorias = array();
$subcategorias = array();
$proveedores = array();
$productos = array();
if($info['aplicaTodos'] == 0){
//Departamentos

View File

@@ -61,7 +61,7 @@ switch($_POST["type"])
$sucursal->setSucursalId($_POST['id']);
$info = $sucursal->Info();
$info = $util->DecodeUrlRow($info);
$info = $util->DecodeUrlResult($info);
$smarty->assign("post", $info);
$smarty->assign("DOC_ROOT", DOC_ROOT);
@@ -118,7 +118,7 @@ switch($_POST["type"])
$sucursal->setSucursalId($_POST['id']);
$info = $sucursal->Info();
$info = $util->DecodeUrlRow($info);
$info = $util->DecodeUrlResult($info);
$smarty->assign("post", $info);
$smarty->assign("DOC_ROOT", DOC_ROOT);

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
<select name="tipoDesc" id="tipoDesc" class="largeInput">
<option value="">Seleccione</option>
<option value="Cantidad" {if $info.tipoDesc == "Cantidad"}selected{/if}>Cantidad Fija</option>
<option value="Porcentaje" {if $info.tipoDesc == "Porcentaje"}selected{/if}>Porcentaje</option>
<option value="Cantidad" {if isset($info) && $info.tipoDesc == "Cantidad"}selected{/if}>Cantidad Fija</option>
<option value="Porcentaje" {if isset($info) && $info.tipoDesc == "Porcentaje"}selected{/if}>Porcentaje</option>
</select>

View File

@@ -1,4 +1,4 @@
{foreach from=$categorias item=item key=key}
<input type="checkbox" name="idProdCat[]" value="{$item.prodCatId}" {if $item.checked}checked{/if}>{$item.nombre}</option>
<input type="checkbox" name="idProdCat[]" value="{$item.prodCatId}" {if isset($item.checked) && $item.checked}checked{/if}>{$item.nombre}</option>
<br />
{/foreach}

View File

@@ -1,5 +1,5 @@
<select name="aplicaTodos" id="aplicaTodos" class="largeInput" onchange="ShowProducts()">
<option value="">Seleccione</option>
<option value="1" {if $info.aplicaTodos == "1"}selected{/if}>S&iacute;</option>
<option value="0" {if $info.aplicaTodos == "0"}selected{/if}>No</option>
<option value="1" {if isset($info) && $info.aplicaTodos == "1"}selected{/if}>S&iacute;</option>
<option value="0" {if isset($info) && $info.aplicaTodos == "0"}selected{/if}>No</option>
</select>

View File

@@ -1,4 +1,4 @@
{foreach from=$proveedores item=item key=key}
<input type="checkbox" name="idProveedor[]" value="{$item.proveedorId}" {if $item.checked}checked{/if}/>{$item.nombre}
<input type="checkbox" name="idProveedor[]" value="{$item.proveedorId}" {if isset($item.checked) && $item.checked}checked{/if}/>{$item.nombre}
<br />
{/foreach}

View File

@@ -1,5 +1,5 @@
<select name="status" id="status" class="largeInput">
<option value="">Seleccione</option>
<option value="Activo" {if $info.status == "Activo"}selected{/if}>Activo</option>
<option value="Inactivo" {if $info.status == "Inactivo"}selected{/if}>Inactivo</option>
<option value="Activo" {if isset($info) && $info.status == "Activo"}selected{/if}>Activo</option>
<option value="Inactivo" {if isset($info) && $info.status == "Inactivo"}selected{/if}>Inactivo</option>
</select>

View File

@@ -1,4 +1,4 @@
{foreach from=$sucursales item=item key=key}
<input type="checkbox" name="idSucursal[]" value="{$item.sucursalId}" {if $item.checked}checked{/if} />{$item.nombre}
<input type="checkbox" name="idSucursal[]" value="{$item.sucursalId}" {if isset($item.checked) && $item.checked}checked{/if} />{$item.nombre}
<br />
{/foreach}

View File

@@ -1,7 +1,7 @@
<select name="tipo" id="tipo" class="largeInput" onchange="LoadAplica()">
<option value="">Seleccione</option>
<option value="AxB" {if $info.tipo == "AxB"}selected{/if}>A x B</option>
<option value="TotalVentaB" {if $info.tipo == "TotalVentaB"}selected{/if}>Total Venta x B</option>
<option value="CompraX" {if $info.tipo == "CompraX"}selected{/if}>Compra $x</option>
<option value="BuenFin" {if $info.tipo == "BuenFin"}selected{/if}>Buen Fin</option>
<option value="AxB" {if isset($info) && $info.tipo == "AxB"}selected{/if}>A x B</option>
<option value="TotalVentaB" {if isset($info) && $info.tipo == "TotalVentaB"}selected{/if}>Total Venta x B</option>
<option value="CompraX" {if isset($info) && $info.tipo == "CompraX"}selected{/if}>Compra $x</option>
<option value="BuenFin" {if isset($info) && $info.tipo == "BuenFin"}selected{/if}>Buen Fin</option>
</select>

View File

@@ -1,5 +1,5 @@
<select name="vigencia" id="vigencia" class="largeInput" onchange="ShowCalendars()">
<option value="">Seleccione</option>
<option value="Permanente" {if $info.vigencia == "Permanente"}selected{/if}>Permanente</option>
<option value="Periodo" {if $info.vigencia == "Periodo"}selected{/if}>Por Periodo</option>
<option value="Permanente" {if isset($info) && $info.vigencia == "Permanente"}selected{/if}>Permanente</option>
<option value="Periodo" {if isset($info) && $info.vigencia == "Periodo"}selected{/if}>Por Periodo</option>
</select>

View File

@@ -8,7 +8,7 @@
{include file="{$DOC_ROOT}/templates/items/sucursales-base.tpl" clase="On"}
{/if}
{/foreach}
{include file="{$DOC_ROOT}/templates/lists/pages_ajax.tpl" pages=$pages}
{if $pages}{include file="{$DOC_ROOT}/templates/lists/pages_ajax.tpl" pages=$pages}{/if}
{else}
<tr><td colspan="5" align="center">Ning&uacute;n registro encontrado.</td></tr>
{/if}

View File

@@ -1,35 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:28
compiled from "/var/www/html/ventas/templates/items/datos-generales-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2056558171695f54e0cf7d53-94705125%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'067b9a951f0631648e0635480ebe2ada4ecf6402' =>
array (
0 => '/var/www/html/ventas/templates/items/datos-generales-header.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '2056558171695f54e0cf7d53-94705125',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"></div>
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div class="portlet-content nopadding">
<form action="" method="post">
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
<thead>
<tr>
<th width="136" scope="col"><div align="center">RFC</div></th>
<th width="200" scope="col"><div align="center">Raz&oacute;n Social</div></th>
<th width="" scope="col"><div align="center">Direcci&oacute;n</div></th>
<th width="80" scope="col"><div align="center">Sucursales</div></th>
<th width="100" scope="col"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>

View File

@@ -0,0 +1,30 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumProvPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:358487688695f5b2118b395-17853631%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'122e89406dbe002f566e6815ec2a407c292b9e7c' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumProvPromo.tpl',
1 => 1767856721,
),
),
'nocache_hash' => '358487688695f5b2118b395-17853631',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?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;
?>
<input type="checkbox" name="idProveedor[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
" <?php if (isset($_smarty_tpl->getVariable('item')->value['checked'])&&$_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?>/><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
<br />
<?php }} ?>

View File

@@ -0,0 +1,23 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumPromoAplicar.tpl" */ ?>
<?php /*%%SmartyHeaderCode:541384057695f5b2115e108-88764002%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'12a8987ccbc11ce8631df38b2f7de6097bbed277' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumPromoAplicar.tpl',
1 => 1767856881,
),
),
'nocache_hash' => '541384057695f5b2115e108-88764002',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="aplicaTodos" id="aplicaTodos" class="largeInput" onchange="ShowProducts()">
<option value="">Seleccione</option>
<option value="1" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['aplicaTodos']=="1"){?>selected<?php }?>>S&iacute;</option>
<option value="0" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['aplicaTodos']=="0"){?>selected<?php }?>>No</option>
</select>

View File

@@ -1,44 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:47:00
compiled from "/var/www/html/ventas/templates/homepage.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1787961508695f52e4173a45-89493080%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'1ef79d77623c7bc4e59810794dfada68b56e98f5' =>
array (
0 => '/var/www/html/ventas/templates/homepage.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1787961508695f52e4173a45-89493080',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="dashboard">Bienvenido a Novomoda</h1>
</div>
<div class="grid_6" id="eventbox" style="display:none">
<a href="#" class="inline_tip"></a>
</div>
<div class="clear"></div>
<div class="grid_15" id="contenido">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center">Seleccione alguna opci&oacute;n del men&uacute;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="clear"></div>
</div>

View File

@@ -1,53 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:58:51
compiled from "/var/www/html/ventas/templates/boxes/status_on_popup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:518171246695f55ab1615f2-27947049%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'22e3b8acc1496db5f8655449cee3613e81bb65f7' =>
array (
0 => '/var/www/html/ventas/templates/boxes/status_on_popup.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '518171246695f55ab1615f2-27947049',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/boxes/status_open_on_popup.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);?>
<?php if (!empty($_smarty_tpl->getVariable('errors')->value)){?>
<h3>
<?php if ($_smarty_tpl->getVariable('errors')->value['complete']){?>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/ok.gif" style="cursor:pointer" onclick="ToogleStatusDivOnPopup()"/>
<?php }else{ ?>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/error.gif" style="cursor:pointer" onclick="ToogleStatusDivOnPopup()"/>
<?php }?>
</h3>
<div style="position:relative;top:-40px;left:50px; font-size:16px;">
<?php $_smarty_tpl->tpl_vars["error"] = new Smarty_Variable;
$_smarty_tpl->tpl_vars["key"] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('errors')->value['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars["error"]->key => $_smarty_tpl->tpl_vars["error"]->value){
$_smarty_tpl->tpl_vars["key"]->value = $_smarty_tpl->tpl_vars["error"]->key;
?>
<?php echo $_smarty_tpl->getVariable('error')->value;?>
<?php if ($_smarty_tpl->getVariable('errors')->value['field'][$_smarty_tpl->getVariable('key')->value]){?>
: <?php echo $_smarty_tpl->getVariable('errors')->value['field'][$_smarty_tpl->getVariable('key')->value];?>
<?php }?>
<br />
<?php }} ?>
</div>
<?php }?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/boxes/status_close.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);?>

View File

@@ -0,0 +1,25 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumTiposPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1631077771695f5b211a4067-13748202%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'23c5b8a5653c7b065eb4bf7a26bab0b64b11dc77' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumTiposPromo.tpl',
1 => 1767856726,
),
),
'nocache_hash' => '1631077771695f5b211a4067-13748202',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="tipo" id="tipo" class="largeInput" onchange="LoadAplica()">
<option value="">Seleccione</option>
<option value="AxB" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['tipo']=="AxB"){?>selected<?php }?>>A x B</option>
<option value="TotalVentaB" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['tipo']=="TotalVentaB"){?>selected<?php }?>>Total Venta x B</option>
<option value="CompraX" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['tipo']=="CompraX"){?>selected<?php }?>>Compra $x</option>
<option value="BuenFin" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['tipo']=="BuenFin"){?>selected<?php }?>>Buen Fin</option>
</select>

View File

@@ -1,26 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/footer.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2058776476695f506f70e334-88781058%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2450eead404c64365cb7fead5b5745f76901d083' =>
array (
0 => '/var/www/html/ventas/templates/footer.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '2058776476695f506f70e334-88781058',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"> </div>
</div>
<!-- WRAPPER END -->
<!-- FOOTER START -->
<div class="container_16" id="footer">
</div>
<!-- FOOTER END -->

View File

@@ -1,86 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:683344557695f506f39ce51-64905533%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'27570b10fa6af06579c60ea0a36ab2ec4691ad05' =>
array (
0 => '/var/www/html/ventas/templates/header.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '683344557695f506f39ce51-64905533',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="fview" style="display:none;">
<div id="fviewload" style="display:block"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/load.gif" border="0" /></div>
<div id="fviewcontent" style="display:none"></div>
</div>
<div id="fviewVta" style="display:none;">
<div id="fviewload" style="display:block"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/load.gif" border="0" /></div>
<div id="fviewcontent" style="display:none"></div>
</div>
<div class="grid_8" id="logo" style="height:69px; padding:0px 0px 0px 10px; width:500px">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/logo.png" width="286" height="63" align="left" />
<div style="float:left; padding-top:0px; padding-left:5px">Sistema de Adm&oacute;n.</div>
</div>
<!-- USER TOOLS START -->
<div class="grid_8" style="width:320px; float:right">
<div id="user_tools">
<span>
Bienvenido <a href="#"><?php echo $_smarty_tpl->getVariable('Usr')->value['nombre'];?>
</a>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"){?>
| <a href="#"><?php echo $_smarty_tpl->getVariable('Usr')->value['sucursal'];?>
</a>
<?php }?>
| <a id="logoutDiv" style="cursor:pointer">Salir</a>
</span>
</div>
</div>
<!-- USER TOOLS END -->
<div class="grid_16" id="header">
<?php $_template = new Smarty_Internal_Template("menus/main.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>
<div class="grid_16">
<!-- TABS START -->
<?php if ($_smarty_tpl->getVariable('page')->value=="datos-generales"||$_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"||$_smarty_tpl->getVariable('page')->value=="metodos-pago"||$_smarty_tpl->getVariable('page')->value=="clientes"||$_smarty_tpl->getVariable('page')->value=="proveedores"||$_smarty_tpl->getVariable('page')->value=="temporadas"||$_smarty_tpl->getVariable('page')->value=="tallas"||$_smarty_tpl->getVariable('page')->value=="colores"||$_smarty_tpl->getVariable('page')->value=="materiales"||$_smarty_tpl->getVariable('page')->value=="motivos"||$_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="promociones"||$_smarty_tpl->getVariable('page')->value=="monederos"||$_smarty_tpl->getVariable('page')->value=="cuentas-bancarias"||$_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"||$_smarty_tpl->getVariable('page')->value=="comisiones"){?>
<div id="tabs">
<div class="container">
<?php $_template = new Smarty_Internal_Template("menus/submenu.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);?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>
<div style="height:30px"></div>
<?php $_template = new Smarty_Internal_Template("menus/submenu2.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);?>
<?php }?>
</div>
</div>
<?php }else{ ?>
<div id="tabs">
<div class="container">
<?php $_template = new Smarty_Internal_Template("menus/submenu.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>
</div>
<?php }?>
<!-- TABS END -->
</div>

View File

@@ -1,22 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:58:52
compiled from "/var/www/html/ventas/templates/boxes/status_close.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1216618139695f55ac12ece0-52257527%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2ba402a1ed20dac82e64c3791a971ff72d97c5ba' =>
array (
0 => '/var/www/html/ventas/templates/boxes/status_close.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1216618139695f55ac12ece0-52257527',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
</div>
</div>
</div>

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:02:56
compiled from "/var/www/html/ventas/templates/lists/sucursales.tpl" */ ?>
<?php /*%%SmartyHeaderCode:348320451695f56a03a1ba9-01515116%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2c69bbea5cf227f65b4e66d17053d55f08b4868c' =>
array (
0 => '/var/www/html/ventas/templates/lists/sucursales.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '348320451695f56a03a1ba9-01515116',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/sucursales-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php if (count($_smarty_tpl->getVariable('sucursales')->value)){?>
<?php $_smarty_tpl->tpl_vars['sucursal'] = 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['sucursal']->key => $_smarty_tpl->tpl_vars['sucursal']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['sucursal']->key;
?>
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/sucursales-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }else{ ?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/sucursales-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php }} ?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_ajax.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('pages',$_smarty_tpl->getVariable('pages')->value); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }else{ ?>
<tr><td colspan="5" align="center">Ning&uacute;n registro encontrado.</td></tr>
<?php }?>
</table>

View File

@@ -0,0 +1,33 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumAplicarPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1855783150695f5b211b7648-40587464%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3489a9ad6674770778ae2de933b2a3aa6e7d2be3' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumAplicarPromo.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1855783150695f5b211b7648-40587464',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="aplica" id="aplica" class="largeInput" onchange="ShowInputsAplica()">
<option value="">Seleccione</option>
<?php if ($_smarty_tpl->getVariable('tipo')->value=="AxB"){?>
<option value="XxY" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="XxY"){?>selected<?php }?>>Compra X Prods. al Precio de Y por Producto.</option>
<option value="N1Desc" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="N1Desc"){?>selected<?php }?>>Compra N Prods. y N+1 aplica un Descuento</option>
<?php }elseif($_smarty_tpl->getVariable('tipo')->value=="TotalVentaB"){?>
<option value="CompraX" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="CompraX"){?>selected<?php }?>>Compra $x y Regala B</option>
<?php }elseif($_smarty_tpl->getVariable('tipo')->value=="CompraX"){?>
<option value="DescCuenta" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="DescCuenta"){?>selected<?php }?>>Descuento por toda la Cuenta</option>
<option value="ArtConDesc" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="ArtConDesc"){?>selected<?php }?>>Art&iacute;culos despu&eacute;s de $x con Descuento</option>
<?php }elseif($_smarty_tpl->getVariable('tipo')->value=="BuenFin"){?>
<option value="3x2" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="3x2"){?>selected<?php }?>>3 x 2</option>
<?php }?>
</select>

View File

@@ -0,0 +1,23 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumVigenciaPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1247760929695f5b21151537-19651533%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'36795feb23e9ab9ea47214f7f33e751b56d88fa2' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumVigenciaPromo.tpl',
1 => 1767856876,
),
),
'nocache_hash' => '1247760929695f5b21151537-19651533',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="vigencia" id="vigencia" class="largeInput" onchange="ShowCalendars()">
<option value="">Seleccione</option>
<option value="Permanente" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['vigencia']=="Permanente"){?>selected<?php }?>>Permanente</option>
<option value="Periodo" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['vigencia']=="Periodo"){?>selected<?php }?>>Por Periodo</option>
</select>

View File

@@ -0,0 +1,30 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumProdCatPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:47075276695f5b21176314-84644090%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'38b4c502dcb48f6edf69d277630e1f0f790040e1' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumProdCatPromo.tpl',
1 => 1767856887,
),
),
'nocache_hash' => '47075276695f5b21176314-84644090',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?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;
?>
<input type="checkbox" name="idProdCat[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['prodCatId'];?>
" <?php if (isset($_smarty_tpl->getVariable('item')->value['checked'])&&$_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<br />
<?php }} ?>

View File

@@ -1,35 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:47:02
compiled from "/var/www/html/ventas/templates/items/usuarios-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1424676570695f52e69dc866-79889862%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'38de255038781fb4b90312a4d8b4c38ba30c9f07' =>
array (
0 => '/var/www/html/ventas/templates/items/usuarios-header.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1424676570695f52e69dc866-79889862',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"></div>
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div class="portlet-content nopadding">
<form action="" method="post">
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
<thead>
<tr>
<th width="" scope="col">Nombre</th>
<th width="180" scope="col"><div align="center">Email</div></th>
<th width="150" scope="col"><div align="center">Tipo</div></th>
<th width="170" scope="col"><div align="center">Sucursal</div></th>
<th width="100" scope="col"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>

View File

@@ -0,0 +1,30 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumSucPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:229259832695f5b21169fc9-03211752%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3a819890283f7957d929db0fb196da3fe21992b6' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumSucPromo.tpl',
1 => 1767856884,
),
),
'nocache_hash' => '229259832695f5b21169fc9-03211752',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?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;
?>
<input type="checkbox" name="idSucursal[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
" <?php if (isset($_smarty_tpl->getVariable('item')->value['checked'])&&$_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?> /><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
<br />
<?php }} ?>

View File

@@ -1,41 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:58:52
compiled from "/var/www/html/ventas/templates/lists/atributos-valores-rows.tpl" */ ?>
<?php /*%%SmartyHeaderCode:607809653695f55ac13a6f9-05282821%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'44c8aaf79337e5bf1fff100b3a971af6539f1373' =>
array (
0 => '/var/www/html/ventas/templates/lists/atributos-valores-rows.tpl',
1 => 1767853666,
),
),
'nocache_hash' => '607809653695f55ac13a6f9-05282821',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!-- DEBUG: <?php echo count($_smarty_tpl->getVariable('item')->value['valores']);?>
valores encontrados -->
<?php if (count($_smarty_tpl->getVariable('item')->value['valores'])){?>
<?php $_smarty_tpl->tpl_vars['itm'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('item')->value['valores']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['itm']->key => $_smarty_tpl->tpl_vars['itm']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['itm']->key;
?>
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-valores-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }else{ ?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-valores-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php }} ?>
<?php }else{ ?>
<tr><td colspan="3" align="center">Ning&uacute;n registro encontrado.</td></tr>
<?php }?>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:57:14
compiled from "/var/www/html/ventas/templates/boxes/agregar-atributo-valor-popup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1498138456695f554a98d981-73026228%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/boxes/agregar-promocion-popup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1781356590695f5b21104c64-00994730%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd35cc865727ae155a6f28a36eba2662f1b9bcdd8' =>
'46b41ef7b189fa9ea5ca562391edbbe062ed6cc0' =>
array (
0 => '/var/www/html/ventas/templates/boxes/agregar-atributo-valor-popup.tpl',
0 => '/var/www/html/ventas/templates/boxes/agregar-promocion-popup.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1498138456695f554a98d981-73026228',
'nocache_hash' => '1781356590695f5b21104c64-00994730',
'function' =>
array (
),
@@ -25,8 +25,8 @@ $_smarty_tpl->decodeProperties(array (
</div>
<div id="ftitl">
<div class="flabel">Agregar Valor</div>
<div id="vtitl"><span title="Titulo">Agregar Valor</span></div>
<div class="flabel">Agregar Promoci&oacute;n</div>
<div id="vtitl"><span title="Titulo">Agregar Promoci&oacute;n</span></div>
</div>
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
@@ -35,7 +35,7 @@ $_smarty_tpl->decodeProperties(array (
</div>
<div class="wrapper">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/agregar-atributo-valor.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/agregar-promocion.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>

View File

@@ -1,48 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:30
compiled from "/var/www/html/ventas/templates/lists/materiales.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1092437328695f54e2c61892-64367839%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'470dea2be2833754a84596c84469f615b2b3cde7' =>
array (
0 => '/var/www/html/ventas/templates/lists/materiales.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1092437328695f54e2c61892-64367839',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/materiales-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php if (count($_smarty_tpl->getVariable('materiales')->value['items'])){?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('materiales')->value['items']; 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;
?>
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/materiales-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }else{ ?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/materiales-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php }} ?>
<?php }else{ ?>
<tr><td colspan="3" align="center">Ning&uacute;n registro encontrado.</td>
<?php }?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('pages',$_smarty_tpl->getVariable('materiales')->value['pages']);$_template->assign('colspan',3); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -0,0 +1,31 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumProdPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1697861612695f5b21198539-20208607%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4e54a73584079dad09a8f59506c3fd0acf241de7' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumProdPromo.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1697861612695f5b21198539-20208607',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include '/var/www/html/ventas/libs/plugins/modifier.truncate.php';
?><?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('productos')->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;
?>
<input type="checkbox" name="idProducto[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?> ><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['descripcion'],250,"...");?>
<br />
<?php }} ?>

View File

@@ -1,57 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:33
compiled from "/var/www/html/ventas/templates/lists/atributos-valores.tpl" */ ?>
<?php /*%%SmartyHeaderCode:28047991695f54e56e8604-85916406%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5488f24312a41144df3e3124e4197048e9bdb3be' =>
array (
0 => '/var/www/html/ventas/templates/lists/atributos-valores.tpl',
1 => 1767855326,
),
),
'nocache_hash' => '28047991695f54e56e8604-85916406',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!-- DEBUG: <?php echo count($_smarty_tpl->getVariable('item')->value['valores']);?>
valores encontrados -->
<!-- DEBUG: <pre><?php echo print_r($_smarty_tpl->getVariable('item')->value['valores']);?>
</pre> -->
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-valores-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php if (count($_smarty_tpl->getVariable('item')->value['valores'])){?>
<?php $_smarty_tpl->tpl_vars['itm'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('item')->value['valores']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['itm']->key => $_smarty_tpl->tpl_vars['itm']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['itm']->key;
?>
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-valores-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }else{ ?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-valores-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php }} ?>
<?php }else{ ?>
<tr><td colspan="3" align="center">Ning&uacute;n registro encontrado.</td>
<?php }?>
<?php if (isset($_smarty_tpl->getVariable('valores')->value)&&$_smarty_tpl->getVariable('valores')->value){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new2.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('pages',$_smarty_tpl->getVariable('valores')->value['pages']);$_template->assign('colspan',3); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
</tbody>
</table>

View File

@@ -1,51 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/menus/submenu2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1338073185695f506f5f72a4-13357101%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'56465d27e1df56835c71d7cdb2dc2df60120e83e' =>
array (
0 => '/var/www/html/ventas/templates/menus/submenu2.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1338073185695f506f5f72a4-13357101',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<ul>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/motivos" <?php if ($_smarty_tpl->getVariable('page')->value=="motivos"){?> class="current"<?php }?>>
<span>Motivos Rechazo</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/promociones" <?php if ($_smarty_tpl->getVariable('page')->value=="promociones"){?> class="current"<?php }?>>
<span>Promociones</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/bonificacion-devolucion" <?php if ($_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"){?> class="current"<?php }?>>
<span>Politicas B/D</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/comisiones" <?php if ($_smarty_tpl->getVariable('page')->value=="comisiones"){?> class="current"<?php }?>>
<span>Comisiones</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/productos-duplicados" <?php if ($_smarty_tpl->getVariable('page')->value=="productos-duplicados"){?> class="current"<?php }?>>
<span>Productos Duplicados</span>
</a>
</li>
</ul>

View File

@@ -0,0 +1,30 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumProdSubcatPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1856921086695f5b21181b46-46781434%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5eea28b4ffbe5ac7e6e42146f82ca9d38fa4e6ee' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumProdSubcatPromo.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1856921086695f5b21181b46-46781434',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('subcategorias')->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;
?>
<input type="checkbox" name="idProdSubcat[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['prodSubcatId'];?>
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<br />
<?php }} ?>

View File

@@ -1,186 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/menus/main.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1240459790695f506f3c25c5-29327061%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'609737f18f894abfa6157e8d0005cc9d18d3c612' =>
array (
0 => '/var/www/html/ventas/templates/menus/main.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1240459790695f506f3c25c5-29327061',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="menu">
<ul class="group" id="menu_group_main">
<li class="item first" id="one">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="homepage"){?>current<?php }?>">
<span class="outer">
<span class="inner dashboard">Inicio</span>
</span>
</a>
</li>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
<li class="item" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>productos<?php }else{ ?>usuarios<?php }?>" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="datos-generales"||$_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"||$_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="metodos-pago"||$_smarty_tpl->getVariable('page')->value=="clientes"||$_smarty_tpl->getVariable('page')->value=="temporadas"||$_smarty_tpl->getVariable('page')->value=="tallas"||$_smarty_tpl->getVariable('page')->value=="colores"||$_smarty_tpl->getVariable('page')->value=="materiales"||$_smarty_tpl->getVariable('page')->value=="composiciones"||$_smarty_tpl->getVariable('page')->value=="motivos"||$_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="proveedores"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="promociones"||$_smarty_tpl->getVariable('page')->value=="monederos"||$_smarty_tpl->getVariable('page')->value=="bancos"){?>current<?php }?>">
<span class="outer">
<span class="inner catalogos">Cat&aacute;logos</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="gerente"&&$_smarty_tpl->getVariable('Usr')->value['type']!="vendedor"&&$_smarty_tpl->getVariable('Usr')->value['type']!="cajero"&&$_smarty_tpl->getVariable('Usr')->value['type']!="facturacion"&&$_smarty_tpl->getVariable('Usr')->value['type']!="cliente"&&$_smarty_tpl->getVariable('Usr')->value['type']!="supervisor"){?>
<li class="item middle" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/pedidos" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="pedidos"||$_smarty_tpl->getVariable('page')->value=="pedidos-agregar"||$_smarty_tpl->getVariable('page')->value=="pedidos-editar"||$_smarty_tpl->getVariable('page')->value=="pedidos-detalles"||$_smarty_tpl->getVariable('page')->value=="pedidos-aprobados"||$_smarty_tpl->getVariable('page')->value=="pedidos-rechazados"||$_smarty_tpl->getVariable('page')->value=="pedidos-rechazar"||$_smarty_tpl->getVariable('page')->value=="pedidos-revivir"||$_smarty_tpl->getVariable('page')->value=="cuentas-pagar"||$_smarty_tpl->getVariable('page')->value=="cuentas-pagar-saldos"||$_smarty_tpl->getVariable('page')->value=="bonificaciones"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-agregar"||$_smarty_tpl->getVariable('page')->value=="conciliaciones"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-detalles"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-pendientes"||$_smarty_tpl->getVariable('page')->value=="pedidos-aprobar"){?>current<?php }?>">
<span class="outer">
<span class="inner compras">Compras</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="vendedor"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
<li class="item" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"){?>current<?php }?>">
<span class="outer">
<span class="inner inventario">Inventario</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"){?>
<li class="item" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-fisico" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"){?>current<?php }?>">
<span class="outer">
<span class="inner inventario">Inventario</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>
<li class="item" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-solicitar" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"){?>current<?php }?>">
<span class="outer">
<span class="inner inventario">Inventario</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
<li class="item" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-wizard-list" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list2"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar-list"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"){?>current<?php }?>">
<span class="outer">
<span class="inner inventario">Inventario</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"||$_smarty_tpl->getVariable('Usr')->value['type']=="admin"){?>
<li class="item" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/ventas" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="ventas"||$_smarty_tpl->getVariable('page')->value=="ventas-nueva"||$_smarty_tpl->getVariable('page')->value=="ventas-espera"||$_smarty_tpl->getVariable('page')->value=="devoluciones"||$_smarty_tpl->getVariable('page')->value=="ventas-bloqueados"){?>current<?php }?>">
<span class="outer">
<span class="inner ventas">Ventas</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"){?>
<li class="item" id="two">
<a href="javascript:void(0)" class="main" onclick="AddNewVtaDiv()">
<span class="outer">
<span class="inner ventas2">Nueva Venta</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
<li class="item" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>envios-tienda<?php }else{ ?>envios<?php }?>" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="envios"||$_smarty_tpl->getVariable('page')->value=="envios-reporte"||$_smarty_tpl->getVariable('page')->value=="envios-recibir"||$_smarty_tpl->getVariable('page')->value=="envios-recibir-reporte"||$_smarty_tpl->getVariable('page')->value=="envios-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-tienda"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-traspasos"||$_smarty_tpl->getVariable('page')->value=="envios-transito"||$_smarty_tpl->getVariable('page')->value=="envios-cedis-agregar"){?>current<?php }?>">
<span class="outer">
<span class="inner envios">Env&iacute;os</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<li class="item" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/facturacion" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="facturacion"||$_smarty_tpl->getVariable('page')->value=="facturacion"||$_smarty_tpl->getVariable('page')->value=="facturacion-nueva"||$_smarty_tpl->getVariable('page')->value=="facturacion-certificado"||$_smarty_tpl->getVariable('page')->value=="facturacion-folios"){?>current<?php }?>">
<span class="outer">
<span class="inner facturacion">Facturaci&oacute;n</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"){?>
<li class="item last" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/reportes-ventas" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="reportes-ventas"||$_smarty_tpl->getVariable('page')->value=="reportes-compras"||$_smarty_tpl->getVariable('page')->value=="reportes-cuentaspagar"||$_smarty_tpl->getVariable('page')->value=="reportes-cuentascobrar"||$_smarty_tpl->getVariable('page')->value=="reportes-inventario"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial-detalles"||$_smarty_tpl->getVariable('page')->value=="reportes-tickets"||$_smarty_tpl->getVariable('page')->value=="reportes-faltantes"||$_smarty_tpl->getVariable('page')->value=="reportes-devcedis"||$_smarty_tpl->getVariable('page')->value=="analisis-venta"){?>current<?php }?>">
<span class="outer">
<span class="inner reportes">Reportes</span>
</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="cliente"){?>
<li class="item" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/facturas-listado" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="facturas-listado"){?>current<?php }?>">
<span class="outer">
<span class="inner facturacion">Facturas</span>
</span>
</a>
</li>
<li class="item" id="two">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/facturas-datos" class="main
<?php if ($_smarty_tpl->getVariable('page')->value=="facturas-datos"){?>current<?php }?>">
<span class="outer">
<span class="inner customer">Mis Datos</span>
</span>
</a>
</li>
<?php }?>
</ul>
</div>

View File

@@ -1,34 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/items/atributos-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1512563267695f506f615a40-89855441%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'61a608b46520e886e783d506a5564f3a569d05a1' =>
array (
0 => '/var/www/html/ventas/templates/items/atributos-header.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1512563267695f506f615a40-89855441',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"></div>
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<br />
<div class="portlet-content nopadding">
<form action="" method="post">
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
<thead>
<tr>
<th width="100" scope="col"><div align="center">ID</div></th>
<th width="" scope="col">Nombre</th>
<th width="100" scope="col"><div align="center">Valores</div></th>
<th width="100" scope="col"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>

View File

@@ -1,32 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:47:02
compiled from "/var/www/html/ventas/templates/lists/enumUserTypes2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1187258483695f52e69c0536-12785990%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6670f58212e495e6b8b20c6cf792378ab9f3af78' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumUserTypes2.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1187258483695f52e69c0536-12785990',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="tipo2" id="tipo2" class="largeInput">
<option value="">Seleccione</option>
<option value="admin">Administrador</option>
<option value="centralizador">Centralizador</option>
<option value="cajero">Cajero</option>
<option value="almacen">CEDIS</option>
<option value="compras">Compras</option>
<option value="direccion">Direcci&oacute;n</option>
<option value="facturacion">Facturaci&oacute;n</option>
<option value="gerente">Gerente</option>
<option value="subgerente">Subgerente</option>
<option value="supervisor">Supervisor</option>
<option value="vendedor">Vendedor</option>
</select>

View File

@@ -1,57 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/items/atributos-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1587184849695f506f61b4b7-75527790%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6dbbae8ab83b2d3e8228f1364946b740b967b965' =>
array (
0 => '/var/www/html/ventas/templates/items/atributos-base.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1587184849695f506f61b4b7-75527790',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<tr>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
</td>
<td><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</td>
<td align="center">
<a href="javascript:void(0)" onclick="AddValorDiv(<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
)" title="Agregar Valor">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/add.png" border="0"/>
</a>
<a href="javascript:void(0)" onclick="ViewValores(<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
)" title="Ver Valores">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/details.png" border="0"/>
</a>
</td>
<td align="center">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/edit.gif" class="spanEdit" id="<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
" title="Editar"/>
<?php if ($_smarty_tpl->getVariable('item')->value['atributoId']>2){?>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
" title="Eliminar"/>
<?php }?>
</td>
</tr>
<tr id="valores_<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
" style="display:none">
<td>&nbsp;</td>
<td colspan="3" align="left" id="contValores_<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/atributos-valores.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);?>
</td>
</tr>

View File

@@ -1,97 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:47:02
compiled from "/var/www/html/ventas/templates/forms/search-usuarios.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1735606233695f52e69a3469-03325538%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6ee39a69f93600ffc67951af38acf5d081a06bfd' =>
array (
0 => '/var/www/html/ventas/templates/forms/search-usuarios.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1735606233695f52e69a3469-03325538',
'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" 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">
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<div class="txtFrm" style="width:200px">Vendedor</div>
<input type="hidden" name="tipo2" id="tipo2" value="vendedor" />
<?php }else{ ?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumUserTypes2.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);?>
<?php }?>
</td>
<td align="center">
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<div class="txtFrm" style="width:250px"><?php echo $_smarty_tpl->getVariable('nomSuc')->value;?>
</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></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="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/loading.gif" width="16" height="16" />
<br />Cargando...
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>

View File

@@ -1,142 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1417910094695f506f3548b8-98753936%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'70bf41642baf30444e6a2fab648bee6d25dd5d77' =>
array (
0 => '/var/www/html/ventas/templates/index.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1417910094695f506f3548b8-98753936',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sistema Novomoda</title>
<meta name="description" content="Sistema Novomoda" />
<meta name="keywords" content="Sistema Novomda" />
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Expires" content="-1">
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/css/960.css" rel="stylesheet" type="text/css" media="all" />
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/css/reset.css" rel="stylesheet" type="text/css" media="all" />
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/css/text.css" rel="stylesheet" type="text/css" media="all" />
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/css/blue.css?<?php echo time();?>
" rel="stylesheet" type="text/css" media="all" />
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/css/smoothness/ui.css" type="text/css" rel="stylesheet" />
<style type="text/css">
body {
background:url(<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/bg.gif) repeat-x left top #d4d3d3;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 13px;
color: #333;
}
</style>
<?php if ($_smarty_tpl->getVariable('page')->value=="login"||$_smarty_tpl->getVariable('page')->value=="facturas"){?>
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/css/login.css" rel="stylesheet" type="text/css" media="all" />
<?php }?>
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/prototype.js"></script>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/scoluos/src/scriptaculous.js" type="text/javascript"></script>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/util.js" type="text/javascript"></script>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/functions.js?<?php echo time();?>
" type="text/javascript"></script>
<?php if ($_smarty_tpl->getVariable('page')->value=="login"){?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/login.js?<?php echo time();?>
" type="text/javascript"></script>
<?php }else{ ?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/<?php echo $_smarty_tpl->getVariable('page')->value;?>
.js?<?php echo time();?>
" type="text/javascript"></script>
<?php }?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/flowplayer-3.2.4.min.js" type="text/javascript"></script>
<!-- Date Time Picker -->
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/datetimepicker.js" type="text/javascript"></script>
<?php if ($_smarty_tpl->getVariable('page')->value=="reportes-ventas"||$_smarty_tpl->getVariable('page')->value=="reportes-inventario"){?>
<!-- Sorter Lib -->
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/css/sorter/style.css" />
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/sorter/fabtabulous.js" type="text/javascript"></script>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/sorter/tablekit.js" type="text/javascript"></script>
<?php }?>
<?php if ($_smarty_tpl->getVariable('page')->value=="atributos"){?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/atributos-valores.js?<?php echo time();?>
" type="text/javascript"></script>
<?php }elseif($_smarty_tpl->getVariable('page')->value=="productos-categorias"){?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/productos-subcategorias.js?<?php echo time();?>
" type="text/javascript"></script>
<?php }elseif($_smarty_tpl->getVariable('page')->value=="productos-agregar"){?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/productos-materiales.js?<?php echo time();?>
" type="text/javascript"></script>
<?php }elseif($_smarty_tpl->getVariable('page')->value=="productos-editar"){?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/productos-materiales2.js?<?php echo time();?>
" type="text/javascript"></script>
<?php }?>
<?php if ($_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="pedidos-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-detalles"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"){?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/clearbox.js" type="text/javascript"></script>
<?php }?>
</head>
<body>
<div style="position:relative" id="divStatus"></div>
<?php if ($_smarty_tpl->getVariable('page')->value=="login"||$_smarty_tpl->getVariable('page')->value=="facturas"){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('page')->value}.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);?>
<?php }else{ ?>
<div class="container_16" id="wrapper">
<?php $_template = new Smarty_Internal_Template("header.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);?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('page')->value}.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);?>
<?php $_template = new Smarty_Internal_Template("footer.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>
<?php }?>
<?php $_template = new Smarty_Internal_Template("boxes/dialog.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);?>
</body>
</html>

View File

@@ -1,29 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/boxes/dialog.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2064641319695f506f7105a7-35835303%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'70ef81a4c670eef9395625059c42378c13e46a57' =>
array (
0 => '/var/www/html/ventas/templates/boxes/dialog.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '2064641319695f506f7105a7-35835303',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="modDialog" style="display:none">
<div class="headerMsgD">
<div class="titMsgD">MENSAJE</div>
<div class="btnMsgD">
<a href="javascript:void(0)" onclick="CloseMsgD()">X Cerrar</a>
</div>
<div style="clear:both"></div>
</div>
<div class="conMsgD" align="center" id="txtMsgD"></div>
</div>

View File

@@ -1,41 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:58:00
compiled from "/var/www/html/ventas/templates/boxes/editar-atributo-popup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:515136704695f557876d076-19386824%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'726833215b3928bd1477fd3560fc19bc98b56aa7' =>
array (
0 => '/var/www/html/ventas/templates/boxes/editar-atributo-popup.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '515136704695f557876d076-19386824',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="popupheader" style="z-index:70">
<div id="fviewmenu" style="z-index:70">
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">
<a href="javascript:void(0)">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/b_disn.png" border="0" alt="close" /></a></span>
</div>
</div>
<div id="ftitl">
<div class="flabel">Editar Atributo</div>
<div id="vtitl"><span title="Titulo">Editar Atributo</span></div>
</div>
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/draganddrop.png" border="0" alt="mueve" />
</div>
</div>
<div class="wrapper">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/editar-atributo.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>

View File

@@ -1,37 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/items/atributos-valores-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1149131651695f506f649689-28610719%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'7db66415da9518f91ef873663ad93c2cf61a24d3' =>
array (
0 => '/var/www/html/ventas/templates/items/atributos-valores-base.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1149131651695f506f649689-28610719',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<tr>
<td align="center"> > </td>
<td><?php echo $_smarty_tpl->getVariable('itm')->value['nombre'];?>
</td>
<td align="center">
<a href="javascript:void(0)" onclick="EditValorPopup(<?php echo $_smarty_tpl->getVariable('itm')->value['atribValId'];?>
)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/edit.gif" border="0" title="Editar"/>
</a>
<?php if ($_smarty_tpl->getVariable('itm')->value['atribValId']>2){?>
<a href="javascript:void(0)" onclick="DeleteValorPopup(<?php echo $_smarty_tpl->getVariable('itm')->value['atribValId'];?>
)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.gif" border="0" title="Eliminar"/>
</a>
<?php }?>
</td>
</tr>

View File

@@ -1,27 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/items/atributos-valores-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1188496253695f506f645465-14663856%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8136b6ea2f75e38fd8816784077ba2c44011c4f7' =>
array (
0 => '/var/www/html/ventas/templates/items/atributos-valores-header.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1188496253695f506f645465-14663856',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table width="100%" cellpadding="0" cellspacing="0" id="subTbl">
<thead>
<tr>
<th width="100" bgcolor="#00CC00"><div align="center"></div></th>
<th width="" scope="col">Nombre</th>
<th width="100" scope="col"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>

View File

@@ -1,32 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:30
compiled from "/var/www/html/ventas/templates/items/materiales-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:635893757695f54e2c79a37-05495044%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'87a9beee14fcda8ff01ce07b1ec49f7321cda94b' =>
array (
0 => '/var/www/html/ventas/templates/items/materiales-base.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '635893757695f54e2c79a37-05495044',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<tr>
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['materialId'];?>
</div></td>
<td><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</td>
<td align="center">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/edit.gif" class="spanEdit" id="<?php echo $_smarty_tpl->getVariable('item')->value['materialId'];?>
" title="Editar"/>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('item')->value['materialId'];?>
" title="Eliminar"/>
</td>
</tr>

View File

@@ -1,40 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:57:14
compiled from "/var/www/html/ventas/templates/forms/agregar-atributo-valor.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1133224561695f554a99c885-58270892%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8eb1d3eeabbdcdf0522ad01aa0479f87cb45a871' =>
array (
0 => '/var/www/html/ventas/templates/forms/agregar-atributo-valor.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1133224561695f554a99c885-58270892',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="divForm">
<form name="frmAgregarValor" id="frmAgregarValor" method="post" action="">
<input type="hidden" name="type" id="type" value="saveValor" />
<input type="hidden" name="atributoId" id="atributoId" value="<?php echo $_smarty_tpl->getVariable('atributoId')->value;?>
" />
<fieldset>
<div class="a">
<div class="l">* Nombre:</div>
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
</div>
<div style="clear:both"></div>
<hr />
* Campos requeridos
<div class="formLine" style="text-align:center; padding-left:300px">
<a class="button" id="btnSave"><span>Agregar</span></a>
</div>
</fieldset>
</form>
</div>

View File

@@ -1,42 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/atributos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:769950680695f506f605fa0-01849986%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'920c9e8e86270ed48ce2dde9616105d0b2b4d2ee' =>
array (
0 => '/var/www/html/ventas/templates/atributos.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '769950680695f506f605fa0-01849986',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="catalogos">Atributos</h1>
</div>
<div class="clear"></div>
<div align="center">
<a href="javascript:void(0)" class="inline_add" id="addAtributo">Agregar Atributo</a>
</div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/atributos.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>
<div class="clear"></div>
</div>

View File

@@ -1,48 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:47:02
compiled from "/var/www/html/ventas/templates/lists/usuarios.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1089833776695f52e69c7526-32715640%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'9463f5eb94e258299f76f9fcf7196e1f49f4ffbd' =>
array (
0 => '/var/www/html/ventas/templates/lists/usuarios.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1089833776695f52e69c7526-32715640',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/usuarios-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php if (count($_smarty_tpl->getVariable('usuarios')->value)){?>
<?php $_smarty_tpl->tpl_vars['usuario'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('usuarios')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['usuario']->key => $_smarty_tpl->tpl_vars['usuario']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['usuario']->key;
?>
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/usuarios-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }else{ ?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/usuarios-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php }} ?>
<?php }else{ ?>
<tr><td colspan="5" align="center">Ning&uacute;n registro encontrado.</td>
<?php }?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('pages',$_smarty_tpl->getVariable('pages')->value);$_template->assign('colspan',5); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -0,0 +1,23 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumDesctosPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2083300451695f5b211d04a6-51801740%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'94f66fec8ea2c6ee428dba48082be0f043bbda49' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumDesctosPromo.tpl',
1 => 1767856730,
),
),
'nocache_hash' => '2083300451695f5b211d04a6-51801740',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="tipoDesc" id="tipoDesc" class="largeInput">
<option value="">Seleccione</option>
<option value="Cantidad" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['tipoDesc']=="Cantidad"){?>selected<?php }?>>Cantidad Fija</option>
<option value="Porcentaje" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['tipoDesc']=="Porcentaje"){?>selected<?php }?>>Porcentaje</option>
</select>

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:02:56
compiled from "/var/www/html/ventas/templates/lists/pages_ajax.tpl" */ ?>
<?php /*%%SmartyHeaderCode:56848072695f56a03c2df5-14611594%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'9f7a51167e64afe4bcfd339161960b40e41200d3' =>
array (
0 => '/var/www/html/ventas/templates/lists/pages_ajax.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '56848072695f56a03c2df5-14611594',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (count($_smarty_tpl->getVariable('pages')->value['numbers'])){?>
<?php $_smarty_tpl->assign("linktpl","{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/links/ajax.tpl",null,null);?>
<div class="pages">
<?php if ($_smarty_tpl->getVariable('pages')->value['first']){?><?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('linktpl')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('link',$_smarty_tpl->getVariable('pages')->value['first']);$_template->assign('name',$_smarty_tpl->getVariable('language')->value['first']); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('pages')->value['prev']){?><?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('linktpl')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('link',$_smarty_tpl->getVariable('pages')->value['prev']);$_template->assign('name',$_smarty_tpl->getVariable('language')->value['prev']); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php $_smarty_tpl->tpl_vars['page'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('pages')->value['numbers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['page']->key => $_smarty_tpl->tpl_vars['page']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['page']->key;
?>
<?php if ($_smarty_tpl->getVariable('pages')->value['current']==$_smarty_tpl->getVariable('key')->value){?><span class="p"><?php echo $_smarty_tpl->getVariable('key')->value;?>
</span><?php }else{ ?><?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('linktpl')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('link',$_smarty_tpl->getVariable('page')->value);$_template->assign('name',$_smarty_tpl->getVariable('key')->value); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php }} ?>
<?php if ($_smarty_tpl->getVariable('pages')->value['next']){?><?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('linktpl')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('link',$_smarty_tpl->getVariable('pages')->value['next']);$_template->assign('name',$_smarty_tpl->getVariable('language')->value['next']); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('pages')->value['last']){?><?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('linktpl')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('link',$_smarty_tpl->getVariable('pages')->value['last']);$_template->assign('name',$_smarty_tpl->getVariable('language')->value['last']); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
</div>
<?php }?>

View File

@@ -1,41 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:02:56
compiled from "/var/www/html/ventas/templates/items/sucursales-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:144384799695f56a03b1bb7-17353514%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'a076112b8fd76e9ace9a050c0240fb77305aa5fa' =>
array (
0 => '/var/www/html/ventas/templates/items/sucursales-header.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '144384799695f56a03b1bb7-17353514',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div align="center">
<span id="addSucursal" style="cursor:pointer"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/add.png" border="0" />Agregar Sucursal</span>
</div>
<br />
<div class="clear"></div>
<div class="portlet" style="width:95%; padding-left:20px" align="center">
<div class="portlet-content nopadding">
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
<thead>
<tr>
<th width="80" scope="col"><div align="center">No.</div></th>
<th width="136" scope="col"><div align="center">RFC</div></th>
<th width="" scope="col"><div align="center">Nombre</div></th>
<th width="109" scope="col"><div align="center">IVA</div></th>
<th width="100" scope="col"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>

View File

@@ -1,64 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/lists/pages_new.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1311446594695f506f6f1688-76708991%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'a2d84734284ccd0cf65c401208f8cbb3abc2582f' =>
array (
0 => '/var/www/html/ventas/templates/lists/pages_new.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1311446594695f506f6f1688-76708991',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<tr class="footer">
<td colspan="<?php echo $_smarty_tpl->getVariable('colspan')->value;?>
" align="right">
<!-- PAGINATION START -->
<div class="pagination">
<?php if (isset($_smarty_tpl->getVariable('pages')->value['numbers'])&&count($_smarty_tpl->getVariable('pages')->value['numbers'])){?>
<?php if ($_smarty_tpl->getVariable('type')->value=="ajax"){?><?php $_smarty_tpl->assign("linktpl","{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/links/ajax_link.tpl",null,null);?><?php }else{ ?><?php $_smarty_tpl->assign("linktpl","{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/links/link.tpl",null,null);?><?php }?>
<?php if ($_smarty_tpl->getVariable('pages')->value['first']){?><?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('linktpl')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('link',$_smarty_tpl->getVariable('pages')->value['first']);$_template->assign('name',"&laquo;"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('pages')->value['prev']){?><?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('linktpl')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('link',$_smarty_tpl->getVariable('pages')->value['prev']);$_template->assign('name',"&lt;"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php $_smarty_tpl->tpl_vars['page'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('pages')->value['numbers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['page']->key => $_smarty_tpl->tpl_vars['page']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['page']->key;
?>
<?php if ($_smarty_tpl->getVariable('pages')->value['current']==$_smarty_tpl->getVariable('key')->value){?><span class="active"><?php echo $_smarty_tpl->getVariable('key')->value;?>
</span><?php }else{ ?><?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('linktpl')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('link',$_smarty_tpl->getVariable('page')->value);$_template->assign('name',$_smarty_tpl->getVariable('key')->value); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php }} ?>
<?php if ($_smarty_tpl->getVariable('pages')->value['next']){?><?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('linktpl')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('link',$_smarty_tpl->getVariable('pages')->value['next']);$_template->assign('name',"&gt;"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('pages')->value['last']){?><?php $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('linktpl')->value, $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('link',$_smarty_tpl->getVariable('pages')->value['last']);$_template->assign('name',"&raquo;"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php }?>
</div>
<!-- PAGINATION END -->
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- END #PORTLETS -->
</div>

View File

@@ -1,44 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:28
compiled from "/var/www/html/ventas/templates/datos-generales.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2143606289695f54e0cde6c1-80943020%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'a731eada2d67702a4b0b5edde01bc21cd0e4f10a' =>
array (
0 => '/var/www/html/ventas/templates/datos-generales.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '2143606289695f54e0cde6c1-80943020',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="catalogos">Mi Empresa</h1>
</div>
<div class="grid_6" id="eventbox" style="display:none">
<a href="#" class="inline_tip"></a>
</div>
<div class="clear"></div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/datos-generales.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);?>
<br />
<div id="empresaSucursalesDiv"></div>
</div>
<div class="clear"></div>
</div>

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:23
compiled from "/var/www/html/ventas/templates/lists/atributos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1401979205695f54db961685-75342256%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'a7c79e625605d71423730999acbe7a769dd1d85e' =>
array (
0 => '/var/www/html/ventas/templates/lists/atributos.tpl',
1 => 1767855290,
),
),
'nocache_hash' => '1401979205695f54db961685-75342256',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php if (count($_smarty_tpl->getVariable('atributos')->value['items'])){?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('atributos')->value['items']; 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;
?>
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }else{ ?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/atributos-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php }} ?>
<?php }else{ ?>
<tr><td colspan="4" align="center">Ning&uacute;n registro encontrado.</td>
<?php }?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('pages',$_smarty_tpl->getVariable('atributos')->value['pages']);$_template->assign('colspan',4); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -1,24 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:02:25
compiled from "/var/www/html/ventas/templates/boxes/status_open.tpl" */ ?>
<?php /*%%SmartyHeaderCode:525297143695f56813ea135-61796914%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'ad768a1be9de675c6e9c1ffd0e25a7a6bff074a4' =>
array (
0 => '/var/www/html/ventas/templates/boxes/status_open.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '525297143695f56813ea135-61796914',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="centeredDiv" class="" style="margin:auto; position:fixed; top:50%; left:50%; margin-top:-150px;margin-left:-275px;z-index:3000; display:none">
<div style="width:548px; border:solid; border-color:#999;border-width:1px; background-color:#ccc; padding-left:5px; padding-top:5px; padding-bottom:5px">
<div style="width:500px; border:solid; border-color:#999;border-width:1px; background-color:#FFF; padding:20px">
<div id="close_icon" style="position:absolute;top: 40px; left: 500px; z-index:5000; cursor:pointer" onclick="ToogleStatusDiv()"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/close_icon.gif" /></div>

View File

@@ -0,0 +1,261 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/forms/agregar-promocion.tpl" */ ?>
<?php /*%%SmartyHeaderCode:627017435695f5b2110f218-16985442%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'aee7a1d9acd27ba47b5a837297f13b9893f9d290' =>
array (
0 => '/var/www/html/ventas/templates/forms/agregar-promocion.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '627017435695f5b2110f218-16985442',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="divForm">
<form name="frmPromocion" id="frmPromocion" method="post" action="">
<input type="hidden" name="type" id="type" value="savePromocion" />
<fieldset>
<div class="a">
<div class="l">* Nombre:</div>
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left">
* Vigencia
<br />
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumVigenciaPromo.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);?>
</td>
<td align="left">
<div id="txtFechaIni" style="display:none">
* Fecha Inicial:
<br />
<input type="text" class="largeInput" style="width:100px" name="fechaIni" id="fechaIni" maxlength="10" />
<a href="javascript:void(0)" onclick="NewCal('fechaIni','ddmmyyyy')">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/calendar.gif" border="0" />
</a>
</div>
</td>
<td align="left">
<div id="txtFechaFin" style="display:none">
* Fecha Final:
<br />
<input type="text" class="largeInput" style="width:100px" name="fechaFin" id="fechaFin" maxlength="10" />
<a href="javascript:void(0)" onclick="NewCal('fechaFin','ddmmyyyy')">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/calendar.gif" border="0" />
</a>
</div>
</td>
</tr>
<tr>
<td align="left" colspan="3">
* Aplicar Promoci&oacute;n a TODOS los productos?
<br />
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumPromoAplicar.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);?>
</td>
</tr>
</table>
<div class="a">
<div style="float:left">* Sucursal:</div>
<div style="float:right; padding-right:20px">
<input type="checkbox" name="checkSuc" id="checkSuc" value="1" onclick="CheckAllSuc()" />Marcar Todos
</div>
<div class="r listChks" style="clear:both">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumSucPromo.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>
</div>
<div id="listProducts" style="display:none">
<div class="a">
<div style="float:left">* Departamento:</div>
<div style="float:right; padding-right:20px">
<input type="checkbox" name="checkDepto" id="checkDepto" value="1" onclick="CheckAllDepto()" />Marcar Todos
</div>
<div class="r listChks" style="clear:both">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdCatPromo.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>
</div>
<div class="a">
<div style="float:left">* L&iacute;nea:</div>
<div style="float:right; padding-right:20px">
<input type="checkbox" name="checkLinea" id="checkLinea" value="1" onclick="CheckAllLinea()" />Marcar Todos
</div>
<div class="r listChks" id="enumSubcats" style="clear:both">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdSubcatPromo.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>
<div align="right">
<input type="button" value="Actualizar L&iacute;neas" style="padding:6px; margin-right:15px" onclick="LoadSubcats()" />
</div>
<div style="clear:both"></div>
<br />
</div>
<div class="a">
<div style="float:left">* Proveedor:</div>
<div style="float:right; padding-right:20px">
<input type="checkbox" name="checkProv" id="checkProv" value="1" onclick="CheckAllProv()" />Marcar Todos
</div>
<div class="r listChks" style="clear:both">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProvPromo.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>
</div>
<div class="a">
<div style="float:left">* Producto:</div>
<div style="float:right; padding-right:20px">
<input type="checkbox" name="checkProd" id="checkProd" value="1" onclick="CheckAllProd()" />Marcar Todos
</div>
<div class="r listChks" id="enumProds" style="clear:both">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdPromo.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>
</div>
<div id="cantProds" style="float:left"></div>
<div align="right">
<input type="button" value="Actualizar Productos" style="padding:6px; margin-right:15px" onclick="LoadProductos()" />
</div>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left">* Tipo de Promoci&oacute;n:</td>
<td align="left" colspan="2">* Aplica en:</td>
</tr>
<tr>
<td align="left" width="230">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumTiposPromo.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);?>
</td>
<td align="left" colspan="2">
<div id="enumAplica">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumAplicarPromo.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>
</tr>
<tr id="rowXY" style="display:none">
<td align="left"></td>
<td align="left">
* Valor de X: <br />
<input type="text" class="largeInput" name="valorX" id="valorX" />
</td>
<td align="left">
* Valor Y: <br />
<input type="text" class="largeInput" name="valorY" id="valorY" />
</td>
</tr>
<tr id="rowTipoDesc" style="display:none">
<td align="left">
* Tipo de Descuento: <br />
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumDesctosPromo.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);?>
</td>
<td align="left">
* Valor del Descuento: <br />
<input type="text" class="largeInput" name="valorDesc" id="valorDesc" />
</td>
<td align="left">
<div id="txtTotalCompra" style="display:none">
* Total de la Compra: <br />
<input type="text" class="largeInput" name="totalCompra" id="totalCompra" />
</div>
<div id="txtValorN" style="display:none">
* Valor N: <br />
<input type="text" class="largeInput" name="valorN" id="valorN" />
</div>
</td>
</tr>
<tr id="rowTotalVentaB" style="display:none">
<td align="left">
* Total de la Compra: <br />
<input type="text" class="largeInput" name="totalCompra2" id="totalCompra2" />
</td>
<td align="left">
* Cant. de Art. a Regalar: <br />
<div id="inputValorDesc">
<input type="text" class="largeInput" name="cantArtRegalo" id="cantArtRegalo" />
</div>
</td>
<td align="left"></td>
</tr>
<tr id="rowTotalVentaM" style="display:none">
<td align="left">
* Total de la Compra: <br />
<input type="text" class="largeInput" name="totalCompraM" id="totalCompraM" />
</td>
<td align="left">
* Porcentaje Abonar: <br />
<input type="text" class="largeInput" name="porcentajeM" id="porcentajeM" />
</td>
<td align="left"></td>
</tr>
<tr id="rowProdVentaB" style="display:none">
<td align="left" colspan="3">
* C&oacute;digo Producto a Regalar: <br />
<input type="text" class="largeInput" name="codigoProd" id="codigoProd" onblur="LoadInfoProd()" />
<div id="infoProd"></div>
<input type="hidden" name="prodId" id="prodId" />
</td>
</tr>
<tr>
<td align="left">
* Status: <br />
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumStatusPromo.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);?>
</td>
<td align="left">
Aplica en Productos Rebajados
<br />
<input type="checkbox" name="rebajado" id="rebajado" value="1" />
</td>
<td align="left"></td>
</tr>
</table>
<div style="clear:both"></div>
<hr />
* Campos requeridos
<div align="center" id="loader" style="display:none">
Este proceso puede tardar unos minutos.
<br />Por favor, espere.
<br /><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/loading.gif" />
</div>
<div class="formLine" style="text-align:center; padding-left:310px">
<a class="button" id="btnSave"><span>Agregar</span></a>
</div>
</fieldset>
</form>
</div>

View File

@@ -1,61 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:47:02
compiled from "/var/www/html/ventas/templates/usuarios.tpl" */ ?>
<?php /*%%SmartyHeaderCode:35949143695f52e6992ba7-70840144%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'af4a33906a984a2eddc18baccfb8f084f52707ed' =>
array (
0 => '/var/www/html/ventas/templates/usuarios.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '35949143695f52e6992ba7-70840144',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="catalogos">Usuarios</h1>
</div>
<div class="grid_6" id="eventbox" style="display:none">
<a href="#" class="inline_tip"></a>
</div>
<div class="clear"></div>
<div align="center" class="btnAddGral">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/usuarios-agregar" class="inline_add">Agregar Usuario</a>
</div>
<?php $_template = new Smarty_Internal_Template("forms/search-usuarios.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);?>
<?php if ($_smarty_tpl->getVariable('msg')->value!=''){?>
<div align="center" style="color:#009900; font-size:14px; padding-top:15px">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/ok2.png" /><br /><b>
<?php if ($_smarty_tpl->getVariable('msg')->value=="Saved"){?>
El usuario fue agregado correctamente.
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="Updated"){?>
El usuario fue actualizado correctamente
<?php }?>
</b></div>
<?php }?>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/usuarios.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>
<div class="clear"></div>
</div>

View File

@@ -1,37 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:30
compiled from "/var/www/html/ventas/templates/items/materiales-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1800856736695f54e2c72704-18380872%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'be2234a2c6446a0f704a7c9637cd1271d8688aad' =>
array (
0 => '/var/www/html/ventas/templates/items/materiales-header.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1800856736695f54e2c72704-18380872',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"></div>
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div align="center" class="btnAddGral">
<a href="javascript:void(0)" class="inline_add" id="addMaterial">Agregar Material</a>
</div>
<div class="portlet-content nopadding">
<form action="" method="post">
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
<thead>
<tr>
<th width="100" scope="col"><div align="center">ID</div></th>
<th width="" scope="col">Nombre</th>
<th width="100" scope="col"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>

View File

@@ -1,53 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:02:25
compiled from "/var/www/html/ventas/templates/boxes/status.tpl" */ ?>
<?php /*%%SmartyHeaderCode:611573571695f56813d1b02-56614081%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'bf7c94c20eb4bdc3670e142704b0c73ab5805066' =>
array (
0 => '/var/www/html/ventas/templates/boxes/status.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '611573571695f56813d1b02-56614081',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/boxes/status_open.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);?>
<?php if (!empty($_smarty_tpl->getVariable('errors')->value)){?>
<h3>
<?php if ($_smarty_tpl->getVariable('errors')->value['complete']){?>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/ok.gif" style="cursor:pointer" onclick="ToogleStatusDiv()"/>
<?php }else{ ?>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/error.gif" style="cursor:pointer" onclick="ToogleStatusDiv()"/>
<?php }?>
</h3>
<div style="position:relative;top:-40px;left:50px; font-size:16px;">
<?php $_smarty_tpl->tpl_vars["error"] = new Smarty_Variable;
$_smarty_tpl->tpl_vars["key"] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('errors')->value['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars["error"]->key => $_smarty_tpl->tpl_vars["error"]->value){
$_smarty_tpl->tpl_vars["key"]->value = $_smarty_tpl->tpl_vars["error"]->key;
?>
<?php echo $_smarty_tpl->getVariable('error')->value;?>
<?php if ($_smarty_tpl->getVariable('errors')->value['field'][$_smarty_tpl->getVariable('key')->value]){?>
: <?php echo $_smarty_tpl->getVariable('errors')->value['field'][$_smarty_tpl->getVariable('key')->value];?>
<?php }?>
<br />
<?php }} ?>
</div>
<?php }?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/boxes/status_close.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);?>

View File

@@ -1,23 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/links/link.tpl" */ ?>
<?php /*%%SmartyHeaderCode:934607445695f506f7053c7-43695091%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c2dc18f912877f7e3601ec03525598df789a0244' =>
array (
0 => '/var/www/html/ventas/templates/links/link.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '934607445695f506f7053c7-43695091',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<a href="<?php if (!preg_match("/^http/",$_smarty_tpl->getVariable('link')->value)){?><?php echo $_smarty_tpl->getVariable('url')->value;?>
/<?php }?><?php echo $_smarty_tpl->getVariable('link')->value;?>
"<?php if ($_smarty_tpl->getVariable('target')->value){?> target="<?php echo $_smarty_tpl->getVariable('target')->value;?>
"<?php }?>><?php echo $_smarty_tpl->getVariable('name')->value;?>
</a>

View File

@@ -1,483 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/menus/submenu.tpl" */ ?>
<?php /*%%SmartyHeaderCode:784806051695f506f490645-04448258%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'cb6bdedc4a2adbd093d3a7d2e99a4cb9b773c401' =>
array (
0 => '/var/www/html/ventas/templates/menus/submenu.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '784806051695f506f490645-04448258',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_smarty_tpl->getVariable('page')->value=="homepage"){?>
<ul>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
" <?php if ($_smarty_tpl->getVariable('page')->value=="homepage"){?> class="current"<?php }?>>
<span>Principal</span>
</a>
</li>
</ul>
<?php }?>
<?php if (($_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados")&&$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<ul>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/usuarios" <?php if ($_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"){?>class="current"<?php }?>>
<span>Usuarios</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/productos-duplicados" <?php if ($_smarty_tpl->getVariable('page')->value=="productos-duplicados"){?>class="current"<?php }?>>
<span>Productos Duplicados</span>
</a>
</li>
</ul>
<?php }elseif($_smarty_tpl->getVariable('page')->value=="datos-generales"||$_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"||$_smarty_tpl->getVariable('page')->value=="metodos-pago"||$_smarty_tpl->getVariable('page')->value=="clientes"||$_smarty_tpl->getVariable('page')->value=="proveedores"||$_smarty_tpl->getVariable('page')->value=="temporadas"||$_smarty_tpl->getVariable('page')->value=="tallas"||$_smarty_tpl->getVariable('page')->value=="colores"||$_smarty_tpl->getVariable('page')->value=="materiales"||$_smarty_tpl->getVariable('page')->value=="motivos"||$_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="promociones"||$_smarty_tpl->getVariable('page')->value=="monederos"||$_smarty_tpl->getVariable('page')->value=="cuentas-bancarias"||$_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"||$_smarty_tpl->getVariable('page')->value=="comisiones"){?>
<ul>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/usuarios" <?php if ($_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"){?>class="current"<?php }?>>
<span>Usuarios</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/metodos-pago" <?php if ($_smarty_tpl->getVariable('page')->value=="metodos-pago"){?>class="current"<?php }?>>
<span>M&eacute;todos de Pago</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/clientes" <?php if ($_smarty_tpl->getVariable('page')->value=="clientes"){?>class="current"<?php }?>>
<span>Clientes</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/proveedores" <?php if ($_smarty_tpl->getVariable('page')->value=="proveedores"){?>class="current"<?php }?>>
<span>Proveedores</span>
</a>
</li>
<?php }?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/productos" <?php if ($_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"){?>class="current"<?php }?>>
<span>Productos</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/temporadas" <?php if ($_smarty_tpl->getVariable('page')->value=="temporadas"){?>class="current"<?php }?>>
<span>Temporadas</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/materiales" <?php if ($_smarty_tpl->getVariable('page')->value=="materiales"){?>class="current"<?php }?>>
<span>Materiales</span>
</a>
</li>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/cuentas-bancarias" <?php if ($_smarty_tpl->getVariable('page')->value=="cuentas-bancarias"){?>class="current"<?php }?>>
<span>Cuentas Bancarias</span>
</a>
</li>
<?php }?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/atributos" <?php if ($_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="atributos-valores"){?> class="current"<?php }?>>
<span>Atributos</span>
</a>
</li>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/datos-generales" <?php if ($_smarty_tpl->getVariable('page')->value=="datos-generales"){?> class="current"<?php }?>>
<span>Mi Empresa</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/productos-duplicados" <?php if ($_smarty_tpl->getVariable('page')->value=="productos-duplicados"){?> class="current"<?php }?>>
<span>Productos Duplicados</span>
</a>
</li>
<?php }?>
</ul>
<?php }?>
<?php if ($_smarty_tpl->getVariable('page')->value=="pedidos"||$_smarty_tpl->getVariable('page')->value=="pedidos-agregar"||$_smarty_tpl->getVariable('page')->value=="pedidos-editar"||$_smarty_tpl->getVariable('page')->value=="pedidos-distribucion"||$_smarty_tpl->getVariable('page')->value=="pedidos-revivir"||$_smarty_tpl->getVariable('page')->value=="cuentas-pagar"||$_smarty_tpl->getVariable('page')->value=="cuentas-pagar-saldos"||$_smarty_tpl->getVariable('page')->value=="evaluar-pedidos"||$_smarty_tpl->getVariable('page')->value=="conciliaciones"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-detalles"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-pendientes"||$_smarty_tpl->getVariable('page')->value=="bonificaciones"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-agregar"||$_smarty_tpl->getVariable('page')->value=="pedidos-detalles"){?>
<ul>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/pedidos" <?php if ($_smarty_tpl->getVariable('page')->value=="pedidos"){?> class="current"<?php }?>>
<span>Pedidos</span>
</a>
</li>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/cuentas-pagar" <?php if ($_smarty_tpl->getVariable('page')->value=="cuentas-pagar"){?> class="current"<?php }?>>
<span>Cuentas por Pagar</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/bonificaciones" <?php if ($_smarty_tpl->getVariable('page')->value=="bonificaciones"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-agregar"){?> class="current"<?php }?>>
<span>Bonificaciones/Devoluciones</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="direccion"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/bonificaciones" <?php if ($_smarty_tpl->getVariable('page')->value=="bonificaciones"||$_smarty_tpl->getVariable('page')->value=="bonificaciones-agregar"){?> class="current"<?php }?>>
<span>Bonificaciones/Devoluciones</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/devoluciones-cedis" <?php if ($_smarty_tpl->getVariable('page')->value=="devoluciones-cedis"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="devoluciones-cedis-detalles"){?> class="current"<?php }?>>
<span>Devoluciones a CEDIS</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="direccion"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/cuentas-pagar" <?php if ($_smarty_tpl->getVariable('page')->value=="cuentas-pagar"){?> class="current"<?php }?>>
<span>Cuentas por Pagar</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/cuentas-pagar-saldos" <?php if ($_smarty_tpl->getVariable('page')->value=="cuentas-pagar-saldos"){?> class="current"<?php }?>>
<span>Cuentas por Pagar Saldos</span>
</a>
</li>
<?php }?>
</ul>
<?php }?>
<?php if ($_smarty_tpl->getVariable('page')->value=="envios"||$_smarty_tpl->getVariable('page')->value=="envios-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-recibir"||$_smarty_tpl->getVariable('page')->value=="envios-recibir-reporte"||$_smarty_tpl->getVariable('page')->value=="envios-reporte"||$_smarty_tpl->getVariable('page')->value=="envios-tienda"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-traspasos"||$_smarty_tpl->getVariable('page')->value=="envios-transito"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-cedis"){?>
<ul>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/envios" <?php if ($_smarty_tpl->getVariable('page')->value=="envios"||$_smarty_tpl->getVariable('page')->value=="envios-cedis-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-detalles"||$_smarty_tpl->getVariable('page')->value=="envios-recibir"){?>class="current"<?php }?>>
<span>CEDIS - Tienda</span>
</a>
</li>
<?php }?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/envios-tienda" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-tienda"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-agregar"||$_smarty_tpl->getVariable('page')->value=="envios-tienda-detalles"){?> class="current"<?php }?>>
<span>Tienda - Tienda</span>
</a>
</li>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="almacen"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/envios-tienda-cedis" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-tienda-cedis"){?> class="current"<?php }?>>
<span>Tienda - CEDIS</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/envios-reporte" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-reporte"){?> class="current"<?php }?>>
<span>Reporte de Env&iacute;os</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/envios-traspasos" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-traspasos"){?> class="current"<?php }?>>
<span>Relaci&oacute;n de Traspasos</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/envios-recibir-reporte" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-recibir-reporte"){?> class="current"<?php }?>>
<span>Rep. Merc. Faltante y Sobrante</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/envios-transito" <?php if ($_smarty_tpl->getVariable('page')->value=="envios-transito"){?> class="current"<?php }?>>
<span>Productos en Tr&aacute;nsito</span>
</a>
</li>
<?php }?>
</ul>
<?php }?>
<?php if ($_smarty_tpl->getVariable('page')->value=="reportes-ventas"||$_smarty_tpl->getVariable('page')->value=="reportes-compras"||$_smarty_tpl->getVariable('page')->value=="reportes-cuentaspagar"||$_smarty_tpl->getVariable('page')->value=="reportes-cuentascobrar"||$_smarty_tpl->getVariable('page')->value=="reportes-inventario"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial-detalles"||$_smarty_tpl->getVariable('page')->value=="analisis-venta"||$_smarty_tpl->getVariable('page')->value=="reportes-devcedis"||$_smarty_tpl->getVariable('page')->value=="reportes-tickets"||$_smarty_tpl->getVariable('page')->value=="reportes-faltantes"){?>
<ul>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/reportes-ventas" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-ventas"){?>class="current"<?php }?>>
<span>Ventas</span>
</a>
</li>
</ul>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"||$_smarty_tpl->getVariable('Usr')->value['type']=="direccion"||$_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"){?>
<ul>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/reportes-tickets" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-tickets"){?>class="current"<?php }?>>
<span>Tickets</span>
</a>
</li>
</ul>
<ul>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/reportes-inventario" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-inventario"){?>class="current"<?php }?>>
<span>Inventario</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/reportes-faltantes" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-faltantes"){?>class="current"<?php }?>>
<span>Faltantes</span>
</a>
</li>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/reportes-invparcial" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-invparcial"||$_smarty_tpl->getVariable('page')->value=="reportes-invparcial-detalles"){?>class="current"<?php }?>>
<span>Inventario Total/Parcial</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/reportes-devcedis" <?php if ($_smarty_tpl->getVariable('page')->value=="reportes-devcedis"){?>class="current"<?php }?>>
<span>Devoluciones a CEDIS</span>
</a>
</li>
<?php }?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/analisis-venta" <?php if ($_smarty_tpl->getVariable('page')->value=="analisis-venta"){?>class="current"<?php }?>>
<span>An&aacute;lisis de Venta</span>
</a>
</li>
</ul>
<?php }?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('page')->value=="inventario"||$_smarty_tpl->getVariable('page')->value=="inventario-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list2"||$_smarty_tpl->getVariable('page')->value=="inventario-liberar"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar-list"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-detalles-bloqueados"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"){?>
<ul>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-wizard-list" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods"){?> class="current"<?php }?>>
<span>Ajustar Inv. con Excel.</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-wizard-list2" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods2"){?> class="current"<?php }?>>
<span>Ajustar Inv. PARCIAL con Excel</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-bloqueados" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"){?> class="current"<?php }?>>
<span>Productos Bloqueados</span>
</a>
</li>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario"){?>class="current"<?php }?>>
<span>Productos</span>
</a>
</li>
<?php }?>
<?php }elseif($_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-fisico" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"){?>class="current"<?php }?>>
<span>Inventario F&iacute;sico</span>
</a>
</li>
<?php }elseif($_smarty_tpl->getVariable('Usr')->value['type']=="compras"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-solicitar" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"){?> class="current"<?php }?>>
<span>Solicitar Productos</span>
</a>
</li>
<?php }else{ ?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario"){?>class="current"<?php }?>>
<span>Productos</span>
</a>
</li>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="centralizador"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-bloqueados" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"){?> class="current"<?php }?>>
<span>Productos Bloqueados</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-wizard-list" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods"){?> class="current"<?php }?>>
<span>Ajustar Inv. con Excel.</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-wizard-list2" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-wizard2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizard-list2"||$_smarty_tpl->getVariable('page')->value=="inventario-wizprods2"){?> class="current"<?php }?>>
<span>Ajustar Inv. PARCIAL con Excel</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-liberar" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-liberar"){?> class="current"<?php }?>>
<span>Liberar Productos</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-solicitar" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-solicitar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-solicitar-detalles"){?> class="current"<?php }?>>
<span>Solicitar Productos</span>
</a>
</li>
<?php }?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="admin"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-ajustar-list" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-ajustar"||$_smarty_tpl->getVariable('page')->value=="inventario-ajustar-list"){?> class="current"<?php }?>>
<span>Ajustar Inv. por Prod.</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-fisico" <?php if ($_smarty_tpl->getVariable('page')->value=="inventario-fisico"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-agregar"||$_smarty_tpl->getVariable('page')->value=="inventario-fisico-detalles"){?>class="current"<?php }?>>
<span>Inventario F&iacute;sico</span>
</a>
</li>
<?php }?>
</ul>
<?php }?>
<?php if ($_smarty_tpl->getVariable('page')->value=="ventas"||$_smarty_tpl->getVariable('page')->value=="ventas-nueva"||$_smarty_tpl->getVariable('page')->value=="ventas-espera"||$_smarty_tpl->getVariable('page')->value=="devoluciones"||$_smarty_tpl->getVariable('page')->value=="descuentos"||$_smarty_tpl->getVariable('page')->value=="ventas-bloqueados"){?>
<ul>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/ventas" <?php if ($_smarty_tpl->getVariable('page')->value=="ventas"){?>class="current"<?php }?>>
<span>Listado</span>
</a>
</li>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="centralizador"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/devoluciones" <?php if ($_smarty_tpl->getVariable('page')->value=="devoluciones"){?>class="current"<?php }?>>
<span>Devoluciones</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="facturacion"&&$_smarty_tpl->getVariable('Usr')->value['type']!="centralizador"&&$_smarty_tpl->getVariable('Usr')->value['type']!="admin"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/devoluciones" <?php if ($_smarty_tpl->getVariable('page')->value=="devoluciones"){?>class="current"<?php }?>>
<span>Devoluciones</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/descuentos" <?php if ($_smarty_tpl->getVariable('page')->value=="descuentos"){?>class="current"<?php }?>>
<span>Descuentos</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/ventas-espera" <?php if ($_smarty_tpl->getVariable('page')->value=="ventas-espera"){?>class="current"<?php }?>>
<span>En Espera</span>
</a>
</li>
<?php }?>
</ul>
<?php }?>
<?php if ($_smarty_tpl->getVariable('page')->value=="facturacion"||$_smarty_tpl->getVariable('page')->value=="facturacion-mensual"||$_smarty_tpl->getVariable('page')->value=="facturacion-folios"||$_smarty_tpl->getVariable('page')->value=="facturacion-certificado"||$_smarty_tpl->getVariable('page')->value=="facturacion-nueva"){?>
<ul>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/facturacion" <?php if ($_smarty_tpl->getVariable('page')->value=="facturacion"){?>class="current"<?php }?>>
<span>Listado</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/facturacion-mensual" <?php if ($_smarty_tpl->getVariable('page')->value=="facturacion-mensual"){?>class="current"<?php }?>>
<span>Facturaci&oacute;n Mensual</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"){?>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/facturacion-folios" <?php if ($_smarty_tpl->getVariable('page')->value=="facturacion-folios"){?>class="current"<?php }?>>
<span>Folios</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/facturacion-certificado" <?php if ($_smarty_tpl->getVariable('page')->value=="facturacion-certificado"){?>class="current"<?php }?>>
<span>Actualizar Certificado</span>
</a>
</li>
<?php }?>
</ul>
<?php }?>

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:28
compiled from "/var/www/html/ventas/templates/lists/datos-generales.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2020743516695f54e0ce5e79-34809827%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd032cf6ebde534c8af270afbf0281c13d9aedf68' =>
array (
0 => '/var/www/html/ventas/templates/lists/datos-generales.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '2020743516695f54e0ce5e79-34809827',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/datos-generales-header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php if (count($_smarty_tpl->getVariable('empresaRfcs')->value)){?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('empresaRfcs')->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;
?>
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/datos-generales-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"Off"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }else{ ?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/datos-generales-base.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('clase',"On"); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php }?>
<?php }} ?>
<?php }else{ ?>
<tr><td colspan="5" align="center">Ning&uacute;n registro encontrado.</td>
<?php }?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pages_new.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('pages',$_smarty_tpl->getVariable('pages')->value);$_template->assign('colspan',5); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -0,0 +1,23 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumStatusPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1358617063695f5b211dd6c6-49616857%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd4b3bd98729ce3ea75307f952f3f099514305b95' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumStatusPromo.tpl',
1 => 1767856734,
),
),
'nocache_hash' => '1358617063695f5b211dd6c6-49616857',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="status" id="status" class="largeInput">
<option value="">Seleccione</option>
<option value="Activo" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['status']=="Activo"){?>selected<?php }?>>Activo</option>
<option value="Inactivo" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['status']=="Inactivo"){?>selected<?php }?>>Inactivo</option>
</select>

View File

@@ -1,24 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:58:52
compiled from "/var/www/html/ventas/templates/boxes/status_open_on_popup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1935859150695f55ac1249a4-40278163%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd939743387655168c4a21515df8f37eed8d2da74' =>
array (
0 => '/var/www/html/ventas/templates/boxes/status_open_on_popup.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1935859150695f55ac1249a4-40278163',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="centeredDivOnPopup" class="" style="margin:auto; position:fixed; top:50%; left:50%; margin-top:-150px;margin-left:-275px;z-index:3000; display:none">
<div style="width:548px; border:solid; border-color:#999;border-width:1px; background-color:#ccc; padding-left:5px; padding-top:5px; padding-bottom:5px">
<div style="width:500px; border:solid; border-color:#999;border-width:1px; background-color:#FFF; padding:20px">
<div id="close_icon" onclick="ToogleStatusDivOnPopup()" style="position:absolute;top: 35px; left: 500px;cursor:pointer; z-index:5000"><a href="javascript:void(0)"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/close_icon.gif" height="32" width="32" border="0"/></a></div>

View File

@@ -1,40 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:30
compiled from "/var/www/html/ventas/templates/materiales.tpl" */ ?>
<?php /*%%SmartyHeaderCode:34916937695f54e2c579b8-34680427%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'dd4c2bb8fc6b2dab51619832cc6fbc2e0df860d6' =>
array (
0 => '/var/www/html/ventas/templates/materiales.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '34916937695f54e2c579b8-34680427',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="catalogos">Materiales</h1>
</div>
<div class="grid_6" id="eventbox" style="display:none">
<a href="#" class="inline_tip"></a>
</div>
<div class="clear"></div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/materiales.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>
<div class="clear"></div>
</div>

View File

@@ -1,49 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:47:02
compiled from "/var/www/html/ventas/templates/items/usuarios-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1039506994695f52e69e2162-16377165%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'e85f9d694d4f200f132b4040dda6b61222954514' =>
array (
0 => '/var/www/html/ventas/templates/items/usuarios-base.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1039506994695f52e69e2162-16377165',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_default')) include '/var/www/html/ventas/libs/plugins/modifier.default.php';
?> <tr>
<td><?php echo $_smarty_tpl->getVariable('usuario')->value['nombre'];?>
<?php echo $_smarty_tpl->getVariable('usuario')->value['apellidos'];?>
</td>
<td><div align="center"><?php echo $_smarty_tpl->getVariable('usuario')->value['email'];?>
</div></td>
<td><div align="center"><?php echo $_smarty_tpl->getVariable('usuario')->value['type'];?>
</div></td>
<td><div align="center"><?php echo smarty_modifier_default($_smarty_tpl->getVariable('usuario')->value['sucursal'],'');?>
</div></td>
<td>
<div align="center">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/usuarios-detalles/id/<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/details.png" title="Ver Detalles" border="0"/>
</a>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/usuarios-editar/id/<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/edit.gif" title="Editar" border="0"/>
</a>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
" title="Eliminar"/>
</div>
</td>
</tr>

View File

@@ -1,41 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:28
compiled from "/var/www/html/ventas/templates/items/datos-generales-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:642112385695f54e0cfd407-46881398%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f4579f12419c8e4e1963f6bb4c94cb51f47c8232' =>
array (
0 => '/var/www/html/ventas/templates/items/datos-generales-base.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '642112385695f54e0cfd407-46881398',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<tr>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['rfc'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['razonSocial'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['calle'];?>
<?php echo $_smarty_tpl->getVariable('item')->value['noExt'];?>
<?php echo $_smarty_tpl->getVariable('item')->value['noInt'];?>
</td>
<td align="center">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/details.png" class="spanSucursales" id="<?php echo $_smarty_tpl->getVariable('item')->value['rfcId'];?>
" title="Ver Sucursales"/>
</td>
<td align="center">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/details.png" class="spanView" id="<?php echo $_smarty_tpl->getVariable('item')->value['rfcId'];?>
" title="Ver Detalles" />
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/edit.gif" class="spanEdit" id="<?php echo $_smarty_tpl->getVariable('item')->value['rfcId'];?>
" title="Editar"/>
</td>
</tr>

View File

@@ -1,41 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:58:00
compiled from "/var/www/html/ventas/templates/forms/editar-atributo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1310858216695f557877a141-54835104%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f46e13b6234a176675d8ccbc470d93ae758aec64' =>
array (
0 => '/var/www/html/ventas/templates/forms/editar-atributo.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1310858216695f557877a141-54835104',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="divForm">
<form name="frmEditarAtributo" id="frmEditarAtributo" method="post" action="">
<input type="hidden" name="type" value="saveEditAtributo" />
<input type="hidden" name="atributoId" value="<?php echo $_smarty_tpl->getVariable('info')->value['atributoId'];?>
" />
<fieldset>
<div class="a">
<div class="l">* Nombre:</div>
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('info')->value['nombre'];?>
"></div>
</div>
<div style="clear:both"></div>
<hr />
* Campos requeridos
<div class="formLine" style="text-align:center; padding-left:300px">
<a class="button" id="btnUpdate"><span>Actualizar</span></a>
</div>
</fieldset>
</form>
</div>

View File

@@ -1,39 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:02:56
compiled from "/var/www/html/ventas/templates/items/sucursales-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:813334746695f56a03b4f44-08449120%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f5fb1dff11e1325036c56d7d5543bee3a70c6bcd' =>
array (
0 => '/var/www/html/ventas/templates/items/sucursales-base.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '813334746695f56a03b4f44-08449120',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<tr>
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['rfc'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['nombre'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['iva'];?>
%</td>
<td align="center">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/details.png" class="spanViewSucursal" id="<?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
" title="Ver Detalles" />
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/edit.gif" class="spanEditSucursal" id="<?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
" title="Editar"/>
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.gif" class="spanDeleteSucursal" id="<?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
" title="Eliminar"/>
</td>
</tr>