feat(atributos): Mejora la funcionalidad de la página de atributos

- Deshabilita la paginación para mostrar todos los atributos por defecto.
- Corrige un error de renderizado en 'atributos-valores.tpl' añadiendo etiquetas de cierre faltantes.
- Cambia el orden de los atributos a 'atributoId' en 'atributo.class.php'.
- Corrige un bug en 'atributoValor.class.php' descomentando una condición.
- Asegura que las acciones AJAX (añadir, editar, eliminar) refresquen la lista correctamente sin paginación.
This commit is contained in:
2026-01-08 01:06:11 -06:00
parent e8b1afdb71
commit ccfa01fa0e
93 changed files with 8099 additions and 6129 deletions

View File

@@ -0,0 +1,35 @@
<?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

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 19:40:02
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:47:00
compiled from "/var/www/html/ventas/templates/homepage.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1758718437695f0af2aaa008-66029323%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?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 => 1767753171,
1 => 1767836456,
),
),
'nocache_hash' => '1758718437695f0af2aaa008-66029323',
'nocache_hash' => '1787961508695f52e4173a45-89493080',
'function' =>
array (
),

View File

@@ -0,0 +1,53 @@
<?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

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 19:40:02
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/footer.tpl" */ ?>
<?php /*%%SmartyHeaderCode:173783842695f0af2aaf5e1-33227767%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?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 => 1767753171,
1 => 1767836456,
),
),
'nocache_hash' => '173783842695f0af2aaf5e1-33227767',
'nocache_hash' => '2058776476695f506f70e334-88781058',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 19:40:02
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1035950263695f0af2762d06-08824217%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?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 => 1767766976,
1 => 1767836456,
),
),
'nocache_hash' => '1035950263695f0af2762d06-08824217',
'nocache_hash' => '683344557695f506f39ce51-64905533',
'function' =>
array (
),

View File

@@ -0,0 +1,22 @@
<?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

@@ -0,0 +1,47 @@
<?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,35 @@
<?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,41 @@
<?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

@@ -0,0 +1,48 @@
<?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,57 @@
<?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

@@ -0,0 +1,51 @@
<?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

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 19:40:02
<?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:1692342284695f0af27b4960-06361793%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?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 => 1767753171,
1 => 1767836456,
),
),
'nocache_hash' => '1692342284695f0af27b4960-06361793',
'nocache_hash' => '1240459790695f506f3c25c5-29327061',
'function' =>
array (
),

View File

@@ -0,0 +1,34 @@
<?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

@@ -0,0 +1,32 @@
<?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

@@ -0,0 +1,57 @@
<?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

@@ -0,0 +1,97 @@
<?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,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 19:39:55
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17135074695f0aeb79e1d7-88205132%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?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 => 1767760605,
1 => 1767836456,
),
),
'nocache_hash' => '17135074695f0aeb79e1d7-88205132',
'nocache_hash' => '1417910094695f506f3548b8-98753936',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 19:39:55
<?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:749619137695f0aeb81db91-91560202%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?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 => 1767753171,
1 => 1767836456,
),
),
'nocache_hash' => '749619137695f0aeb81db91-91560202',
'nocache_hash' => '2064641319695f506f7105a7-35835303',
'function' =>
array (
),

View File

@@ -0,0 +1,41 @@
<?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

@@ -0,0 +1,37 @@
<?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

@@ -0,0 +1,27 @@
<?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,52 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 19:39:55
compiled from "/var/www/html/ventas/templates/login.tpl" */ ?>
<?php /*%%SmartyHeaderCode:842436714695f0aeb8135d3-80013815%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'85ff72ed501dcd7932f79deed60bb8aa1335ecaf' =>
array (
0 => '/var/www/html/ventas/templates/login.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '842436714695f0aeb8135d3-80013815',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="container_16">
<div class="grid_6 prefix_5 suffix_5">
<div align="center" style="float:left; margin-left:20px; margin-top:10px; margin-bottom:5px">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/logo.png" width="300" height="66" />
</div>
<div style="clear:both"></div>
<h1>Iniciar Sesi&oacute;n</h1>
<div id="login">
<p class="error" id="errorLoginDiv"></p>
<form id="loginForm" name="loginForm" method="post" action="">
<p>
<label><strong>Email</strong>
<input type="text" name="email" class="inputText" id="email" value="@novomoda.com.mx" autofocus="autofocus" />
</label>
</p>
<p>
<label><strong>Password</strong>
<input type="password" name="password" class="inputText" id="password" />
</label>
</p>
<a class="black_button" style="width:51px;"><span id="login_0">Entrar&nbsp;</span></a>
<label></label>
</form>
<br clear="all" />
</div>
</div>
</div>

View File

@@ -0,0 +1,32 @@
<?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

@@ -0,0 +1,40 @@
<?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

@@ -0,0 +1,42 @@
<?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

@@ -0,0 +1,48 @@
<?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,47 @@
<?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

@@ -0,0 +1,41 @@
<?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

@@ -0,0 +1,64 @@
<?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

@@ -0,0 +1,44 @@
<?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

@@ -0,0 +1,47 @@
<?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

@@ -0,0 +1,24 @@
<?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,61 @@
<?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

@@ -0,0 +1,37 @@
<?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

@@ -0,0 +1,53 @@
<?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

@@ -0,0 +1,23 @@
<?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,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 19:40:02
<?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:1801594167695f0af28bc905-26172863%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?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 => 1767753171,
1 => 1767836456,
),
),
'nocache_hash' => '1801594167695f0af28bc905-26172863',
'nocache_hash' => '784806051695f506f490645-04448258',
'function' =>
array (
),

View File

@@ -0,0 +1,47 @@
<?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,41 @@
<?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');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd35cc865727ae155a6f28a36eba2662f1b9bcdd8' =>
array (
0 => '/var/www/html/ventas/templates/boxes/agregar-atributo-valor-popup.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1498138456695f554a98d981-73026228',
'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">Agregar Valor</div>
<div id="vtitl"><span title="Titulo">Agregar Valor</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/agregar-atributo-valor.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

@@ -0,0 +1,24 @@
<?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

@@ -0,0 +1,40 @@
<?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

@@ -0,0 +1,49 @@
<?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

@@ -0,0 +1,41 @@
<?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

@@ -0,0 +1,41 @@
<?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

@@ -0,0 +1,39 @@
<?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>