Fix systematic errors in pagination, sucursal warnings, and fatal count() errors across multiple modules

This commit is contained in:
2026-01-07 01:06:27 -06:00
parent aaa77e870e
commit 3a5afa82fe
354 changed files with 9022 additions and 15093 deletions

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:02
compiled from "/var/www/html/templates/items/temporadas-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:753625948540f5c7ecc6cf4-70447111%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:56:01
compiled from "/var/www/html/ventas/templates/items/temporadas-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1813873756695e03811b06b5-22300106%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'34d9b15abb653d2375ef2030210853274f611cc7' =>
'02836b938e76045933edc28df1e1104428e22e4f' =>
array (
0 => '/var/www/html/templates/items/temporadas-header.tpl',
1 => 1410130456,
0 => '/var/www/html/ventas/templates/items/temporadas-header.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '753625948540f5c7ecc6cf4-70447111',
'nocache_hash' => '1813873756695e03811b06b5-22300106',
'function' =>
array (
),

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:28
compiled from "./templates/lists/facturacion-mensual.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1336881245411bfd81cb287-27086654%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'03d6723c5f03d1329526234c7b218ae26c660410' =>
array (
0 => './templates/lists/facturacion-mensual.tpl',
1 => 1410130459,
),
),
'nocache_hash' => '1336881245411bfd81cb287-27086654',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/facturacion-mensual-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('comprobantes')->value['items'])){?>
<?php $_smarty_tpl->tpl_vars['fact'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('comprobantes')->value['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['fact']->key => $_smarty_tpl->tpl_vars['fact']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['fact']->key;
?>
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/facturacion-mensual-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/facturacion-mensual-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="8" 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('comprobantes')->value['pages']);$_template->assign('colspan',8); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:02
compiled from "/var/www/html/templates/items/temporadas-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:310566380540f5c7ecdcc54-55832463%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:56:01
compiled from "/var/www/html/ventas/templates/items/temporadas-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1636550207695e03811bce56-48894415%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'42610c3af667bad9db8f93a4d8ccba3bf817cae6' =>
'043438da948e318e023c5f380e8b20d2ac15f6c6' =>
array (
0 => '/var/www/html/templates/items/temporadas-base.tpl',
1 => 1410130456,
0 => '/var/www/html/ventas/templates/items/temporadas-base.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '310566380540f5c7ecdcc54-55832463',
'nocache_hash' => '1636550207695e03811bce56-48894415',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:17
compiled from "./templates/lists/clientes.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1649246204540ce306e34e25-58257966%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:45:16
compiled from "/var/www/html/ventas/templates/lists/clientes.tpl" */ ?>
<?php /*%%SmartyHeaderCode:163805785695e00fc76e891-07455143%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'38c9bc12dbc87f3e993857824db5430ad7c325be' =>
'067b63dc081bb1fc06234143d2bce2075b4fda6f' =>
array (
0 => './templates/lists/clientes.tpl',
1 => 1410130457,
0 => '/var/www/html/ventas/templates/lists/clientes.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1649246204540ce306e34e25-58257966',
'nocache_hash' => '163805785695e00fc76e891-07455143',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 16:57:53
compiled from "/var/www/html/templates/items/datos-generales-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:62521884654121ae18ff7d6-59499249%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:47:14
compiled from "/var/www/html/ventas/templates/items/datos-generales-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1674832228695e0172398115-91563776%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'7bdce2467f90e1074ce02a7967f6ee8e4c1470a2' =>
'067b9a951f0631648e0635480ebe2ada4ecf6402' =>
array (
0 => '/var/www/html/templates/items/datos-generales-header.tpl',
1 => 1410130453,
0 => '/var/www/html/ventas/templates/items/datos-generales-header.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '62521884654121ae18ff7d6-59499249',
'nocache_hash' => '1674832228695e0172398115-91563776',
'function' =>
array (
),

View File

@@ -1,140 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:42
compiled from "./templates/forms/filtro-reporte-inventario.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1551088126540a16217354e5-32385621%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'06cd491f79c6e7fdb203e3ec24ab2c071c52d0b3' =>
array (
0 => './templates/forms/filtro-reporte-inventario.tpl',
1 => 1410130451,
),
),
'nocache_hash' => '1551088126540a16217354e5-32385621',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include '/var/www/html/libs/plugins/modifier.truncate.php';
?><form name="formInven" id="formInven" method="post" action="export/reporte-inventario.php">
<input type="hidden" name="type" value="rInventario" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
<thead>
<tr>
<th align="center" width="200"><div align="center">Sucursal</div></th>
<th align="center" width="250"><div align="center">Proveedor</div></th>
<th align="center" width="200"><div align="center">Departamento</div></th>
<th align="center" width="200"><div align="center">L&iacute;nea</div></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">
<div style="text-align:center">
<?php if ($_smarty_tpl->getVariable('tipo')->value=="admin"||$_smarty_tpl->getVariable('tipo')->value=="centralizador"||$_smarty_tpl->getVariable('tipo')->value=="compras"||$_smarty_tpl->getVariable('tipo')->value=="direccion"||$_smarty_tpl->getVariable('tipo')->value=="supervisor"){?>
<select name="sucursal" id="sucursal" class="largeInput" style="width:200px">
<option selected="selected" value=""> Todas</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('resSuc')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
"> <?php echo utf8_decode($_smarty_tpl->getVariable('item')->value['nombre']);?>
</option>
<?php }} ?>
</select>
<?php }elseif($_smarty_tpl->getVariable('tipo')->value=="gerente"){?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('resSuc')->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="text" disabled="disabled" style="text-align:center" class="smallInput" value="<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
"/>
<input type="hidden" name="sucursal" id="sucursal" value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
"/>
<?php }} ?>
<?php }?>
</div>
</td>
<td align="center">
<select name="proveedorId" id="proveedorId" class="largeInput" style="width:250px;">
<option value="">Todos</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('proveedores')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],50,"...");?>
</option>
<?php }} ?>
</select>
</td>
<td align="center">
<select name="prodCatId" id="prodCatId" class="largeInput" style="width:200px;" onchange="LoadSubcats()">
<option value="">Todos</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('departamentos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['prodCatId'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],50,"...");?>
</option>
<?php }} ?>
</select>
</td>
<td align="center">
<div id="enumSubcats">
<select name="prodSubcatId" id="prodSubcatId" class="largeInput" style="width:200px;">
<option value="">Todos</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('lineas')->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['prodSubcatId'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],50,"...");?>
</option>
<?php }} ?>
</select>
</div>
</td>
</tr>
<tr>
<td></td>
<td align="center" colspan="2">
<input type="button" name="btnSearch" value="Generar" class="btnSearch" onclick="Rinventario()" />
</td>
<td align="center" colspan="1">
<div style="float:right; padding-right:50px"><a href="#" onclick="ExportInv(); return false;"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/excel.png" title="Exportar Reporte"/></a></div>
</td>
</tr>
<tr>
<td colspan="5">
<div align="center">
<div id="loadBusqueda" style="display:none">
<br />
<img src="http://www.facturase.com/images/loading.gif" width="16" height="16" />
<br />Cargando...
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>

View File

@@ -1,483 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:18
compiled from "/var/www/html/templates/menus/submenu.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2191149145409fd009f6816-85522901%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0a89338c0a1f2be78d247ab30e01d22deaafebde' =>
array (
0 => '/var/www/html/templates/menus/submenu.tpl',
1 => 1410130461,
),
),
'nocache_hash' => '2191149145409fd009f6816-85522901',
'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

@@ -0,0 +1,152 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:45:21
compiled from "/var/www/html/ventas/templates/forms/detalles-cliente.tpl" */ ?>
<?php /*%%SmartyHeaderCode:307564580695e01015ff3c8-06735143%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0b996839b7cc46f515ae7efd2dd111494143b1e6' =>
array (
0 => '/var/www/html/ventas/templates/forms/detalles-cliente.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '307564580695e01015ff3c8-06735143',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="divForm">
<fieldset>
<div class="a">
<div class="l">* RFC y Homoclave:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['rfc'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">* Nombre Completo o Raz&oacute;n Social:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['nombre'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">* Direcci&oacute;n:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['calle'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">* No Exterior:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['noExt'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">No Interior:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['noInt'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">Referencia:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['referencia'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">Colonia:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['colonia'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">* Localidad:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['localidad'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">Municipio o Delegaci&oacute;n:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['municipio'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">C&oacute;digo Postal:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['cp'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">Estado:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['estado'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">* Pais:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['pais'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">Tel&eacute;fono:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['telefono'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">Correo Electr&oacute;nico:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['email'];?>
&nbsp;</div>
</div>
</div>
<div class="a">
<div class="l">Password:</div>
<div class="r">
<div class="txtFrmD"><?php echo $_smarty_tpl->getVariable('post')->value['password'];?>
&nbsp;</div>
</div>
</div>
<div style="clear:both"></div>
<hr />
* Campos requeridos
<div class="formLine" style="text-align:center; padding-left:300px">
<a class="button" id="btnClose"><span>Cerrar</span></a>
</div>
</fieldset>
</div>

View File

@@ -1,116 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:37:26
compiled from "./templates/forms/search-facturas-gral.tpl" */ ?>
<?php /*%%SmartyHeaderCode:706842315540e3db62de355-73033881%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0bb4af7b6a08bf0bd100990686f32ace0626f12c' =>
array (
0 => './templates/forms/search-facturas-gral.tpl',
1 => 1410130452,
),
),
'nocache_hash' => '706842315540e3db62de355-73033881',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"></div>
<div id="portlets">
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div class="portlet-content nopadding">
<form name="frmBusqueda" id="frmBusqueda" method="post" action="">
<input type="hidden" name="type" id="type" value="buscar" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
<thead>
<tr>
<th width="76" scope="col"><div align="center">RFC</div></th>
<th width="" scope="col"><div align="center">Nombre</div></th>
<th width="129" scope="col"><div align="center">Mes</div></th>
<th width="79" scope="col"><div align="center">A&ntilde;o</div></th>
<th width="123" scope="col"><div align="center">Status</div></th>
<th width="90" scope="col"><div align="center">Comprobante</div></th>
<th width="90" scope="col"><div align="center">Sucursal</div></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">
<input type="text" size="12" name="rfc" id="rfc" class="smallInput" maxlength="12" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<input type="text" size="15" name="nombre" id="nombre" class="smallInput" maxlength="30" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<select name="mes" id="mes" class="smallInput">
<option value="0">Todos</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('meses')->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['id'];?>
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>
</td>
<td align="center">
<input type="text" size="4" name="anio" id="anio" maxlength="4" class="smallInput" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<select name="status" id="status" class="smallInput">
<option value="">Todos</option>
<option value="1">Activos</option>
<option value="0">Cancelados</option>
</select>
</td>
<td align="center">
<select name="tiposComprobanteId" id="tiposComprobanteId" class="smallInput">
<option value="0">Todos</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('tiposComprobantes')->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['tiposComprobanteId'];?>
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>
</td>
<td align="center">
<select name="idSucursal" id="idSucursal" class="smallInput">
<option value="">Seleccione</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('sucursales')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>
</td>
</tr>
<tr>
<td colspan="7" align="center" style="border-top:none">
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Buscar()" />
</td>
</tr>
</tbody>
</table>
</form>
</div>
</div>

View File

@@ -1,50 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 14:31:44
compiled from "./templates/facturacion-folios.tpl" */ ?>
<?php /*%%SmartyHeaderCode:579904711542079200f0220-57546068%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0c93cf362c4a95d07bda47ca337c7d91a31a23fd' =>
array (
0 => './templates/facturacion-folios.tpl',
1 => 1410130445,
),
),
'nocache_hash' => '579904711542079200f0220-57546068',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="catalogos">Folios</h1>
</div>
<div class="clear"></div>
<?php if ($_smarty_tpl->getVariable('cmpMsg')->value){?>
<div align="center" style="color:#009900"><?php echo $_smarty_tpl->getVariable('cmpMsg')->value;?>
<br /><br /></div>
<?php }?>
<?php if ($_smarty_tpl->getVariable('errMsg')->value){?>
<div align="center" style="color:#FF0000"><?php echo $_smarty_tpl->getVariable('errMsg')->value;?>
<br /><br /></div>
<?php }?>
<div class="clear"></div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/facturacion-folios.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,52 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:02:40
compiled from "./templates/devoluciones-cedis.tpl" */ ?>
<?php /*%%SmartyHeaderCode:950417109540de13037b976-67028210%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0d07fc31aba016901cb4cb158ef9d8b28eddf4a7' =>
array (
0 => './templates/devoluciones-cedis.tpl',
1 => 1410130445,
),
),
'nocache_hash' => '950417109540de13037b976-67028210',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="compras">Devoluciones a CEDIS</h1>
</div>
<div class="clear"></div>
<div align="center" class="btnAddGral">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/devoluciones-cedis-agregar" class="inline_add">Nueva Devoluci&oacute;n</a>
</div>
<?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"){?>
La devoluci&oacute;n fue agregada correctamente.
<?php }?>
</b></div>
<?php }?>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/devoluciones-cedis.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,51 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:50
compiled from "/var/www/html/templates/lists/analisis-sucursal.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1664699089540a203a3ffeb4-08495157%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0df98406c6b3dfe01787fbec01cc4c2ebd78c449' =>
array (
0 => '/var/www/html/templates/lists/analisis-sucursal.tpl',
1 => 1410130457,
),
),
'nocache_hash' => '1664699089540a203a3ffeb4-08495157',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table width="100%" cellpadding="0" cellspacing="0" id="subTable">
<?php $_smarty_tpl->tpl_vars['iS'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['kS'] = 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['iS']->key => $_smarty_tpl->tpl_vars['iS']->value){
$_smarty_tpl->tpl_vars['kS']->value = $_smarty_tpl->tpl_vars['iS']->key;
?>
<tr>
<td width="40" height="35"></td>
<td align="center" width="40">
<a href="javascript:void(0)" onclick="ShowProveedores(<?php echo $_smarty_tpl->getVariable('kS')->value;?>
)"><div id="iconSuc_<?php echo $_smarty_tpl->getVariable('kS')->value;?>
">[+]</div></a>
</td>
<td align="left"><?php echo $_smarty_tpl->getVariable('iS')->value['nombre'];?>
</td>
</tr>
<tr id="prov_<?php echo $_smarty_tpl->getVariable('kS')->value;?>
" style="display:none">
<td colspan="3" align="left">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/analisis-proveedor.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>
<?php }} else { ?>
<tr>
<td align="center">Ning&uacute;n registro encontrado.</td>
</tr>
<?php } ?>
</table>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2016-01-08 10:43:13
compiled from "./templates/forms/detalles-usuario.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1171255271568fe721e415a8-56620531%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 01:00:00
compiled from "/var/www/html/ventas/templates/forms/detalles-usuario.tpl" */ ?>
<?php /*%%SmartyHeaderCode:84093274695e04703e0901-02502159%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd9e4cb4e0994a681ce8bbc40d7517a42c539dfd2' =>
'0f859fc3985b1f0c639870f0c1aa05194a5bf0fc' =>
array (
0 => './templates/forms/detalles-usuario.tpl',
1 => 1410130450,
0 => '/var/www/html/ventas/templates/forms/detalles-usuario.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1171255271568fe721e415a8-56620531',
'nocache_hash' => '84093274695e04703e0901-02502159',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:02
compiled from "./templates/temporadas.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1385293418540f5c7ec3e390-54465794%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:56:01
compiled from "/var/www/html/ventas/templates/temporadas.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1991296780695e0381187fb7-29445007%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'95d62b34cf0c41862473b42a5abfcf87fe9fdb35' =>
'10bd921156d4d79ae27daf62fdd34c05f2c2534d' =>
array (
0 => './templates/temporadas.tpl',
1 => 1410130447,
0 => '/var/www/html/ventas/templates/temporadas.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1385293418540f5c7ec3e390-54465794',
'nocache_hash' => '1991296780695e0381187fb7-29445007',
'function' =>
array (
),

View File

@@ -1,86 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:14:58
compiled from ".\templates\header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:20718540776c2e5ec01-70174475%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'10e0737838b4a574ef135d0c601e7b602cfaf37a' =>
array (
0 => '.\\templates\\header.tpl',
1 => 1408525934,
),
),
'nocache_hash' => '20718540776c2e5ec01-70174475',
'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("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/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" <?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>style="height:63px"<?php }?>>
<div class="container">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/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("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/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("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/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,77 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:02:27
compiled from "./templates/forms/filtro-cuentas-pagar.tpl" */ ?>
<?php /*%%SmartyHeaderCode:669042488540f5cd3954719-25379859%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'126e116d5a8274c61bdb8cd82aaeb7c97e867af2' =>
array (
0 => './templates/forms/filtro-cuentas-pagar.tpl',
1 => 1410130451,
),
),
'nocache_hash' => '669042488540f5cd3954719-25379859',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<form name="frmSaldos" id="frmSaldos" method="post" action="export/cuentas-pagar.php">
<input type="hidden" name="action" id="action" value="search" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
<thead>
<tr>
<th align="center" width="280"></th>
<th align="center" width="200"><div align="center">Proveedor</div></th>
<th align="center" width="30"><div align="center">Global</div></th>
<th align="center"></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center"></td>
<td align="center">
<select name="proveedorId2" id="proveedorId2" class="largeInput" style="width:250px;">
<option value="">Todos</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('proveedores')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
"><?php echo str_pad($_smarty_tpl->getVariable('item')->value['noProv'],3,"0",@STR_PAD_LEFT);?>
<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>
</td>
<td><input type="checkbox" name="global" id="global" value="1" /></td>
<td align="center"></td>
</tr>
<tr>
<td></td>
<td align="center">
<input type="button" name="btnSearch" value="Generar" class="btnSearch" onclick="Buscar()" />
</td>
<td align="center" colspan="2">
<div style="float:right; padding-right:50px"><a href="javascript:void(0)" onclick="ExportReport()"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/excel.png" title="Exportar Reporte"/></a></div>
</td>
</tr>
<tr>
<td colspan="5">
<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

@@ -0,0 +1,41 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:35:28
compiled from "/var/www/html/ventas/templates/boxes/editar-metodo-pago-popup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2077979104695dfeb0c2e576-76532696%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'14054ddd2a18df31313fa956cf83db2aeac9c7bb' =>
array (
0 => '/var/www/html/ventas/templates/boxes/editar-metodo-pago-popup.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '2077979104695dfeb0c2e576-76532696',
'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">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/b_disn.png" border="0" alt="close" /></span>
</div>
</div>
<div id="ftitl">
<div class="flabel">Editar M&eacute;todo de Pago</div>
<div id="vtitl"><span title="Titulo">Editar M&eacute;todo de Pago</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-metodo-pago.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,137 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:02:43
compiled from "./templates/forms/agregar-devolucion-cedis.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1543270432540de132ec0750-54917913%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'17806a96b7123e5591e8a135728c71a2537ab90b' =>
array (
0 => './templates/forms/agregar-devolucion-cedis.tpl',
1 => 1410130449,
),
),
'nocache_hash' => '1543270432540de132ec0750-54917913',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="divForm">
<form id="frmDevolucion" name="frmDevolucion" method="post" onsubmit="return false">
<input type="hidden" id="type" name="type" value="saveDevolucion" />
<fieldset>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="120" height="40">No. de Devoluci&oacute;n</td>
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['noDevolucion'];?>
</div></td>
<td width="10"></td>
<td width="130">Fecha</td>
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['fecha'];?>
</div></td>
</tr>
<tr>
<td colspan="5" align="center" height="50"><b>.:: AGREGAR PRODUCTOS ::.</b></td>
</tr>
<tr>
<td width="120" height="40">* Sucursal:</td>
<td>
<select name="sucursalId" id="sucursalId" class="largeInput" style="width:290px" onchange="SearchProducto()">
<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 echo utf8_decode($_smarty_tpl->getVariable('item')->value['nombre']);?>
</option>
<?php }} ?>
</select>
</td>
<td width="10"></td>
<td width="130">* C&oacute;digo Barra:</td>
<td>
<input name="codigoBarra" id="codigoBarra" type="text" class="largeInput" style="width:290px" onkeyup="CheckKey(event)"/>
<input type="hidden" name="productoId" id="productoId" value="" />
</td>
</tr>
<tr>
<td width="120" height="40">* Cantidad a Dev:</td>
<td>
<input name="cantidad" id="cantidad" type="text" class="largeInput" style="width:290px" />
</td>
<td width="10"></td>
<td width="130">Descripci&oacute;n:</td>
<td><div id="enumAtributos" class="txtFrm"></div></td>
</tr>
<tr>
<td>Proveedor:</td>
<td><div id="txtProveedor" class="txtFrm"></div></td>
<td width="10"></td>
<td width="130">Disponible:</td>
<td><div id="txtDisponible" class="txtFrm"></div></td>
</tr>
<tr>
<td colspan="5" align="center">&nbsp;</td>
</tr>
<tr>
<td colspan="5" align="center">
<div align="right" style="margin-right:20px">
<a href="javascript:void(0)" onclick="AddProducto()">
+ Agregar Producto
</a>
</div>
</td>
</tr>
<tr>
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
<b>.:: PRODUCTOS ::.</b>
</td>
</tr>
<tr>
<td colspan="5" align="center">
<div id="productos">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pedidos-productos.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>
</table>
<hr />
</fieldset>
</form>
* Campos requeridos
<br />
<div align="center" style="display:none" id="loader">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/loading.gif">
<br>
Guardando Informaci&oacute;n...
<br />Este proceso puede tardar unos segundos.
<br />&nbsp;
</div>
<div style="clear:both"></div>
<div style="margin-left:300px">
<a class="button" name="btnSave" onclick="AddPedido()" style="margin-right:20px">
<span>Guardar Devoluci&oacute;n</span>
</a>
<a class="button" href="javascript:void(0)" onclick="CancelDevolucion()">
<span>Cancelar Devoluci&oacute;n</span>
</a>
</div>
<div style="clear:both"></div>
</div>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:00
compiled from "./templates/proveedores.tpl" */ ?>
<?php /*%%SmartyHeaderCode:91796674540f5c7c5e49d5-34019579%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:55:50
compiled from "/var/www/html/ventas/templates/proveedores.tpl" */ ?>
<?php /*%%SmartyHeaderCode:76001789695e0376a0dbb2-30682667%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'394537b7b848d9f4e6f967c86e3895c5965ae49a' =>
'1a1e78ed74433129d6b6c2bf7a388825efc8773d' =>
array (
0 => './templates/proveedores.tpl',
1 => 1410130447,
0 => '/var/www/html/ventas/templates/proveedores.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '91796674540f5c7c5e49d5-34019579',
'nocache_hash' => '76001789695e0376a0dbb2-30682667',
'function' =>
array (
),

View File

@@ -1,102 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:07:42
compiled from "/var/www/html/templates/lists/envios-ordenes-comp.tpl" */ ?>
<?php /*%%SmartyHeaderCode:11424747415411babe8bc301-12191458%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'1b8d6421c20c921bdd4257df8398518ad1209943' =>
array (
0 => '/var/www/html/templates/lists/envios-ordenes-comp.tpl',
1 => 1410130459,
),
),
'nocache_hash' => '11424747415411babe8bc301-12191458',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div align="center"><b><?php echo $_smarty_tpl->getVariable('nomSuc')->value;?>
</b></div>
<br />
<table width="850" cellpadding="0" cellspacing="0" border="1">
<tr>
<td width="100" align="center" height="30"><b>No. de Proveedor</b></td>
<td width="" align="center"><b>Nombre del Proveedor</b></td>
<td width="110" align="center"><b>No. Orden de Compra</b></td>
<td width="110" align="center"><b>Cantidad de Prendas/Paq.</b></td>
<td width="110" align="center"><b>Valor</b></td>
<td width="110" align="center"><b>No. de Cajas</b></td>
<td width="50" align="center"></td>
</tr>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('ordenes')->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;
?>
<tr>
<td align="center" height="30"><?php echo $_smarty_tpl->getVariable('item')->value['noProv'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['proveedor'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['noPedido'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['prendas'];?>
</td>
<td align="center">$<?php echo $_smarty_tpl->getVariable('item')->value['total'];?>
</td>
<td align="center">
<input type="text" name="noCajas_<?php echo $_smarty_tpl->getVariable('item')->value['pedidoId'];?>
" id="noCajas_<?php echo $_smarty_tpl->getVariable('item')->value['pedidoId'];?>
" value="<?php echo $_smarty_tpl->getVariable('item')->value['cajas'];?>
" class="smallInput" style="width:90px" />
</td>
<td align="center">
<input type="checkbox" name="idPedido[]" id="" value="<?php echo $_smarty_tpl->getVariable('item')->value['pedidoId'];?>
" checked="checked" />
</td>
</tr>
<tr>
<td align="center" colspan="7">
<br />
<div align="center"><b>Total de Cajas: <?php echo $_smarty_tpl->getVariable('item')->value['cajas'];?>
</b></div>
<br />
<table width="90%" cellpadding="0" cellspacing="0" border="1">
<tr>
<td align="center" bgcolor="#CCCCCC" width="150"><b>C&oacute;digo Barra</b></td>
<td align="center" bgcolor="#CCCCCC"><b>Modelo</b></td>
<td align="center" bgcolor="#CCCCCC" width="120"><b>Cantidad</b></td>
</tr>
<?php $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('item')->value['productos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['it']->key => $_smarty_tpl->tpl_vars['it']->value){
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['it']->key;
?>
<tr>
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['codigoBarra'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['modelo'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('it')->value['cantidad'];?>
</td>
</tr>
<?php }} else { ?>
<tr><td colspan="3" align="center">Ning&uacute;n producto encontrado.</td></tr>
<?php } ?>
</table>
</td>
</tr>
<?php }} else { ?>
<tr>
<td colspan="7" align="center" height="30">Ning&uacute;n registro encontrado.</td>
</tr>
<?php } ?>
</table>

View File

@@ -1,26 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:15:00
compiled from ".\templates\footer.tpl" */ ?>
<?php /*%%SmartyHeaderCode:3578540776c4233a99-14809906%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'1be7ff7fdee636597edd726ee98dfef4bfd55d1f' =>
array (
0 => '.\\templates\\footer.tpl',
1 => 1408525934,
),
),
'nocache_hash' => '3578540776c4233a99-14809906',
'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,39 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:33:42
compiled from "/var/www/html/templates/lists/pedidos-cajas2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1462402371540e3cd6953ad5-40081165%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'1c5d4f9240b3e654ba77c65e93b4f49330a2f274' =>
array (
0 => '/var/www/html/templates/lists/pedidos-cajas2.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '1462402371540e3cd6953ad5-40081165',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<b>DISTRIBUCION No. DE CAJAS POR SUCURSAL</b>
<br /><br />
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['kS'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('sucCajas')->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['kS']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<div class="boxDist">
<b>Suc. <?php echo $_smarty_tpl->getVariable('item')->value['noSuc'];?>
</b> <br />
<?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
</div>
<?php }} else { ?>
Ning&uacute;n registro encontrado.
<?php } ?>
<div style="clear:both"></div>
<br />

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:37:26
compiled from "./templates/facturacion.tpl" */ ?>
<?php /*%%SmartyHeaderCode:475553017540e3db62aff61-39041254%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'1c99fad1b1e0aa75807d7fa1d607c41d1df5117c' =>
array (
0 => './templates/facturacion.tpl',
1 => 1410130446,
),
),
'nocache_hash' => '475553017540e3db62aff61-39041254',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="catalogos">Facturaci&oacute;n</h1>
</div>
<div class="clear"></div>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<?php $_template = new Smarty_Internal_Template("forms/search-facturas.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{ ?>
<?php $_template = new Smarty_Internal_Template("forms/search-facturas-gral.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 class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/facturacion.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,50 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:28
compiled from "/var/www/html/templates/items/facturacion-mensual-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2150529955411bfd825cb23-77076663%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'1d3694f89f33d3ca2bf762aab7e774722b11dbb3' =>
array (
0 => '/var/www/html/templates/items/facturacion-mensual-base.tpl',
1 => 1410130454,
),
),
'nocache_hash' => '2150529955411bfd825cb23-77076663',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<tr>
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['rfc'];?>
</td>
<td align="left"><?php echo $_smarty_tpl->getVariable('fact')->value['nombre'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['fecha'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['total'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['serie'];?>
<?php echo $_smarty_tpl->getVariable('fact')->value['folio'];?>
</td>
<?php if ($_smarty_tpl->getVariable('version')->value=="construc"||$_smarty_tpl->getVariable('version')->value=="v3"){?>
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['uuid'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('fact')->value['fechaIni'];?>
- <?php echo $_smarty_tpl->getVariable('fact')->value['fechaFin'];?>
</td>
<?php }?>
<td align="center">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/details.png" class="spanDetails" id="<?php echo $_smarty_tpl->getVariable('fact')->value['comprobanteId'];?>
" border="0" alt="Ver Detalles" />
<?php if ($_smarty_tpl->getVariable('fact')->value['status']==1){?>
<a href="javascript:void(0)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/cancel.png" class="spanCancel" id="<?php echo $_smarty_tpl->getVariable('fact')->value['comprobanteId'];?>
" border="0" alt="Cancelar"/></a>
<?php }?>
</td>
</tr>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:18
compiled from "./templates/homepage.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1802678140540ce2922a3352-66777537%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-06 23:31:59
compiled from "/var/www/html/ventas/templates/homepage.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1742127122695defcf287948-08669765%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b62e2ad71a2881113a72b0f2990ec2200b06b28c' =>
'1ef79d77623c7bc4e59810794dfada68b56e98f5' =>
array (
0 => './templates/homepage.tpl',
1 => 1410130446,
0 => '/var/www/html/ventas/templates/homepage.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1802678140540ce2922a3352-66777537',
'nocache_hash' => '1742127122695defcf287948-08669765',
'function' =>
array (
),

View File

@@ -1,46 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:16:59
compiled from "./templates/reportes-devcedis.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1387828350540a203738f5d5-52381047%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'20b3fff29e732b1e4acd5f26afcec019cc3f4705' =>
array (
0 => './templates/reportes-devcedis.tpl',
1 => 1410130447,
),
),
'nocache_hash' => '1387828350540a203738f5d5-52381047',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
?><div class="grid_16" id="content">
<div class="grid_9">
<h1 class="reportes">Devoluciones a CEDIS</h1>
</div>
<div class="clear"></div>
<br />
<?php $_template = new Smarty_Internal_Template("forms/search-reportes-devcedis.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 id="loader" style="padding-top:20px"></div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/reportes-devcedis.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,53 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:43:01
compiled from "/var/www/html/ventas/templates/boxes/status_on_popup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:403177140695e007580b609-26316321%%*/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 => 1767753171,
),
),
'nocache_hash' => '403177140695e007580b609-26316321',
'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,54 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:28
compiled from "./templates/facturacion-mensual.tpl" */ ?>
<?php /*%%SmartyHeaderCode:4777478815411bfd811cad0-68639125%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2402f17c1e6e588d29786f6257de6e049fc23977' =>
array (
0 => './templates/facturacion-mensual.tpl',
1 => 1410130446,
),
),
'nocache_hash' => '4777478815411bfd811cad0-68639125',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="catalogos">Facturaci&oacute;n Mensual</h1>
</div>
<div class="clear"></div>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<div align="center">
<a href="javascript:void(0)" onclick="FacturaMensual()" class="inline_add">Agregar Factura Mensual</a>
</div>
<br />
<?php }?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<?php $_template = new Smarty_Internal_Template("forms/search-facturas-mens.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{ ?>
<?php $_template = new Smarty_Internal_Template("forms/search-facturas-mens-gral.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 class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/facturacion-mensual.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,39 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 09:44:05
compiled from "/var/www/html/templates/lists/pedidos-cajas.tpl" */ ?>
<?php /*%%SmartyHeaderCode:10620969205411b5353ca0f9-45898358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'24188d1312ff546e03adc769f5a94a75dfe60424' =>
array (
0 => '/var/www/html/templates/lists/pedidos-cajas.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '10620969205411b5353ca0f9-45898358',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<b>DISTRIBUCION No. DE CAJAS POR SUCURSAL</b>
<br /><br />
<?php $_smarty_tpl->tpl_vars['iS'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['kS'] = 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['iS']->key => $_smarty_tpl->tpl_vars['iS']->value){
$_smarty_tpl->tpl_vars['kS']->value = $_smarty_tpl->tpl_vars['iS']->key;
?>
<div class="boxDist">
<b>Suc. <?php echo $_smarty_tpl->getVariable('iS')->value['noSuc'];?>
</b> <br />
<input type="text" size="2" name="numCajas_<?php echo $_smarty_tpl->getVariable('iS')->value['sucursalId'];?>
" id="numCajas_<?php echo $_smarty_tpl->getVariable('iS')->value['sucursalId'];?>
" value="<?php echo $_smarty_tpl->getVariable('iS')->value['noCajas'];?>
" />
</div>
<?php }} ?>
<div style="clear:both"></div>
<br />

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:18
compiled from "./templates/footer.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1467893861540ce2922ad3a9-18354758%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-06 23:31:59
compiled from "/var/www/html/ventas/templates/footer.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2113298918695defcf28c8c2-46080314%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3a4f6f0d327fc7bc3ea86f63906a1bf934ca50c7' =>
'2450eead404c64365cb7fead5b5745f76901d083' =>
array (
0 => './templates/footer.tpl',
1 => 1410130446,
0 => '/var/www/html/ventas/templates/footer.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1467893861540ce2922ad3a9-18354758',
'nocache_hash' => '2113298918695defcf28c8c2-46080314',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:01
compiled from "/var/www/html/templates/items/productos-duplicados-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:519026432540f5c7dcd3875-50961852%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:48:19
compiled from "/var/www/html/ventas/templates/items/productos-duplicados-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1094254317695e01b35e4126-12216981%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd2a15085c00a58a972e0526f9da0f325fcf10678' =>
'24517c29cd05784a0c24ae8a6928bfc4130c5875' =>
array (
0 => '/var/www/html/templates/items/productos-duplicados-header.tpl',
1 => 1410130455,
0 => '/var/www/html/ventas/templates/items/productos-duplicados-header.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '519026432540f5c7dcd3875-50961852',
'nocache_hash' => '1094254317695e01b35e4126-12216981',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:14
compiled from "/var/www/html/templates/items/clientes-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1043017768540ce306f045a1-20728812%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:45:16
compiled from "/var/www/html/ventas/templates/items/clientes-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:221198652695e00fc78e9e5-23227028%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'90eebacf17d730d5f9ba0df733eabd1d5c7b1fc9' =>
'25089b2b3d0807051fb3e7b58c7d9b1db10fcf3c' =>
array (
0 => '/var/www/html/templates/items/clientes-base.tpl',
1 => 1410130453,
0 => '/var/www/html/ventas/templates/items/clientes-base.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1043017768540ce306f045a1-20728812',
'nocache_hash' => '221198652695e00fc78e9e5-23227028',
'function' =>
array (
),

View File

@@ -1,164 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 09:51:34
compiled from "/var/www/html/templates/lists/pedidos-proporciones.tpl" */ ?>
<?php /*%%SmartyHeaderCode:77909499540a160f864b05-37138906%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2546d9c710de13c9516219cb22a1e93d3bfccfdc' =>
array (
0 => '/var/www/html/templates/lists/pedidos-proporciones.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '77909499540a160f864b05-37138906',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table width="" cellpadding="0" cellspacing="0" border="1">
<tr>
<td width="120" align="center" height="30"><b>Color / Talla</b></td>
<td width="80" align="center"><b>Prop. Color</b></td>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('tallas')->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;
?>
<td align="left" width="90">
<?php if ($_smarty_tpl->getVariable('item')->value['id']>0){?>
<div align="center"><b><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</b></div>
<input type="hidden" name="proporcionNT[<?php echo $_smarty_tpl->getVariable('key')->value;?>
]" id="proporcionNT_<?php echo $_smarty_tpl->getVariable('key')->value;?>
" value="<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
" />
<?php }else{ ?>
<input type="text" class="smallInput" name="proporcionNT[<?php echo $_smarty_tpl->getVariable('key')->value;?>
]" id="proporcionNT_<?php echo $_smarty_tpl->getVariable('key')->value;?>
" value="<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
" style="width:60px" />
<a href="javascript:void(0)" onclick="DelTalla(<?php echo $_smarty_tpl->getVariable('key')->value;?>
)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.gif" border="0" />
</a>
<?php }?>
<input type="hidden" name="proporcionIT[<?php echo $_smarty_tpl->getVariable('key')->value;?>
]" id="proporcionIT_<?php echo $_smarty_tpl->getVariable('key')->value;?>
" value="<?php echo $_smarty_tpl->getVariable('item')->value['id'];?>
" />
</td>
<?php }} ?>
</tr>
<tr>
<td align="center" height="30"><b>Prop. Talla</b></td>
<td align="center"></td>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('tallas')->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;
?>
<td align="left">
<input type="text" class="smallInput" name="proporcionT[<?php echo $_smarty_tpl->getVariable('key')->value;?>
]" id="proporcionT_<?php echo $_smarty_tpl->getVariable('key')->value;?>
" value="<?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
" style="width:60px" />
</td>
<?php }} ?>
</tr>
<?php $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['idC'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('colores')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['c']->key => $_smarty_tpl->tpl_vars['c']->value){
$_smarty_tpl->tpl_vars['idC']->value = $_smarty_tpl->tpl_vars['c']->key;
?>
<tr>
<td align="center" height="30">
<?php if ($_smarty_tpl->getVariable('c')->value['id']>0){?>
<div align="center"><b><?php echo $_smarty_tpl->getVariable('c')->value['nombre'];?>
</b></div>
<input type="hidden" name="proporcionNC[<?php echo $_smarty_tpl->getVariable('idC')->value;?>
]" id="proporcionNC_<?php echo $_smarty_tpl->getVariable('idC')->value;?>
" value="<?php echo $_smarty_tpl->getVariable('c')->value['nombre'];?>
" />
<?php }else{ ?>
<input type="text" class="smallInput" name="proporcionNC[<?php echo $_smarty_tpl->getVariable('idC')->value;?>
]" id="proporcionNC_<?php echo $_smarty_tpl->getVariable('idC')->value;?>
" value="<?php echo $_smarty_tpl->getVariable('c')->value['nombre'];?>
" style="width:60px" />
<a href="javascript:void(0)" onclick="DelColor(<?php echo $_smarty_tpl->getVariable('idC')->value;?>
)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.gif" border="0" />
</a>
<?php }?>
<input type="hidden" name="proporcionIC[<?php echo $_smarty_tpl->getVariable('idC')->value;?>
]" id="proporcionIC_<?php echo $_smarty_tpl->getVariable('idC')->value;?>
" value="<?php echo $_smarty_tpl->getVariable('c')->value['id'];?>
" />
</td>
<td align="center">
<input type="text" class="smallInput" name="proporcionC[<?php echo $_smarty_tpl->getVariable('idC')->value;?>
]" id="proporcionC_<?php echo $_smarty_tpl->getVariable('idC')->value;?>
" value="<?php echo $_smarty_tpl->getVariable('c')->value['cantidad'];?>
" style="width:60px" />
</td>
<?php $_smarty_tpl->tpl_vars['t'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['idT'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('tallas')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['t']->key => $_smarty_tpl->tpl_vars['t']->value){
$_smarty_tpl->tpl_vars['idT']->value = $_smarty_tpl->tpl_vars['t']->key;
?>
<td align="center"><?php ob_start();?><?php echo $_smarty_tpl->getVariable('idT')->value;?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('idC')->value;?>
<?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->getVariable('subtotales')->value[$_tmp1][$_tmp2];?>
</td>
<?php }} ?>
</tr>
<?php }} ?>
<tr>
<td align="center" height="30"><b>Total</b></td>
<td align="center"></td>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['idT'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('tallas')->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['idT']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<td align="center"><?php ob_start();?><?php echo $_smarty_tpl->getVariable('idT')->value;?>
<?php $_tmp3=ob_get_clean();?><?php echo $_smarty_tpl->getVariable('totales')->value[$_tmp3];?>
</td>
<?php }} ?>
</tr>
</table>
<div id="tblLoader"></div>
<?php if ($_smarty_tpl->getVariable('productoId')->value){?>
<div align="center">
<input type="button" name="btnUpdate" onclick="UpdateProporcion()" value="Actualizar Proporciones" style="padding:10px" />
</div>
<br />
<table width="300" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left">Cant. de Prendas a adquirir:</td>
<td align="left">
<input name="cantPrendas" id="cantPrendas" type="text" class="largeInput" style="width:80px" value="" />
<input type="hidden" name="cantLotes" id="cantLotes" value="1" />
<input type="hidden" name="totalLote" id="totalLote" value="<?php echo $_smarty_tpl->getVariable('totalLote')->value;?>
" />
</td>
</tr>
</table>
<?php }?>

View File

@@ -1,54 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:50
compiled from "./templates/lists/analisis-venta.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2114830291540a203a367892-50229765%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2686b97b6e8b249e8453f7775ac7f2a9539d90f0' =>
array (
0 => './templates/lists/analisis-venta.tpl',
1 => 1410130457,
),
),
'nocache_hash' => '2114830291540a203a367892-50229765',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
?><?php if (count($_smarty_tpl->getVariable('sucursales')->value)>0){?>
<div align="center">
<b>Periodo:</b>
<br />
<?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('fechaIni')->value,"%d-%m-%Y");?>
al <?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('fechaFin')->value,"%d-%m-%Y");?>
</div>
<?php }?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/analisis-venta-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 $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/analisis-venta-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 if (count($_smarty_tpl->getVariable('sucursales')->value)>0){?>
<tr>
<td align="left"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center">TOTALES</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('totales')->value['totProds'];?>
</td>
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('totales')->value['totVtas'],2,'.',',');?>
</td>
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('totales')->value['utilidad'],2,'.',',');?>
</td>
</tr>
<?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('meses')->value['pages']);$_template->assign('colspan',10); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 10:07:56
compiled from "./templates/lists/pedidos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:109156756654075a963dba84-05570145%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'26f690d011b9b8e70902b73ed7b043c2d3927713' =>
array (
0 => './templates/lists/pedidos.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '109156756654075a963dba84-05570145',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/pedidos-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('pedidos')->value['items'])){?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('pedidos')->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/pedidos-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/pedidos-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="11" 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('pedidos')->value['pages']);$_template->assign('colspan',11); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -1,43 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-12-10 08:16:13
compiled from "/var/www/html/templates/items/envios-reporte-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2054711198548855ad3dbb20-10389092%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'26fcce3403d83f75a932e6cc974e348287e37a39' =>
array (
0 => '/var/www/html/templates/items/envios-reporte-header.tpl',
1 => 1410130454,
),
),
'nocache_hash' => '2054711198548855ad3dbb20-10389092',
'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">
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
<thead>
<tr>
<td align="right" colspan="6" style="border-top:none;">
<a href="#" onclick="ExportGral(); return false;">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/excel.png" title="Exportar Reporte"/>
</a>
</td>
</tr>
<tr>
<th width="100" scope="col"><div align="center">C&oacute;digo Barra</div></th>
<th width="" scope="col"><div align="center">Descripci&oacute;n</div></th>
<th width="110" scope="col"><div align="center">Unidad</div></th>
<th width="110" scope="col"><div align="center">Cantidad</div></th>
<th width="80" scope="col"><div align="center">Precio</div></th>
<th width="100" scope="col"><div align="center">Importe</div></th>
</tr>
</thead>
<tbody>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-06 19:17:36
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:23:04
compiled from "/var/www/html/ventas/templates/header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1135936291695db430d60d19-86867292%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /*%%SmartyHeaderCode:965460854695dfbc8922953-28514872%%*/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 => 1744068893,
1 => 1767766976,
),
),
'nocache_hash' => '1135936291695db430d60d19-86867292',
'nocache_hash' => '965460854695dfbc8922953-28514872',
'function' =>
array (
),
@@ -51,7 +51,7 @@ $_smarty_tpl->decodeProperties(array (
<!-- USER TOOLS END -->
<div class="grid_16" id="header">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/main.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
<?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>
@@ -60,14 +60,14 @@ $_smarty_tpl->decodeProperties(array (
<!-- 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" <?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>style="height:63px"<?php }?>>
<div class="container">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
<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("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu2.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
<?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 }?>
@@ -76,7 +76,7 @@ $_smarty_tpl->decodeProperties(array (
<?php }else{ ?>
<div id="tabs">
<div class="container">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
<?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>

View File

@@ -1,35 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:07:42
compiled from "./templates/envios-cedis-agregar.tpl" */ ?>
<?php /*%%SmartyHeaderCode:11508901405411babe7d9682-80641250%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'280db5f6f2547433316ad706c27f0b2862ed2920' =>
array (
0 => './templates/envios-cedis-agregar.tpl',
1 => 1410130445,
),
),
'nocache_hash' => '11508901405411babe7d9682-80641250',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="compras">Env&iacute;os :: CEDIS - Tienda :: Agregar</h1>
</div>
<div class="clear"></div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("forms/agregar-envio-cedis.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,50 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:36:13
compiled from "/var/www/html/templates/items/inventario-wizard2-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1309825605540e3d6d4075b3-57719773%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'28ef918730bc5c4aa2f207b1a1e1d744001e74b3' =>
array (
0 => '/var/www/html/templates/items/inventario-wizard2-base.tpl',
1 => 1410130455,
),
),
'nocache_hash' => '1309825605540e3d6d4075b3-57719773',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
?><?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('ajustes')->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;
?>
<tr>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['invWizardId'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['sucursal'];?>
</td>
<td align="center"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('item')->value['fecha'],"%d-%m-%Y %k:%M");?>
Hrs.</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['usuario'];?>
</td>
<td align="center">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-wizprods2/id/<?php echo $_smarty_tpl->getVariable('item')->value['invWizardId'];?>
">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/details.png" border="0"/>
</a>
</td>
</tr>
<?php }} else { ?>
<tr>
<td colspan="5" align="center">Ning&uacute;n registro encontrado.</td>
</tr>
<?php } ?>

View File

@@ -1,36 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 09:51:34
compiled from "./templates/pedidos-editar.tpl" */ ?>
<?php /*%%SmartyHeaderCode:8761319315411b6f5711477-27563713%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'28f4f2151479fea82a606791ebb89210326ca78f' =>
array (
0 => './templates/pedidos-editar.tpl',
1 => 1410130446,
),
),
'nocache_hash' => '8761319315411b6f5711477-27563713',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
?><div class="grid_16" id="content">
<div class="grid_9">
<h1 class="compras">Pedidos :: Editar</h1>
</div>
<div class="clear"></div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("forms/editar-pedido.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,71 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 14:31:44
compiled from "/var/www/html/templates/items/facturacion-folios-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:328207478542079201ef507-33483651%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2a1a27b9c68a8b55a8e47f3c036e8c94981516fc' =>
array (
0 => '/var/www/html/templates/items/facturacion-folios-base.tpl',
1 => 1410130454,
),
),
'nocache_hash' => '328207478542079201ef507-33483651',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<td align="center"><?php echo $_smarty_tpl->getVariable('folio')->value['sucursal'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('folio')->value['folioInicial'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('folio')->value['consecutivo'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('folio')->value['folioFinal'];?>
</td>
<td align="center">
<?php if ($_smarty_tpl->getVariable('folio')->value['logo']){?>
<img src="<?php echo $_smarty_tpl->getVariable('folio')->value['logo'];?>
" width="50" height="50" />
<?php }?>
</td>
<?php if ($_smarty_tpl->getVariable('info')->value['version']=="auto"){?>
<td><?php if ($_smarty_tpl->getVariable('folio')->value['qr']){?><img src="<?php echo $_smarty_tpl->getVariable('folio')->value['qr'];?>
" width="50" height="50" /><?php }?></td>
<?php }?>
<td>
<div id="loader_<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
" style="display:none"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/load.gif" /></div>
<?php if ($_smarty_tpl->getVariable('info')->value['version']=="auto"){?>
<form method="post" action="" enctype="multipart/form-data" name="qr-<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
">
<input type="file" name="qr" id="qr" /><input type="hidden" name="serieId" id="serieId" value="<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
"/><input type="submit" value="Cambiar QR" />
</form>
<br />
<?php }?>
<form method="post" action="" enctype="multipart/form-data" name="cedula-<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
" id="frmCedula_<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
">
<input type="file" name="cedula" id="cedula" />
<br />
<input type="hidden" name="serieId" id="serieId" value="<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
"/>
<input type="button" name="btnSend" value="Cambiar Logo" onclick="SaveLogo(<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
)" />
<input type="button" name="btnDel" id="btnDel" value="Eliminar Logo" onclick="DeleteLogo(<?php echo $_smarty_tpl->getVariable('folio')->value['serieId'];?>
)" />
</form>
</td>
<td align="center">
---
</td>
</tr>

View File

@@ -0,0 +1,22 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:43:01
compiled from "/var/www/html/ventas/templates/boxes/status_close.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1603356903695e007582e8e1-73181205%%*/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 => 1767753171,
),
),
'nocache_hash' => '1603356903695e007582e8e1-73181205',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
</div>
</div>
</div>

View File

@@ -1,313 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:37
compiled from "./templates/forms/agregar-factura.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9886695365411bfe196ee19-01561789%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2d6e31e5d15342b8a3b94db152d7a5a175d8b10a' =>
array (
0 => './templates/forms/agregar-factura.tpl',
1 => 1410130449,
),
),
'nocache_hash' => '9886695365411bfe196ee19-01561789',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="divForm">
<form id="nuevaFactura" name="nuevaFactura" method="post">
<input type="hidden" id="userId" name="userId" value="" />
<?php if ($_smarty_tpl->getVariable('ventaId')->value=="publico"){?>
<input type="hidden" id="tickets" name="tickets" value="<?php echo $_smarty_tpl->getVariable('notasPorFacturar')->value;?>
" />
<?php }else{ ?>
<input type="hidden" id="ventaId" name="ventaId" value="<?php echo $_smarty_tpl->getVariable('ventaId')->value;?>
" />
<?php }?>
<fieldset>
<div id="loadingDivDatosFactura"></div>
<div class="formLine" style="text-align:left;">
<div style="width:90px;float:left">RFC:</div>
<div style="width:172px;float:left">
<input name="rfc" id="rfc" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['rfc'];?>
" size="20" class="largeInput" onkeyup="SuggestCliente()"/>
<div style="position:relative">
<div class="suggestGral" style="display:none;" id="sugClteDiv"></div>
</div>
</div>
<div style="width:140px;float:left">Raz&oacute;n Social:</div>
<div style="width:320px;float:left"><input name="razonSocial" id="razonSocial" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['razonSocial'];?>
" disabled="disabled" style="background-color:#eee" size="67" class="largeInput"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">Calle:</div>
<div style="width:320px;float:left"><input name="calle" id="calle" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['calle'];?>
" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
<div style="width:90px;float:left">No. Exterior:</div>
<div style="width:155px;float:left"><input name="noExt" id="noExt" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['noExt'];?>
" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
<div style="width:90px;float:left">No. Interior:</div>
<div style="width:155px;float:left"><input name="noInt" id="noInt" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['noInt'];?>
" disabled="disabled" style="background-color:#eee" size="18" class="largeInput"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">Colonia:</div>
<div style="width:320px;float:left"><input name="colonia" id="colonia" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['colonia'];?>
" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
<div style="width:90px;float:left">Municipio:</div>
<div style="width:155px;float:left"><input name="municipio" id="municipio" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['municipio'];?>
" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
<div style="width:90px;float:left">Estado:</div>
<div style="width:155px;float:left"><input name="estado" id="estado" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['estado'];?>
" disabled="disabled" style="background-color:#eee" size="18" class="largeInput" /></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">Localidad:</div>
<div style="width:320px;float:left"><input name="localidad" id="localidad" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['localidad'];?>
" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
<div style="width:90px;float:left">CP:</div>
<div style="width:155px;float:left"><input name="cp" id="cp" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['cp'];?>
" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
<div style="width:90px;float:left">Pais:</div>
<div style="width:155px;float:left"><input name="pais" id="pais" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['pais'];?>
" disabled="disabled" style="background-color:#eee" size="18" class="largeInput"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">Referencia:</div>
<div style="width:320px;float:left"><input name="referencia" id="referencia" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['referencia'];?>
" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
<div style="width:90px;float:left">Email:</div>
<div style="width:400px;float:left"><input name="email" id="email" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['email'];?>
" disabled="disabled" style="background-color:#eee" size="53" class="largeInput"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">Forma de Pago:</div>
<div style="width:320px;float:left"><input name="formaDePago" id="formaDePago" type="text" value="Pago en Una Sola Exhibicion" size="40" class="largeInput"/></div>
<div style="width:90px;float:left">Condiciones de Pago:</div>
<div style="width:400px;float:left"><input name="condicionesDePago" id="condicionesDePago" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['condicionesDePago'];?>
" size="53" class="largeInput"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">M&eacute;todo de Pago:</div>
<div style="width:200px;float:left"><input name="metodoDePago" id="metodoDePago" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['metodoPago'];?>
" size="20" class="largeInput"/></div>
<div style="width:90px;float:left">N&uacute;mero de Cuenta:</div>
<div style="width:100px;float:left"><input name="numCtaPago" id="numCtaPago" type="text" value="" size="4" class="largeInput" maxlength="4" /></div>
<div style="width:90px;float:left">% de IVA:</div>
<div style="width:120px;float:left">
<select name="tasaIva" id="tasaIva" class="largeInput" style="width:100px">
<option value="0">0</option>
<option value="11">11</option>
<option value="16" selected="selected">16</option>
</select></div>
<div style="width:90px;float:left">Tipo de Moneda:</div>
<div style="width:120px;float:left">
<select name="tiposDeMoneda" id="tiposDeMoneda" class="largeInput" style="width:100px">
<?php $_smarty_tpl->tpl_vars['moneda'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('tiposDeMoneda')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['moneda']->key => $_smarty_tpl->tpl_vars['moneda']->value){
?>
<option value="<?php echo $_smarty_tpl->getVariable('moneda')->value['tipo'];?>
"><?php echo $_smarty_tpl->getVariable('moneda')->value['moneda'];?>
</option>
<?php }} ?>
</select></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">% Retencion Iva:</div>
<div style="width:135px;float:left">
<select name="porcentajeRetIva" id="porcentajeRetIva" class="largeInput">
<?php $_smarty_tpl->tpl_vars['iva'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('retIvas')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['iva']->key => $_smarty_tpl->tpl_vars['iva']->value){
?>
<option value="<?php echo $_smarty_tpl->getVariable('iva')->value;?>
"><?php echo $_smarty_tpl->getVariable('iva')->value;?>
</option> <br />
<?php }} ?>
</select>
</div>
<div style="width:62px;float:left">% IEPS:</div>
<div style="width:126px;float:left"><input name="porcentajeIEPS" id="porcentajeIEPS" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['porcentajeIEPS'];?>
" size="12" class="largeInput"/></div>
<div style="width:85px;float:left">% de Descuento:</div>
<div style="width:155px;float:left"><input name="porcentajeDescuento" id="porcentajeDescuento" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['porcentajeDescuento'];?>
" size="15" class="largeInput"/></div>
<div style="width:90px;float:left">Tipo de Cambio:</div>
<div style="width:135px;float:left"><input name="tipoDeCambio" id="tipoDeCambio" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['tipoDeCambio'];?>
" size="18" class="largeInput"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">% Retencion ISR:</div>
<div style="width:135px;float:left">
<select name="porcentajeRetIsr" id="porcentajeRetIsr" class="largeInput">
<?php $_smarty_tpl->tpl_vars['isr'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('retIsrs')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['isr']->key => $_smarty_tpl->tpl_vars['isr']->value){
?>
<option value="<?php echo $_smarty_tpl->getVariable('isr')->value;?>
"><?php echo $_smarty_tpl->getVariable('isr')->value;?>
</option> <br />
<?php }} ?>
</select></div>
<div style="width:90px;float:left">Comprobante:</div>
<div style="width:340px;float:left">
<select name="tiposComprobanteId" id="tiposComprobanteId" class="largeInput" style="width:315px">
<?php $_smarty_tpl->tpl_vars['comprobante'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('comprobantes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['comprobante']->key => $_smarty_tpl->tpl_vars['comprobante']->value){
?>
<option value="<?php echo $_smarty_tpl->getVariable('comprobante')->value['tiposComprobanteId'];?>
-<?php echo $_smarty_tpl->getVariable('comprobante')->value['serieId'];?>
"><?php echo $_smarty_tpl->getVariable('comprobante')->value['nombre'];?>
- <?php echo $_smarty_tpl->getVariable('comprobante')->value['consecutivo'];?>
</option>
<?php }} ?>
</select></div>
<div style="width:90px;float:left">Sucursal:</div>
<div style="width:155px;float:left">
<div class="txtFrm" style="width:140px"><?php echo $_smarty_tpl->getVariable('infSuc')->value['nombre'];?>
</div>
<input type="hidden" name="sucursalId" id="sucursalId" value="<?php echo $_smarty_tpl->getVariable('infSuc')->value['sucursalId'];?>
" />
</div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<hr />
</div>
<span id="loadingDivConcepto"></span>
<div class="formLine">
<div style="width:150px;float:left">Cantidad:</div>
<div style="width:150px;float:left">No. Ident:</div>
<div style="width:150px;float:left">Unidad:</div>
<div style="width:150px;float:left">Valor Unitario:</div>
<div style="width:150px;float:left">Excento Iva:</div>
<div style="clear:both"></div>
</div>
</form>
<form id="conceptoForm" name="conceptoForm">
<input type="hidden" name="type" id="type" value="" />
<div class="formLine">
<div style="width:150px;float:left">
<input name="cantidad" id="cantidad" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['cantidad'];?>
" size="15" class="largeInput" placeholder="Cantidad"/></div>
<div style="width:150px;float:left">
<input name="noIdentificacion" id="noIdentificacion" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['noIdentificacion'];?>
" size="15" class="largeInput" placeholder="No. Identificacion"/>
<div style="position:relative">
<div class="suggestGral" style="display:none;" id="sugProdDiv"></div>
</div>
</div>
<div style="width:150px;float:left">
<input name="unidad" id="unidad" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['unidad'];?>
" size="15" class="largeInput" placeholder="Unidad"/></div>
<div style="width:150px;float:left">
<input name="valorUnitario" id="valorUnitario" type="text" value="<?php echo $_smarty_tpl->getVariable('post')->value['valorUnitario'];?>
" size="15" class="largeInput" placeholder="Valor Unitario"/></div>
<div style="width:150px;float:left">
<select name="excentoIva" id="excentoIva" class="largeInput" style="width:120px">
<?php $_smarty_tpl->tpl_vars['iva'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('excentoIva')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['iva']->key => $_smarty_tpl->tpl_vars['iva']->value){
?>
<option value="<?php echo $_smarty_tpl->getVariable('iva')->value;?>
"><?php echo $_smarty_tpl->getVariable('iva')->value;?>
</option> <br />
<?php }} ?>
</select></div>
<div style="width:132px;float:left; cursor:pointer" id="agregarConceptoDiv" class="button"><span>Agregar</span></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:30%;float:left">
<textarea placeholder="Escribe tu concepto aqui" name="descripcion" id="descripcion" cols="33" rows="5" class="largeInput wide"><?php echo $_smarty_tpl->getVariable('post')->value['descripcion'];?>
</textarea>
</div>
<div style="clear:both"></div>
<hr />
</div>
</form>
Conceptos Cargados:
<div align="center" id="loader2" style="display:none">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/load.gif">
</div>
<div id="conceptos">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/conceptos-facturacion.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>
<br /><br />
<div class="formLine">
<div>Observaciones:</div>
<div><textarea placeholder="Observaciones" name="observaciones" cols="33" rows="5" id="observaciones" class="largeInput wide"></textarea></div>
<hr />
</div>
<div class="formLine">
<div>Totales Desglosados:</div>
<div id="totalesDesglosadosDiv">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/boxes/total-desglosado.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>
<hr />
</div>
<div align="center" id="loader" style="display:none">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/loading.gif">
<br>
Generando Comprobante...
<br />Este proceso puede tardar unos segundos.
</div>
<div align="center" id="loaderPrev" style="display:none">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/loading.gif">
<br>
Generando Vista Previa del Comprobante...
<br />Este proceso puede tardar unos segundos.
</div>
<div align="center" id="contTemp"></div>
<div style="clear:both"></div>
<div class="formLine" style="text-align:center; padding-left:320px" id ="reemplazarBoton">
<a class="button" id="generarFactura" name="generarFactura"><span>Generar Comprobante</span></a>
<a class="button" id="vistaPrevia" name="vistaPrevia"><span>Vista Previa</span></a>
</div>
</fieldset>
</div>

View File

@@ -1,32 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2015-03-12 11:22:20
compiled from "/var/www/html/templates/lists/enumTemporadas.tpl" */ ?>
<?php /*%%SmartyHeaderCode:12635460215501cb4c474092-71934946%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2d94440fdfb74a83029013e4b4719738e4fc5954' =>
array (
0 => '/var/www/html/templates/lists/enumTemporadas.tpl',
1 => 1410130459,
),
),
'nocache_hash' => '12635460215501cb4c474092-71934946',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="temporadaId" id="temporadaId" class="largeInput" style="width:300px">
<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('temporadas')->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['temporadaId'];?>
" <?php if ($_smarty_tpl->getVariable('info')->value['temporadaId']==$_smarty_tpl->getVariable('item')->value['temporadaId']){?>selected<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>

View File

@@ -1,48 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:09:07
compiled from "./templates/inventario-wizard-list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1957708307540a161401b2f1-58838905%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2e45e970fefafd0e0ce3336e9f2be8931413cebc' =>
array (
0 => './templates/inventario-wizard-list.tpl',
1 => 1410130446,
),
),
'nocache_hash' => '1957708307540a161401b2f1-58838905',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
?><div class="grid_16" id="content">
<div class="grid_9">
<h1 class="inventario">Ajustar Inv. con Excel</h1>
</div>
<div class="grid_6" id="eventbox">
<a href="#" class="inline_calendar" style="color:#FF0000">
Los productos SOLO se agregar&aacute;n al stock actual.
</a>
<div class="hidden_calendar"></div>
</div>
<div class="clear"></div>
<div align="center">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/inventario-wizard" class="inline_add">Agregar Ajuste</a>
</div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/inventario-wizard.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,35 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:09:07
compiled from "/var/www/html/templates/items/inventario-wizard-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1997121980540a1614146d95-58959118%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2fba3c874adbc802e53a2a2a78c9201801a7a903' =>
array (
0 => '/var/www/html/templates/items/inventario-wizard-header.tpl',
1 => 1410130455,
),
),
'nocache_hash' => '1997121980540a1614146d95-58959118',
'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="80" scope="col"><div align="center">No.</div></th>
<th width="300" scope="col"><div align="center">Sucursal</div></th>
<th width="150" scope="col"><div align="center">Fecha</div></th>
<th width="" scope="col"><div align="center">Usuario</div></th>
<th width="100" scope="col"><div align="center">Acci&oacute;n</div></th>
</tr>
</thead>
<tbody>

View File

@@ -1,186 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:14:59
compiled from "C:\xampp\htdocs\html/templates/menus/main.tpl" */ ?>
<?php /*%%SmartyHeaderCode:10639540776c30eaf50-98915140%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3186dc0b3a6bafe9af054f16249156f1ac874d99' =>
array (
0 => 'C:\\xampp\\htdocs\\html/templates/menus/main.tpl',
1 => 1408525902,
),
),
'nocache_hash' => '10639540776c30eaf50-98915140',
'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,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:37:46
compiled from "./templates/lists/facturas-listado.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1527874725540a2532d9bfd5-96962005%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'330ddf1d282d741196b3e4b7245084a90c3800a1' =>
array (
0 => './templates/lists/facturas-listado.tpl',
1 => 1410130459,
),
),
'nocache_hash' => '1527874725540a2532d9bfd5-96962005',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/facturas-listado-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('comprobantes')->value['items'])){?>
<?php $_smarty_tpl->tpl_vars['fact'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('comprobantes')->value['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['fact']->key => $_smarty_tpl->tpl_vars['fact']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['fact']->key;
?>
<?php if ($_smarty_tpl->getVariable('key')->value%2==0){?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/facturas-listado-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/facturas-listado-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="8" 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('comprobantes')->value['pages']);$_template->assign('colspan',8); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -1,44 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:29:28
compiled from "/var/www/html/templates/items/facturacion-mensual-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:6972831795411bfd8229be2-37224542%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3360d0709ee2e854ec625252626af6405250eea1' =>
array (
0 => '/var/www/html/templates/items/facturacion-mensual-header.tpl',
1 => 1410130454,
),
),
'nocache_hash' => '6972831795411bfd8229be2-37224542',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"></div>
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div align="center">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/user.gif" width="16" height="16" /> Resumen de Comprobantes Emitidos
</div>
<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="70" scope="col"><div align="center">RFC</div></th>
<th width="" scope="col"><div align="center">Nombre</div></th>
<th width="60" scope="col"><div align="center">Fecha</div></th>
<th width="89" scope="col"><div align="center">Monto</div></th>
<th width="60" scope="col"><div align="center">Folio</div></th>
<?php if ($_smarty_tpl->getVariable('version')->value=="construc"||$_smarty_tpl->getVariable('version')->value=="v3"){?>
<th width="120" scope="col"><div align="center">UUID</div></th>
<?php }?>
<th width="70" scope="col"><div align="center">Periodo</div></th>
<th width="34" scope="col"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:23
compiled from "/var/www/html/templates/items/usuarios-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:209720742954075a92225a08-72339617%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:11:52
compiled from "/var/www/html/ventas/templates/items/usuarios-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:167612443695df928a62c11-16824297%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'07fcfd9716a3d57f77cbbca50b9d1ce20155dc05' =>
'38de255038781fb4b90312a4d8b4c38ba30c9f07' =>
array (
0 => '/var/www/html/templates/items/usuarios-header.tpl',
1 => 1410130456,
0 => '/var/www/html/ventas/templates/items/usuarios-header.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '209720742954075a92225a08-72339617',
'nocache_hash' => '167612443695df928a62c11-16824297',
'function' =>
array (
),

View File

@@ -1,23 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 09:51:34
compiled from "/var/www/html/templates/lists/enumMetodoCompra.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2014588420540a160f84c7a2-31953634%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3aee1e59ca95d345b868be0e8a72fb44dc6a8957' =>
array (
0 => '/var/www/html/templates/lists/enumMetodoCompra.tpl',
1 => 1410130458,
),
),
'nocache_hash' => '2014588420540a160f84c7a2-31953634',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="metodoCompra" id="metodoCompra" class="largeInput" style="width:300px">
<option value="">Seleccione</option>
<option value="conIva" <?php if ($_smarty_tpl->getVariable('info')->value['metodoCompra']=="conIva"){?>selected<?php }?>>IVA Incluido</option>
<option value="sinIva" <?php if ($_smarty_tpl->getVariable('info')->value['metodoCompra']=="sinIva"){?>selected<?php }?>>IVA No Incluido</option>
</select>

View File

@@ -1,48 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:46
compiled from "./templates/lists/reportes-invparcial.tpl" */ ?>
<?php /*%%SmartyHeaderCode:837243430540a203535a7a8-23655002%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3fb17eac714160f28b83ac8d7316fff25cbc0e16' =>
array (
0 => './templates/lists/reportes-invparcial.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '837243430540a203535a7a8-23655002',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/reportes-invparcial-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('reportesInv')->value['items'])){?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('reportesInv')->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/reportes-invparcial-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/reportes-invparcial-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="7" 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('reportesInv')->value['pages']);$_template->assign('colspan',7); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:56:01
compiled from "./templates/lists/reportes-tickets.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17917636195411c611838734-21004135%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'409cf91903a9fab63f6d6ff1b6f444217eea127c' =>
array (
0 => './templates/lists/reportes-tickets.tpl',
1 => 1410360592,
),
),
'nocache_hash' => '17917636195411c611838734-21004135',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="reportes">Reportes de Tickets</h1>
</div>
<div class="clear"></div>
<?php $_template = new Smarty_Internal_Template("forms/filtro-reporte-ticket.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 class="clear"></div>
<div id="tipoRv"></div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/reportes-tickets.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="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>
<div class="clear"></div>
</div>

View File

@@ -1,23 +1,22 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 19:30:05
compiled from "./templates/promociones.tpl" */ ?>
<?php /*%%SmartyHeaderCode:65188640954075d875bbbf7-85307005%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:47
compiled from "/var/www/html/ventas/templates/promociones.tpl" */ ?>
<?php /*%%SmartyHeaderCode:476273363695e04270c52a3-55262553%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3dbfbf4369f4065486728364c580df10c418e54f' =>
'418db930dc3679351e7438772f62b92861198011' =>
array (
0 => './templates/promociones.tpl',
1 => 1410130447,
0 => '/var/www/html/ventas/templates/promociones.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '65188640954075d875bbbf7-85307005',
'nocache_hash' => '476273363695e04270c52a3-55262553',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
?><div class="grid_16" id="content">
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="catalogos">Promociones</h1>

View File

@@ -1,76 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-19 12:10:33
compiled from "/var/www/html/templates/lists/pedidos-productos-dist6.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1350786541541c638981ab44-72680400%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'42ce67cc65164df8706f1b68033d7cce91ea6992' =>
array (
0 => '/var/www/html/templates/lists/pedidos-productos-dist6.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '1350786541541c638981ab44-72680400',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<br />
<form name="frmDistribucion" id="frmDistribucion">
<input type="hidden" name="type" id="type" value="distribucionPedido" />
<input type="hidden" name="pedidoId" id="pedidoId" value="<?php echo $_smarty_tpl->getVariable('info')->value['pedidoId'];?>
" />
<input type="hidden" name="idProd" id="idProd" value="" />
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('products')->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;
?>
<div align="center">
<b><?php echo $_smarty_tpl->getVariable('item')->value['modelo'];?>
<br /><?php echo $_smarty_tpl->getVariable('item')->value['atributos'];?>
<br /><?php echo $_smarty_tpl->getVariable('item')->value['codigoBarra'];?>
</b>
<br /> Cant. Prendas: <div id="txtCantPrendas_<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
"><?php echo $_smarty_tpl->getVariable('item')->value['prendasFaltantes'];?>
</div>
</div>
<br />
<?php $_smarty_tpl->tpl_vars['iS'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['kS'] = 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['iS']->key => $_smarty_tpl->tpl_vars['iS']->value){
$_smarty_tpl->tpl_vars['kS']->value = $_smarty_tpl->tpl_vars['iS']->key;
?>
<?php ob_start();?><?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('iS')->value['sucursalId'];?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->assign("distP",$_smarty_tpl->getVariable('dist')->value[$_tmp1][$_tmp2],null,null);?>
<div class="boxDist">
Suc. <?php echo $_smarty_tpl->getVariable('iS')->value['noSuc'];?>
<br />
<input type="text" class="smallInput" name="cant_<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
_<?php echo $_smarty_tpl->getVariable('iS')->value['sucursalId'];?>
" id="cant_<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
_<?php echo $_smarty_tpl->getVariable('iS')->value['sucursalId'];?>
" style="width:50px" onblur="UpdateSaldoPrendas(<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
)" value="<?php echo $_smarty_tpl->getVariable('distP')->value['cantidad'];?>
" />
</div>
<?php }} ?>
<div style="clear:both"></div>
<br />
<?php }} else { ?>
<div align="center">Ning&uacute;n producto encontrado.</div>
<?php } ?>
<div style="clear:both"></div>
</form>

View File

@@ -1,41 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:02:40
compiled from "/var/www/html/templates/items/devoluciones-cedis-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:264485643540de1304320a1-71367184%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'442a11d8110ce06c228ae2c9ac54baed3ed2c279' =>
array (
0 => '/var/www/html/templates/items/devoluciones-cedis-base.tpl',
1 => 1410130454,
),
),
'nocache_hash' => '264485643540de1304320a1-71367184',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
?> <tr>
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['devCedisId'];?>
</div></td>
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['usuario'];?>
</div></td>
<td align="center"><div align="center"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('item')->value['fecha'],"%d-%m-%Y %k:%M:%S");?>
</div></td>
<td align="center"><div align="center">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/devoluciones-cedis-detalles/id/<?php echo $_smarty_tpl->getVariable('item')->value['devCedisId'];?>
" title="Ver Detalles">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/details.png" border="0"/>
</a>
<a href="javascript:void(0)" onclick="DeleteDev(<?php echo $_smarty_tpl->getVariable('item')->value['devCedisId'];?>
)" title="Eliminar">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.png" border="0"/>
</a>
</div>
</td>
</tr>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:17
compiled from "./templates/clientes.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1681353286540ce306df4229-11210961%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:45:16
compiled from "/var/www/html/ventas/templates/clientes.tpl" */ ?>
<?php /*%%SmartyHeaderCode:704330390695e00fc754cb5-75356207%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'118112af7dbebdae36f8fd2647d6373aca4e6a21' =>
'448e8b64d872cdc9da0f3b86a56e6f6cab59e43b' =>
array (
0 => './templates/clientes.tpl',
1 => 1410130445,
0 => '/var/www/html/ventas/templates/clientes.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1681353286540ce306df4229-11210961',
'nocache_hash' => '704330390695e00fc754cb5-75356207',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:21:51
compiled from "./templates/lists/productos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1173531381540de5af82d2f3-74373227%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:26
compiled from "/var/www/html/ventas/templates/lists/productos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:468493034695e0412722b17-36104370%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'872ea0543ef9b183558e47166c86c6c83df441ef' =>
'44eeaaaecc1efe4c97fe312b8f9f5deccd845f9b' =>
array (
0 => './templates/lists/productos.tpl',
1 => 1410130460,
0 => '/var/www/html/ventas/templates/lists/productos.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1173531381540de5af82d2f3-74373227',
'nocache_hash' => '468493034695e0412722b17-36104370',
'function' =>
array (
),

View File

@@ -1,35 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:37:49
compiled from "./templates/facturas-datos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1855540307540a2542892913-78377980%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'462138f9fc2abcdd22595d9630bf92a3f47d55b9' =>
array (
0 => './templates/facturas-datos.tpl',
1 => 1410130446,
),
),
'nocache_hash' => '1855540307540a2542892913-78377980',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="catalogos">Mis Datos :: Actualizar</h1>
</div>
<div class="clear"></div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("forms/agregar-cliente-datos.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,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:03
compiled from "./templates/lists/materiales.tpl" */ ?>
<?php /*%%SmartyHeaderCode:49881498540f5c7fe98a69-46873685%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:56:03
compiled from "/var/www/html/ventas/templates/lists/materiales.tpl" */ ?>
<?php /*%%SmartyHeaderCode:189489322695e0383bd1a86-10713970%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'92a798a41dcc7c637692e3c7b98bd2254918a6f0' =>
'470dea2be2833754a84596c84469f615b2b3cde7' =>
array (
0 => './templates/lists/materiales.tpl',
1 => 1410130459,
0 => '/var/www/html/ventas/templates/lists/materiales.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '49881498540f5c7fe98a69-46873685',
'nocache_hash' => '189489322695e0383bd1a86-10713970',
'function' =>
array (
),

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:58:14
compiled from "./templates/lists/ventas.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1425469176540f5bd6beefa9-70373735%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'481b70514c053b18c6fe5b12cb0b49c6d408c682' =>
array (
0 => './templates/lists/ventas.tpl',
1 => 1410130461,
),
),
'nocache_hash' => '1425469176540f5bd6beefa9-70373735',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/ventas-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('ventas')->value['items'])){?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('ventas')->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/ventas-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/ventas-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="8" 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('ventas')->value['pages']);$_template->assign('colspan',8); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -1,112 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 14:35:23
compiled from "./templates/forms/search-facturas-mens-gral.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2085184645542079fb8eadb5-72788358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'498c6fb3f6a5cbd30fb74c8e155e0300167541b1' =>
array (
0 => './templates/forms/search-facturas-mens-gral.tpl',
1 => 1410130452,
),
),
'nocache_hash' => '2085184645542079fb8eadb5-72788358',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"></div>
<div id="portlets">
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div class="portlet-content nopadding">
<form name="frmBusqueda" id="frmBusqueda" method="post" action="">
<input type="hidden" name="type" id="type" value="buscarMens" />
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
<thead>
<tr>
<th width="76" scope="col"></th>
<th width="129" scope="col"><div align="center">Mes</div></th>
<th width="79" scope="col"><div align="center">A&ntilde;o</div></th>
<th width="123" scope="col"><div align="center">Status</div></th>
<th width="90" scope="col"><div align="center">Comprobante</div></th>
<th width="90" scope="col"><div align="center">Sucursal</div></th>
<th width="" scope="col"></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center"></td>
<td align="center">
<select name="mes" id="mes" class="smallInput">
<option value="0">Todos</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('meses')->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['id'];?>
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>
</td>
<td align="center">
<input type="text" size="4" name="anio" id="anio" maxlength="4" class="smallInput" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<select name="status" id="status" class="smallInput">
<option value="">Todos</option>
<option value="1">Activos</option>
<option value="0">Cancelados</option>
</select>
</td>
<td align="center">
<select name="tiposComprobanteId" id="tiposComprobanteId" class="smallInput">
<option value="0">Todos</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('tiposComprobantes')->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['tiposComprobanteId'];?>
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>
</td>
<td align="center">
<select name="idSucursal" id="idSucursal" class="smallInput">
<option value="">Seleccione</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('sucursales')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>
</td>
<td align="center"></td>
</tr>
<tr>
<td colspan="7" align="center" style="border-top:none">
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Buscar()" />
</td>
</tr>
</tbody>
</table>
</form>
</div>
</div>

View File

@@ -1,78 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:02:43
compiled from "/var/www/html/templates/lists/pedidos-productos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1709907038540a160f920cb0-05099991%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4d6d79c929edf4c107cb5c8417f1b3e744dc6c10' =>
array (
0 => '/var/www/html/templates/lists/pedidos-productos.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '1709907038540a160f920cb0-05099991',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('products')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['it']->key => $_smarty_tpl->tpl_vars['it']->value){
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['it']->key;
?>
<hr />
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="120" align="left" height="40">Departamento:</td>
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['departamento'];?>
</div></td>
<td width="10"></td>
<td width="130" align="left">L&iacute;nea:</td>
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['linea'];?>
</div></td>
<td width="30" align="center">
<a href="javascript:void(0)" onclick="DeleteProducto(<?php echo $_smarty_tpl->getVariable('k')->value;?>
)" title="Eliminar">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.png" border="0" /></a>
</td>
</tr>
<tr>
<td width="120" align="left" height="40">Modelo:</td>
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['modelo'];?>
</div></td>
<td width="10"></td>
<td width="130" align="left">Descripci&oacute;n:</td>
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['atributos'];?>
</div></td>
<td width="10"></td>
</tr>
<tr>
<td width="120" align="left" height="40">C&oacute;digo de Barra:</td>
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['codigoBarra'];?>
</div></td>
<td width="10"></td>
<td width="130" align="left">Cant. de Prendas a Solicitar:</td>
<td align="left"><div class="txtFrm" style="width:270px"><?php echo $_smarty_tpl->getVariable('it')->value['cantPrendas'];?>
</div></td>
<td width="10"></td>
</tr>
<tr>
<td colspan="6" align="center">&nbsp;</td>
</tr>
<tr>
<td colspan="6" align="center">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pedidos-proporciones2.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>
<?php }} else { ?>
<hr />
Ning&uacute;n producto encontrado.
<?php } ?>

View File

@@ -1,93 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-26 13:17:38
compiled from "./templates/forms/search-envios-recibir-reporte.tpl" */ ?>
<?php /*%%SmartyHeaderCode:21376829005425adc250b817-45616639%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4e209dea1f08258595a1aa692555cbb7eef78f51' =>
array (
0 => './templates/forms/search-envios-recibir-reporte.tpl',
1 => 1410130452,
),
),
'nocache_hash' => '21376829005425adc250b817-45616639',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<form name="frmSearch" id="frmSearch">
<input type="hidden" name="action" id="action" value="search" />
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="box-table-a" style="border-top:1px solid #999999">
<thead>
<tr>
<th align="center" width="50"></th>
<th align="center" width="250"><div align="center">Sucursal</div></th>
<th width="200"><div align="center">No. Env&iacute;o</div></th>
<th align="center" width="120"><div align="center">C&oacute;digo Barra</div></th>
<th align="center"><div align="center">Status</div></th>
<th align="center" width="50"></th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td align="center">
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
<div class="txtFrm" style="width:200px"><?php echo $_smarty_tpl->getVariable('info')->value['sucursal'];?>
</div>
<input type="hidden" name="sucursalId2" id="sucursalId2" value="<?php echo $_smarty_tpl->getVariable('Usr')->value['sucursalId'];?>
" />
<?php }else{ ?>
<select name="sucursalId2" id="sucursalId2" class="largeInput" style="width:200px">
<option value="">Seleccione</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('sucursales')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['sucursalId'];?>
" <?php if ($_smarty_tpl->getVariable('post')->value['sucursalId']==$_smarty_tpl->getVariable('item')->value['sucursalId']){?>selected<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>
<?php }?>
</td>
<td align="center">
<input type="text" name="envioId2" id="envioId2" class="largeInput" style="width:70px" maxlength="10" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<input type="text" name="codigoBarra2" id="codigoBarra2" class="largeInput" style="width:120px" maxlength="30" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<select name="status2" id="status2" class="largeInput">
<option value="">Seleccione</option>
<option value="Autorizado">Autorizado</option>
<option value="Rechazado">Rechazado</option>
<option value="Pendiente">Pendiente</option>
</select>
</td>
<td></td>
</tr>
<tr>
<td align="center" colspan="6">
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Search()" />
</td>
</tr>
<tr>
<td colspan="6">
<div align="center">
<div id="loadBusqueda" style="display:none">
<br />
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/loading.gif" width="16" height="16" />
<br />Cargando...
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>

View File

@@ -1,22 +1,22 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 19:30:06
compiled from "/var/www/html/templates/items/promociones-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:49018548954075d876e5da1-12992316%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:47
compiled from "/var/www/html/ventas/templates/items/promociones-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2115201293695e04270f2476-61789852%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f751636b67e0b7c7e42a4472d5b156f42cf276c6' =>
'4ecb949c0d4023d76fa2c9b8912e69c21f5e0c2b' =>
array (
0 => '/var/www/html/templates/items/promociones-base.tpl',
1 => 1410130456,
0 => '/var/www/html/ventas/templates/items/promociones-base.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '49018548954075d876e5da1-12992316',
'nocache_hash' => '2115201293695e04270f2476-61789852',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/libs/plugins/modifier.date_format.php';
<?php if (!is_callable('smarty_modifier_date_format')) include '/var/www/html/ventas/libs/plugins/modifier.date_format.php';
?> <tr>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['promocionId'];?>
</td>

View File

@@ -1,51 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2015-03-12 11:22:20
compiled from "/var/www/html/templates/lists/productos-materiales.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2332778865501cb4c3e9c35-94133402%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4ffadc48c0212228e49116fe50bfb352f06f8c45' =>
array (
0 => '/var/www/html/templates/lists/productos-materiales.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '2332778865501cb4c3e9c35-94133402',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('prodMats')->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;
?>
<tr>
<td width="130" align="left">* Material</td>
<td align="left" height="40"><?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumMatProd.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 width="10"></td>
<td width="130" align="left">* % Porcentaje</td>
<td align="left"><input name="porcentaje[<?php echo $_smarty_tpl->getVariable('key')->value;?>
]" id="porcentaje_<?php echo $_smarty_tpl->getVariable('key')->value;?>
" type="text" class="largeInput" style="width:260px" value="<?php echo $_smarty_tpl->getVariable('item')->value['porcentaje'];?>
"/>
</td>
<td><a href="javascript:void(0)" onclick="DeleteMaterial(<?php echo $_smarty_tpl->getVariable('key')->value;?>
)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.png" border="0" />
</a>
</td>
</tr>
<?php }} else { ?>
<tr>
<td align="center">Ning&uacute;n material encontrado.</td>
</tr>
<?php } ?>
</table>

View File

@@ -1,34 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:02:40
compiled from "/var/www/html/templates/items/devoluciones-cedis-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2051292112540de130420156-04578450%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'52f1c3ecb2a66b9dd26d3534c6aaa5fa320ce96c' =>
array (
0 => '/var/www/html/templates/items/devoluciones-cedis-header.tpl',
1 => 1410130454,
),
),
'nocache_hash' => '2051292112540de130420156-04578450',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"></div>
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div class="portlet-content nopadding">
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
<thead>
<tr>
<th width="80" scope="col"><div align="center">No.</div></th>
<th width="" scope="col"><div align="center">Usuario</div></th>
<th width="200" scope="col"><div align="center">Fecha</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 2014-09-09 15:00:59
compiled from "/var/www/html/templates/items/politicas-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2091521337540f5c7b69b864-07521439%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:48
compiled from "/var/www/html/ventas/templates/items/politicas-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1622218388695e0428543900-60785309%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'156a9c1fe3ce5cdcaa5a5e87ab433013936e4195' =>
'53d4ba85f66a90064d90663609a7e57ac507e46d' =>
array (
0 => '/var/www/html/templates/items/politicas-base.tpl',
1 => 1410130455,
0 => '/var/www/html/ventas/templates/items/politicas-base.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '2091521337540f5c7b69b864-07521439',
'nocache_hash' => '1622218388695e0428543900-60785309',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:48
compiled from "/var/www/html/templates/lists/atributos-valores.tpl" */ ?>
<?php /*%%SmartyHeaderCode:114006895154205b9c47a040-96385028%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:38
compiled from "/var/www/html/ventas/templates/lists/atributos-valores.tpl" */ ?>
<?php /*%%SmartyHeaderCode:388212889695e041e76c952-75157865%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3d40df9e92019fcbfe6a7f4bd6d6732ddcc549d1' =>
'5488f24312a41144df3e3124e4197048e9bdb3be' =>
array (
0 => '/var/www/html/templates/lists/atributos-valores.tpl',
1 => 1410130457,
0 => '/var/www/html/ventas/templates/lists/atributos-valores.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '114006895154205b9c47a040-96385028',
'nocache_hash' => '388212889695e041e76c952-75157865',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:58:28
compiled from "./templates/forms/agregar-usuario.tpl" */ ?>
<?php /*%%SmartyHeaderCode:208362189254075a9bac5bc8-59526592%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:32:08
compiled from "/var/www/html/ventas/templates/forms/agregar-usuario.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1627511113695dfde8509dc5-25723782%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'279dbab88077f9b3d4c80e15cec359a91e646bcd' =>
'5549f7cbb09b4270cc53e9dca037dcba34923971' =>
array (
0 => './templates/forms/agregar-usuario.tpl',
1 => 1410130450,
0 => '/var/www/html/ventas/templates/forms/agregar-usuario.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '208362189254075a9bac5bc8-59526592',
'nocache_hash' => '1627511113695dfde8509dc5-25723782',
'function' =>
array (
),

View File

@@ -1,35 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:36:13
compiled from "/var/www/html/templates/items/inventario-wizard2-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1447539026540e3d6d3fb0f2-82443229%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'55f8eb91176eea36e2ceb10b5a6265711cb852e7' =>
array (
0 => '/var/www/html/templates/items/inventario-wizard2-header.tpl',
1 => 1410130455,
),
),
'nocache_hash' => '1447539026540e3d6d3fb0f2-82443229',
'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="80" scope="col"><div align="center">No.</div></th>
<th width="300" scope="col"><div align="center">Sucursal</div></th>
<th width="150" scope="col"><div align="center">Fecha</div></th>
<th width="" scope="col"><div align="center">Usuario</div></th>
<th width="100" scope="col"><div align="center">Acci&oacute;n</div></th>
</tr>
</thead>
<tbody>

View File

@@ -1,87 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 10:07:42
compiled from "./templates/forms/agregar-envio-cedis.tpl" */ ?>
<?php /*%%SmartyHeaderCode:19946011265411babe7f8058-49954136%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'560d2e9e2a1bddd10db9a93f6eb72ebe83f16b48' =>
array (
0 => './templates/forms/agregar-envio-cedis.tpl',
1 => 1410130449,
),
),
'nocache_hash' => '19946011265411babe7f8058-49954136',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="divForm">
<form id="frmMercancia" name="frmMercancia" method="post">
<input type="hidden" id="type" name="type" value="sendMercancia" />
<fieldset>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="120" height="40">* Tienda de Env&iacute;o:</td>
<td><?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumSucEnvios.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 width="10"></td>
<td width="130"></td>
<td></td>
</tr>
<tr><td colspan="5">&nbsp;</td></tr>
<tr>
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
<b>.:: ORDENES PENDIENTES POR ENVIO ::.</b>
</td>
</tr>
<tr>
<td colspan="5" align="center">
<hr />
<div id="ordenes">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/envios-ordenes-comp.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>
</table>
<hr />
</fieldset>
</form>
* Campos requeridos
<br />
<div align="center" style="display:none" id="loader">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/loading.gif">
<br>
Guardando Informaci&oacute;n...
<br />Este proceso puede tardar unos segundos.
<br />&nbsp;
</div>
<div style="clear:both"></div>
<div style="float:left; margin-left:300px">
<a class="button" name="btnSave" onclick="SendMercancia()" style="margin-right:20px">
<span>Enviar Mercancia y Generar Talones de Embarque</span>
</a>
</div>
<div style="clear:both"></div>
<br />
<div align="center">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/envios"><< Regresar</a>
</div>
</div>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:23
compiled from "/var/www/html/templates/menus/submenu2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1386752571540a15c1c1f202-27343885%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:11:52
compiled from "/var/www/html/ventas/templates/menus/submenu2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1731378321695df9289e79c4-84778495%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'065d741cd487d5f79febb3b456a6bf7a4322aa36' =>
'56465d27e1df56835c71d7cdb2dc2df60120e83e' =>
array (
0 => '/var/www/html/templates/menus/submenu2.tpl',
1 => 1410130461,
0 => '/var/www/html/ventas/templates/menus/submenu2.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1386752571540a15c1c1f202-27343885',
'nocache_hash' => '1731378321695df9289e79c4-84778495',
'function' =>
array (
),

View File

@@ -1,34 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:58:14
compiled from "/var/www/html/templates/lists/enumUsers.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2074411642540f5bd6bc4548-13828934%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'56aca60b1ef5a67e2cc218aed0cd18cde11fe009' =>
array (
0 => '/var/www/html/templates/lists/enumUsers.tpl',
1 => 1410130459,
),
),
'nocache_hash' => '2074411642540f5bd6bc4548-13828934',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="usuarioId2" id="usuarioId2" class="smallInput">
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="cajero"){?>
<option value="">Todos</option>
<?php }?>
<?php $_smarty_tpl->tpl_vars['item'] = 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['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['usuarioId'];?>
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>

View File

@@ -1,44 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 17:27:50
compiled from ".\templates\reportes-ventas.tpl" */ ?>
<?php /*%%SmartyHeaderCode:21076540795e65424d1-06235535%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'57ed335cddff5e2a8e53594903d317af09d8c799' =>
array (
0 => '.\\templates\\reportes-ventas.tpl',
1 => 1408525966,
),
),
'nocache_hash' => '21076540795e65424d1-06235535',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="reportes">Reportes de Ventas</h1>
</div>
<div class="clear"></div>
<?php $_template = new Smarty_Internal_Template("forms/filtro-reporte-ventas.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 class="clear"></div>
<div id="tipoRv"></div>
<div class="grid_15" id="contenido">
</div>
<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>
<div class="clear"></div>
</div>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:21:51
compiled from "/var/www/html/templates/items/productos-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2125087538540de5af860187-19283776%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:26
compiled from "/var/www/html/ventas/templates/items/productos-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1634267886695e0412738d12-99346719%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8e8bc9ac7f062eb4a78b0c4d8ed54f4f9ebe19e9' =>
'5a55657fc48a02382478ebcac42e77038b96bfaa' =>
array (
0 => '/var/www/html/templates/items/productos-header.tpl',
1 => 1410130456,
0 => '/var/www/html/ventas/templates/items/productos-header.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '2125087538540de5af860187-19283776',
'nocache_hash' => '1634267886695e0412738d12-99346719',
'function' =>
array (
),

View File

@@ -1,54 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-26 13:17:38
compiled from "/var/www/html/templates/items/envios-productos-recibidos-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1397033445425adc2637a07-97404418%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5c0d025ec96caaf4c6d69006d18ee67c445c0083' =>
array (
0 => '/var/www/html/templates/items/envios-productos-recibidos-base.tpl',
1 => 1410130454,
),
),
'nocache_hash' => '1397033445425adc2637a07-97404418',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<tr>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['envioId'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['sucursal'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['codigoBarra'];?>
</td>
<td align="left"><?php echo $_smarty_tpl->getVariable('item')->value['modelo'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['total'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['tipo'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['recibido'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['status'];?>
</td>
<td align="center">
<?php if (($_smarty_tpl->getVariable('Usr')->value['type']=="admin"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen")&&$_smarty_tpl->getVariable('item')->value['status']=="Pendiente"){?>
<a href="javascript:void(0)" title="Autorizar" onclick="AutorizarProducto(<?php echo $_smarty_tpl->getVariable('item')->value['envRepProdId'];?>
)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/ok.png" border="1" />
</a>
<a href="javascript:void(0)" title="Rechazar" onclick="RechazarProducto(<?php echo $_smarty_tpl->getVariable('item')->value['envRepProdId'];?>
)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/cancel.png" border="1" />
</a>
<?php }?>
</td>
</tr>

View File

@@ -1,41 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-12-10 08:16:13
compiled from "./templates/envios-reporte.tpl" */ ?>
<?php /*%%SmartyHeaderCode:834771526548855ad13d073-92625572%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5db7ad4a1118710de2a47d0a109470ee067eafe2' =>
array (
0 => './templates/envios-reporte.tpl',
1 => 1410130445,
),
),
'nocache_hash' => '834771526548855ad13d073-92625572',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="catalogos">Reporte de Env&iacute;os :: CEDIS - Tienda</h1>
</div>
<div class="clear"></div>
<?php $_template = new Smarty_Internal_Template("forms/search-envios-reporte.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 class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/envios-reporte.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,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:18
compiled from "/var/www/html/templates/menus/main.tpl" */ ?>
<?php /*%%SmartyHeaderCode:14245309135409fd00649057-97011075%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-06 23:31:59
compiled from "/var/www/html/ventas/templates/menus/main.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1363395062695defcf0d3d23-93205913%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'33df58a2d40311f1980c935e08555bae0f2512c3' =>
'609737f18f894abfa6157e8d0005cc9d18d3c612' =>
array (
0 => '/var/www/html/templates/menus/main.tpl',
1 => 1410130461,
0 => '/var/www/html/ventas/templates/menus/main.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '14245309135409fd00649057-97011075',
'nocache_hash' => '1363395062695defcf0d3d23-93205913',
'function' =>
array (
),

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:48
compiled from "/var/www/html/templates/items/atributos-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:192373117354205b9c3c5763-76477312%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:38
compiled from "/var/www/html/ventas/templates/items/atributos-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:879183085695e041e753c80-19984834%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'139f55c851863623285d7490b266f430851ba816' =>
'61a608b46520e886e783d506a5564f3a569d05a1' =>
array (
0 => '/var/www/html/templates/items/atributos-header.tpl',
1 => 1410130453,
0 => '/var/www/html/ventas/templates/items/atributos-header.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '192373117354205b9c3c5763-76477312',
'nocache_hash' => '879183085695e041e753c80-19984834',
'function' =>
array (
),

View File

@@ -1,40 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:36:20
compiled from "/var/www/html/templates/items/inventario-bloqueados-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:254323889540e3d741e0009-92157283%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'627a98692ed54c9125341abf83941288ee7c40da' =>
array (
0 => '/var/www/html/templates/items/inventario-bloqueados-header.tpl',
1 => 1410130454,
),
),
'nocache_hash' => '254323889540e3d741e0009-92157283',
'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" border="0">
<thead>
<tr>
<th width="60" scope="col"><div align="center">C&oacute;digo Barra</div></th>
<th width="150" scope="col"><div align="center">Proveedor</div></th>
<th width="" scope="col"><div align="center">Modelo</div></th>
<th width="80" scope="col"><div align="center">Talla</div></th>
<th width="80" scope="col"><div align="center">Color</div></th>
<th width="70" scope="col"><div align="center"><?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>Disponible<?php }else{ ?>Cantidad<?php }?></div></th>
<th width="80" scope="col"><div align="center">Sucursal</div></th>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="almacen"){?>
<th width="60" scope="col"><div align="center">Acciones</div></th>
<?php }?>
</tr>
</thead>
<tbody>

View File

@@ -1,136 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:14:46
compiled from "C:\xampp\htdocs\html/templates/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:10432540776b6366617-01804133%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'62dded25869b9420b42b9cd24a8bf6afb4cf9e0b' =>
array (
0 => 'C:\\xampp\\htdocs\\html/templates/index.tpl',
1 => 1408525936,
),
),
'nocache_hash' => '10432540776b6366617-01804133',
'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>
<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>
<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,35 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:07:34
compiled from "./templates/devoluciones-cedis-detalles.tpl" */ ?>
<?php /*%%SmartyHeaderCode:447008494540de256e9f7a5-68794247%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'649174cc27f8f45dcf087e7cb9e66effcf80cdbb' =>
array (
0 => './templates/devoluciones-cedis-detalles.tpl',
1 => 1410130445,
),
),
'nocache_hash' => '447008494540de256e9f7a5-68794247',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="grid_16" id="content">
<div class="grid_9">
<h1 class="compras">Devoluciones a CEDIS :: Detalles</h1>
</div>
<div class="clear"></div>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("forms/detalles-devolucion-cedis.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,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:00:56
compiled from "/var/www/html/templates/items/motivos-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1424158897540f5c78155623-68113607%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:45
compiled from "/var/www/html/ventas/templates/items/motivos-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:697274339695e042588dbc9-00387063%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'7b32ab60db352a8387c44c6d25376472c8bea720' =>
'64dc8c5d9b9799e7763b116b5153917ed668d31a' =>
array (
0 => '/var/www/html/templates/items/motivos-base.tpl',
1 => 1410130455,
0 => '/var/www/html/ventas/templates/items/motivos-base.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1424158897540f5c78155623-68113607',
'nocache_hash' => '697274339695e042588dbc9-00387063',
'function' =>
array (
),

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2015-03-12 11:22:20
compiled from "/var/www/html/templates/lists/productos-codigos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:21199363645501cb4c4a8498-00023334%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'65913ad4db2901af02c95ec91e1ecfe20e2f13d0' =>
array (
0 => '/var/www/html/templates/lists/productos-codigos.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '21199363645501cb4c4a8498-00023334',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('codigos')->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;
?>
<tr>
<td width="130" align="left">* Art&iacute;culo</td>
<td align="left"><input name="" id="" type="text" class="largeInput" value="<?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
" style="background-color:#E6E6E6; width:300px" readonly="readonly"/></td>
<td width="10"></td>
<td width="130" align="left">* C&oacute;digo</td>
<td align="left"><input name="codigo[<?php echo $_smarty_tpl->getVariable('item')->value['tallaId'];?>
][<?php echo $_smarty_tpl->getVariable('item')->value['colorId'];?>
]" id="codigo_<?php echo $_smarty_tpl->getVariable('item')->value['tallaId'];?>
_<?php echo $_smarty_tpl->getVariable('item')->value['colorId'];?>
" type="text" class="largeInput" style="width:290px; background-color:#E6E6E6;" value="<?php echo $_smarty_tpl->getVariable('item')->value['codigo'];?>
" readonly="readonly"/>
</td>
<td></td>
</tr>
<?php }} else { ?>
<tr>
<td align="center">Ning&uacute;n c&oacute;digo encontrado.</td>
</tr>
<?php } ?>
</table>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:23
compiled from "/var/www/html/templates/lists/enumUserTypes2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:71338810254075a92127c12-88033314%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:11:52
compiled from "/var/www/html/ventas/templates/lists/enumUserTypes2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:236626732695df928a43cf2-01746240%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'cb43aa639812890a16f47a2709ad60282b25ab26' =>
'6670f58212e495e6b8b20c6cf792378ab9f3af78' =>
array (
0 => '/var/www/html/templates/lists/enumUserTypes2.tpl',
1 => 1410130459,
0 => '/var/www/html/ventas/templates/lists/enumUserTypes2.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '71338810254075a92127c12-88033314',
'nocache_hash' => '236626732695df928a43cf2-01746240',
'function' =>
array (
),

View File

@@ -1,42 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 10:07:56
compiled from "/var/www/html/templates/items/pedidos-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:182942195854075a964604f5-12385853%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'68af25dff9b6b31d435f4541779501be8c79dec2' =>
array (
0 => '/var/www/html/templates/items/pedidos-header.tpl',
1 => 1410130455,
),
),
'nocache_hash' => '182942195854075a964604f5-12385853',
'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">
<thead>
<tr>
<th width="80"><div align="center">Status</div></th>
<th width="60"><div align="center">No. Pedido</div></th>
<th width=""><div align="center">Proveedor</div></th>
<th width="80"><div align="center">Costo Compra</div></th>
<th width="80"><div align="center">Precio Venta</div></th>
<th width="60"><div align="center">Utilidad</div></th>
<th width="60"><div align="center">M&eacute;todo de Compra</div></th>
<th width="70"><div align="center">Fecha Pedido</div></th>
<th width="70"><div align="center">Fecha Entrega</div></th>
<th width="1"><div align="center"></div></th>
<th width="60"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:26:06
compiled from "./templates/comisiones.tpl" */ ?>
<?php /*%%SmartyHeaderCode:134164624554205bae344de8-93981100%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:50
compiled from "/var/www/html/ventas/templates/comisiones.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1052584913695e042a09e799-17249803%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3e006eb598b0bcf07e94850fc53d9cbc96e36994' =>
'69889419dae98bb3288be7cceb4c308af4f6689c' =>
array (
0 => './templates/comisiones.tpl',
1 => 1410130445,
0 => '/var/www/html/ventas/templates/comisiones.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '134164624554205bae344de8-93981100',
'nocache_hash' => '1052584913695e042a09e799-17249803',
'function' =>
array (
),

View File

@@ -1,42 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:02:27
compiled from "/var/www/html/templates/items/cuentas-pagar-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2058255726540f5cd3a20602-07853841%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'699d67493cdb8213f6148e207a4c7a0d5e34429b' =>
array (
0 => '/var/www/html/templates/items/cuentas-pagar-header.tpl',
1 => 1410130453,
),
),
'nocache_hash' => '2058255726540f5cd3a20602-07853841',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"></div>
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div class="portlet-content nopadding">
<table width="1150" cellpadding="0" cellspacing="0" id="box-table-a" bgcolor="#FFFFFF">
<thead>
<tr>
<th width="60"><div align="center">No. Pedido</div></th>
<th width=""><div align="center">Proveedor</div></th>
<th width="80"><div align="center">Total</div></th>
<th width="70"><div align="center">Abonos</div></th>
<th width="70"><div align="center">Notas Cr&eacute;dito</div></th>
<th width="80"><div align="center">Descuentos</div></th>
<th width="80"><div align="center">Bonificaciones</div></th>
<th width="80"><div align="center">Devoluciones</div></th>
<th width="80"><div align="center">Saldo</div></th>
<th width="60"><div align="center">Notas Credito</div></th>
<th width="70"><div align="center">Status</div></th>
<th width="60"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>

View File

@@ -1,50 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 09:44:05
compiled from "/var/www/html/templates/lists/pedidos-productos-cajas2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:20471887655411b5353f9707-10397519%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6aed1170f3ae7f50634eee91ea75958924466e24' =>
array (
0 => '/var/www/html/templates/lists/pedidos-productos-cajas2.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '20471887655411b5353f9707-10397519',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table width="880" cellpadding="0" cellspacing="0" border="1">
<tr>
<td width="150" align="center"><b>C&oacute;digo Barra</b></td>
<td width="250" align="center"><b>Modelo</b></td>
<td width="" align="center"><b>Descripci&oacute;n</b></td>
<td width="150" align="center"><b>Cantidad</b></td>
</tr>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('products')->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;
?>
<tr>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['codigoBarra'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['modelo'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['atributos'];?>
</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['piezasCaja'];?>
</td>
</tr>
<?php }} else { ?>
<tr>
<td colspan="4" align="center">
Ning&uacute;n producto encontrado.
</td>
</tr>
<?php } ?>
</table>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 15:01:00
compiled from "/var/www/html/templates/items/proveedores-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1104437139540f5c7c6cd585-58022588%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:55:50
compiled from "/var/www/html/ventas/templates/items/proveedores-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:895436806695e0376a66de3-11569011%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b3066069be7783258553ceb0e8b431d26f8e798d' =>
'6b0aca1c9bdc5ca451fffae7f560cf9e4c19e89a' =>
array (
0 => '/var/www/html/templates/items/proveedores-base.tpl',
1 => 1410130456,
0 => '/var/www/html/ventas/templates/items/proveedores-base.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1104437139540f5c7c6cd585-58022588',
'nocache_hash' => '895436806695e0376a66de3-11569011',
'function' =>
array (
),

View File

@@ -1,317 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2016-01-08 09:40:16
compiled from "/var/www/html/templates/ventas-ticket.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1586160899568fd860021822-27955090%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6cadf215ee9cbaf519c629ce905c4d7215afad19' =>
array (
0 => '/var/www/html/templates/ventas-ticket.tpl',
1 => 1410130447,
),
),
'nocache_hash' => '1586160899568fd860021822-27955090',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<html>
<head>
<title>Ticket de Venta</title>
<style type="text/css">
.txtTicket{
font-size:<?php echo $_smarty_tpl->getVariable('fontSize')->value;?>
px;
}
</style>
</head>
<body>
<table width="200" align="center" cellpadding="0" cellspacing="0" border="0" class="txtTicket">
<?php if ($_smarty_tpl->getVariable('mode')->value!="descuento"){?>
<tr>
<td align="center">
<b><?php echo $_smarty_tpl->getVariable('infE')->value['razonSocial'];?>
</b>
<br><br>
<b>DOMICILIO FISCAL</b>
<?php if ($_smarty_tpl->getVariable('infE')->value['calle']){?>
<br /><?php echo $_smarty_tpl->getVariable('infE')->value['calle'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infE')->value['noExt']){?>
<?php echo $_smarty_tpl->getVariable('infE')->value['noExt'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infE')->value['noInt']){?>
<?php echo $_smarty_tpl->getVariable('infE')->value['noInt'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infE')->value['colonia']){?>
<br />COL. <?php echo $_smarty_tpl->getVariable('infE')->value['colonia'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infE')->value['cp']){?>
<br />C.P. <?php echo $_smarty_tpl->getVariable('infE')->value['cp'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infE')->value['ciudad']){?>
<?php echo $_smarty_tpl->getVariable('infE')->value['ciudad'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infE')->value['municipio']){?>
, <?php echo $_smarty_tpl->getVariable('infE')->value['municipio'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infE')->value['estado']){?>
, <?php echo $_smarty_tpl->getVariable('infE')->value['estado'];?>
<?php }?>
<br /> RFC. <?php echo $_smarty_tpl->getVariable('infE')->value['rfc'];?>
<?php if ($_smarty_tpl->getVariable('infE')->value['telefono']){?>
<br /> TEL. <?php echo $_smarty_tpl->getVariable('infE')->value['telefono'];?>
<?php }?>
<br />&nbsp;
</td>
</tr>
<tr>
<td align="center">
<b>DOMICILIO ESTABLECIMIENTO</b>
<?php if ($_smarty_tpl->getVariable('infS')->value['nombre']){?>
<br /><?php echo $_smarty_tpl->getVariable('infS')->value['nombre'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infS')->value['calle']){?>
<br /><?php echo $_smarty_tpl->getVariable('infS')->value['calle'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infS')->value['noExt']){?>
<?php echo $_smarty_tpl->getVariable('infS')->value['noExt'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infS')->value['noInt']){?>
<?php echo $_smarty_tpl->getVariable('infS')->value['noInt'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infS')->value['colonia']){?>
<br />COL. <?php echo $_smarty_tpl->getVariable('infS')->value['colonia'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infS')->value['cp']){?>
<br />C.P. <?php echo $_smarty_tpl->getVariable('infS')->value['cp'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infS')->value['ciudad']){?>
<?php echo $_smarty_tpl->getVariable('infS')->value['ciudad'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infS')->value['municipio']){?>
, <?php echo $_smarty_tpl->getVariable('infS')->value['municipio'];?>
<?php }?>
<?php if ($_smarty_tpl->getVariable('infS')->value['estado']){?>
, <?php echo $_smarty_tpl->getVariable('infS')->value['estado'];?>
<?php }?>
<br /> RFC. <?php echo $_smarty_tpl->getVariable('infE')->value['rfc'];?>
<?php if ($_smarty_tpl->getVariable('infS')->value['telefono']){?>
<br /> TEL. <?php echo $_smarty_tpl->getVariable('infS')->value['telefono'];?>
<?php }?>
</td>
</tr>
<tr>
<td align="center">
------------------------------------------
<br />
<b>NOTA DE VENTA</b>
</td>
</tr>
<?php }?>
<tr>
<td align="center">
------------------------------------------
</td>
</tr>
<tr>
<td align="left">
<b>VENDEDOR:</b> <?php echo $_smarty_tpl->getVariable('info')->value['vendedor'];?>
</td>
</tr>
<tr>
<td align="left">
<b>CAJERO:</b> <?php echo $_smarty_tpl->getVariable('info')->value['usuario'];?>
</td>
</tr>
<tr>
<td align="center">
------------------------------------------
</td>
</tr>
<tr>
<td align="left">
<b>FOLIO NOVOMODA:</b> <?php echo $_smarty_tpl->getVariable('info')->value['ventaId'];?>
</td>
</tr>
<tr>
<td align="center">
------------------------------------------
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="txtTicket">
<tr>
<td align="center" width="33%"><b>TICKET</b> <br /> <?php echo $_smarty_tpl->getVariable('info')->value['folio'];?>
</td>
<td align="center"><b>FECHA</b> <br /> <?php echo $_smarty_tpl->getVariable('info')->value['fecha'];?>
</td>
<td align="center" width="33%"><b>HORA</b> <br /><?php echo $_smarty_tpl->getVariable('info')->value['hora'];?>
</td>
</tr>
</table>
------------------------------------------
</td>
</tr>
<tr>
<td align="left">
<table width="90%" cellpadding="0" cellspacing="0" border="0" class="txtTicket">
<tr>
<td colspan="3">
<b>CODIGO</b>
<br /><b>DESCRIPCION</b>
</td>
</tr>
<tr>
<td align="center" width="33%"><b>CANT.</b></td>
<td align="center"><b>PRECIO</b></td>
<td align="center" width="33%"><b>IMPORTE</b></td>
</tr>
<tr>
<td align="center" colspan="3">------------------------------------------</td>
</tr>
<?php $_smarty_tpl->tpl_vars['item'] = 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){
?>
<tr>
<td colspan="3">
<?php echo $_smarty_tpl->getVariable('item')->value['codigoBarra'];?>
<br /><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</td>
</tr>
<tr>
<td align="center" width="33%"><?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
</td>
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('item')->value['precioUnitario'],2,'.',',');?>
</td>
<td align="right" width="33%"><?php echo number_format($_smarty_tpl->getVariable('item')->value['total'],2,'.',',');?>
</td>
</tr>
<?php if ($_smarty_tpl->getVariable('item')->value['tipoDesc']!=''){?>
<tr>
<td align="center">Desc.</td>
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['valDesc'];?>
<?php if ($_smarty_tpl->getVariable('item')->value['tipoDesc']=="Porcentaje"){?>%<?php }?></td>
<td align="right"><?php echo number_format($_smarty_tpl->getVariable('item')->value['totalDesc'],2,'.',',');?>
</td>
</tr>
<?php }?>
<?php }} ?>
<tr>
<td align="center" colspan="3">&nbsp;</td>
</tr>
<tr>
<td align="left" width="33%">SUBTOTAL</td>
<td align="right" colspan="2"><?php echo number_format($_smarty_tpl->getVariable('info')->value['subtotal'],2,'.',',');?>
</td>
</tr>
<?php if ($_smarty_tpl->getVariable('info')->value['tipoDesc']!=''){?>
<tr>
<td align="left" width="33%">DESC. <?php if ($_smarty_tpl->getVariable('info')->value['tipoDesc']=="Porcentaje"){?><?php echo $_smarty_tpl->getVariable('info')->value['valDesc'];?>
%<?php }?></td>
<td align="right" colspan="2">- <?php echo number_format($_smarty_tpl->getVariable('info')->value['descuento'],2,'.',',');?>
</td>
</tr>
<tr>
<td align="left" width="33%">SUBTOTAL</td>
<td align="right" colspan="2"><?php echo number_format($_smarty_tpl->getVariable('info')->value['subtotal2'],2,'.',',');?>
</td>
</tr>
<?php }?>
<tr>
<td align="left" width="33%">IVA</td>
<td align="right" colspan="2"><?php echo number_format($_smarty_tpl->getVariable('info')->value['iva'],2,'.',',');?>
</td>
</tr>
<tr>
<td align="center" colspan="3">------------------------------------------</td>
</tr>
<tr>
<td align="left" width="33%"><b>TOTAL</b></td>
<td align="right" colspan="2"><b><?php echo number_format($_smarty_tpl->getVariable('info')->value['total'],2,'.',',');?>
</b></td>
</tr>
<tr>
<td align="center" colspan="3">------------------------------------------</td>
</tr>
<?php if ($_smarty_tpl->getVariable('mode')->value!="descuento"){?>
<tr>
<td align="left" width="33%">SU PAGO</td>
<td align="right" colspan="2"><?php echo number_format($_smarty_tpl->getVariable('info')->value['pago'],2,'.',',');?>
</td>
</tr>
<tr>
<td align="left" width="33%">SU CAMBIO</td>
<td align="right" colspan="2"><?php echo number_format($_smarty_tpl->getVariable('info')->value['cambio'],2,'.',',');?>
</td>
</tr>
<?php }?>
</table>
</td>
</tr>
<tr>
<td align="center">&nbsp;</td>
</tr>
<?php if ($_smarty_tpl->getVariable('mode')->value!="descuento"){?>
<tr>
<td align="center">
<b>¡GRACIAS POR SU COMPRA!</b>
<br />
<b>¡LO ESPERAMOS NUEVAMENTE!</b>
<br /><br />
*** No hay devoluciones en ***
<br />
*** ropa interior y rebajas ***
<br /><br />
Comentarios en http://www.novomoda.com.mx
<br />
Regimen General de Ley Personas Morales
</td>
</tr>
<?php }?>
</table>
<?php if ($_smarty_tpl->getVariable('mode')->value!="descuento"){?>
<script type="text/javascript">
<?php if ($_smarty_tpl->getVariable('mode')->value=="cobro"){?>
window.print();
//window.close();
<?php }else{ ?>
var resp = confirm("Desea imprimir este ticket?");
if(resp)
window.print();
<?php }?>
</script>
<?php }?>
</body>
</html>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:45
compiled from "/var/www/html/templates/items/cuentas-bancarias-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:185678687654205b99655b27-24467528%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:36
compiled from "/var/www/html/ventas/templates/items/cuentas-bancarias-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:560470546695e041cd0e803-76492156%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'ef8251ce3d1ccc0d1bf142e58f89a7e49c775b57' =>
'6cfd507bf147ec9c345c7c1e7d0d53e71e58c86b' =>
array (
0 => '/var/www/html/templates/items/cuentas-bancarias-header.tpl',
1 => 1410130453,
0 => '/var/www/html/ventas/templates/items/cuentas-bancarias-header.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '185678687654205b99655b27-24467528',
'nocache_hash' => '560470546695e041cd0e803-76492156',
'function' =>
array (
),

View File

@@ -1,47 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-10-07 13:49:03
compiled from "./templates/lists/inventario.tpl" */ ?>
<?php /*%%SmartyHeaderCode:5435058545434359f2b6856-76615896%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6d55b65273f2461926767f69479f740d72abb86b' =>
array (
0 => './templates/lists/inventario.tpl',
1 => 1410130459,
),
),
'nocache_hash' => '5435058545434359f2b6856-76615896',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/inventario-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('productos')->value['items'])){?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('productos')->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/inventario-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/inventario-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="8" 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('productos')->value['pages']);$_template->assign('colspan',8); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-22 12:25:48
compiled from "/var/www/html/templates/items/atributos-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:110733917054205b9c40e530-68898076%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:38
compiled from "/var/www/html/ventas/templates/items/atributos-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1956319108695e041e75a125-30158130%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f07988f0aec5888268cc2bb40bf1e61eaa30bfce' =>
'6dbbae8ab83b2d3e8228f1364946b740b967b965' =>
array (
0 => '/var/www/html/templates/items/atributos-base.tpl',
1 => 1410130453,
0 => '/var/www/html/ventas/templates/items/atributos-base.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '110733917054205b9c40e530-68898076',
'nocache_hash' => '1956319108695e041e75a125-30158130',
'function' =>
array (
),

View File

@@ -1,27 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 18:36:13
compiled from "./templates/lists/inventario-wizard2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:604900431540e3d6d3e1803-72245885%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6dd1944a900a1f7e3419e2a3fef57ff3a1d74748' =>
array (
0 => './templates/lists/inventario-wizard2.tpl',
1 => 1410130459,
),
),
'nocache_hash' => '604900431540e3d6d3e1803-72245885',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/inventario-wizard2-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 $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/items/inventario-wizard2-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 $_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('meses')->value['pages']);$_template->assign('colspan',10); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

View File

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:56:23
compiled from "./templates/forms/search-usuarios.tpl" */ ?>
<?php /*%%SmartyHeaderCode:485989838540ce29670c488-24522810%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:11:52
compiled from "/var/www/html/ventas/templates/forms/search-usuarios.tpl" */ ?>
<?php /*%%SmartyHeaderCode:380169911695df928a34117-01089047%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0ae37f77c12bd986738c21ce7a18bbfba65b767c' =>
'6ee39a69f93600ffc67951af38acf5d081a06bfd' =>
array (
0 => './templates/forms/search-usuarios.tpl',
1 => 1410130452,
0 => '/var/www/html/ventas/templates/forms/search-usuarios.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '485989838540ce29670c488-24522810',
'nocache_hash' => '380169911695df928a34117-01089047',
'function' =>
array (
),

View File

@@ -1,87 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-08 10:07:56
compiled from "./templates/pedidos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:156247006154075a96049f42-11019300%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6f415d85df704b4cd922891f2c6fc712462edbae' =>
array (
0 => './templates/pedidos.tpl',
1 => 1410130446,
),
),
'nocache_hash' => '156247006154075a96049f42-11019300',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include '/var/www/html/libs/plugins/modifier.truncate.php';
?><div class="grid_16" id="content">
<div class="grid_9">
<h1 class="compras">Pedidos</h1>
</div>
<div class="grid_6" id="eventbox">
</div>
<div class="clear"></div>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="compras"||$_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
<div align="center" class="btnAddGral">
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/pedidos-agregar" class="inline_add">Nuevo Pedido</a>
</div>
<?php }?>
<?php $_template = new Smarty_Internal_Template("forms/search-pedidos.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;">
<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 pedido fue agregado correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="Updated"){?>
El pedido fue actualizado correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="Aprobado"){?>
El pedido fue aprobado correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="Rechazado"){?>
El pedido fue rechazado correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="Distribucion"){?>
El pedido fue enviado para autorizaci&oacute;n de distribuci&oacute;n correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="Autorizado"){?>
La distribuci&oacute;n del pedido fue autorizada correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="Sugerencia"){?>
El pedido fue actualizado con sugerencias de distribuci&oacute;n correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="OrdenCompEnv"){?>
La orden de compra fue enviada correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="OrdenCompEnv2"){?>
La orden de compra fue marcada como enviada correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="OrdenCompEnvCan"){?>
La orden de compra enviada fue cancelada correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="PedidoActivado"){?>
El pedido fue activado correctamente para continuar con el proceso
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="OrdenCompIng"){?>
La orden de compra fue ingresada correctamente
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="UpdPzasCaja"){?>
La orden de compra fue actulizada correctamente con el No. de Piezas por Caja.
<?php }elseif($_smarty_tpl->getVariable('msg')->value=="UpdDistribucion"){?>
La distribuci&oacute;n fue actualizada correctamente.
<?php }?>
</b></div>
<?php }?>
<div class="grid_15" id="contenido">
<?php $_template = new Smarty_Internal_Template("lists/pedidos.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,41 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:35:28
compiled from "/var/www/html/ventas/templates/forms/editar-metodo-pago.tpl" */ ?>
<?php /*%%SmartyHeaderCode:742877523695dfeb0c41ce1-70509461%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6fb5df3524ef3b7b3e4fd71648b73b41855b7ad7' =>
array (
0 => '/var/www/html/ventas/templates/forms/editar-metodo-pago.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '742877523695dfeb0c41ce1-70509461',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="divForm">
<form id="editarMetodoPagoForm" name="editarMetodoPagoForm" method="post">
<fieldset>
<div class="a">
<div class="l">* Nombre:</div>
<div class="r"><input type="text" name="nombre" id="nombre" class="largeInput wide2" value="<?php echo $_smarty_tpl->getVariable('info')->value['nombre'];?>
">
</div>
</div>
<div style="clear:both"></div>
<hr />
* Campo requerido
<div style="padding-left:300px">
<a class="button" id="editarMetodoPago" name="editarMetodoPago"><span>Actualizar</span></a>
</div>
<input type="hidden" id="type" name="type" value="saveEditMetodoPago"/>
<input type="hidden" id="metodoPagoId" name="metodoPagoId" value="<?php echo $_smarty_tpl->getVariable('info')->value['metodoPagoId'];?>
" />
</fieldset>
</form>
</div>

View File

@@ -1,44 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:15:00
compiled from ".\templates\homepage.tpl" */ ?>
<?php /*%%SmartyHeaderCode:10277540776c4204331-60919102%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'7069e1fddfa09df2ceef225e182d966e8f667c93' =>
array (
0 => '.\\templates\\homepage.tpl',
1 => 1408525934,
),
),
'nocache_hash' => '10277540776c4204331-60919102',
'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>

Some files were not shown because too many files have changed in this diff Show More