- Deshabilita la paginación para mostrar todos los atributos por defecto. - Corrige un error de renderizado en 'atributos-valores.tpl' añadiendo etiquetas de cierre faltantes. - Cambia el orden de los atributos a 'atributoId' en 'atributo.class.php'. - Corrige un bug en 'atributoValor.class.php' descomentando una condición. - Asegura que las acciones AJAX (añadir, editar, eliminar) refresquen la lista correctamente sin paginación.
142 lines
7.5 KiB
PHP
142 lines
7.5 KiB
PHP
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
|
|
compiled from "/var/www/html/ventas/templates/index.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:1417910094695f506f3548b8-98753936%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'70bf41642baf30444e6a2fab648bee6d25dd5d77' =>
|
|
array (
|
|
0 => '/var/www/html/ventas/templates/index.tpl',
|
|
1 => 1767836456,
|
|
),
|
|
),
|
|
'nocache_hash' => '1417910094695f506f3548b8-98753936',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
<title>Sistema Novomoda</title>
|
|
<meta name="description" content="Sistema Novomoda" />
|
|
<meta name="keywords" content="Sistema Novomda" />
|
|
<meta http-equiv="Cache-control" content="no-cache">
|
|
<meta http-equiv="Expires" content="-1">
|
|
|
|
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/css/960.css" rel="stylesheet" type="text/css" media="all" />
|
|
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/css/reset.css" rel="stylesheet" type="text/css" media="all" />
|
|
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/css/text.css" rel="stylesheet" type="text/css" media="all" />
|
|
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/css/blue.css?<?php echo time();?>
|
|
" rel="stylesheet" type="text/css" media="all" />
|
|
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/css/smoothness/ui.css" type="text/css" rel="stylesheet" />
|
|
<style type="text/css">
|
|
body {
|
|
background:url(<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/bg.gif) repeat-x left top #d4d3d3;
|
|
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
|
|
font-size: 13px;
|
|
color: #333;
|
|
}
|
|
</style>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('page')->value=="login"||$_smarty_tpl->getVariable('page')->value=="facturas"){?>
|
|
<link href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/css/login.css" rel="stylesheet" type="text/css" media="all" />
|
|
<?php }?>
|
|
|
|
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/prototype.js"></script>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/scoluos/src/scriptaculous.js" type="text/javascript"></script>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/util.js" type="text/javascript"></script>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/functions.js?<?php echo time();?>
|
|
" type="text/javascript"></script>
|
|
<?php if ($_smarty_tpl->getVariable('page')->value=="login"){?>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/login.js?<?php echo time();?>
|
|
" type="text/javascript"></script>
|
|
<?php }else{ ?>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/<?php echo $_smarty_tpl->getVariable('page')->value;?>
|
|
.js?<?php echo time();?>
|
|
" type="text/javascript"></script>
|
|
<?php }?>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/flowplayer-3.2.4.min.js" type="text/javascript"></script>
|
|
|
|
<!-- Date Time Picker -->
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/datetimepicker.js" type="text/javascript"></script>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('page')->value=="reportes-ventas"||$_smarty_tpl->getVariable('page')->value=="reportes-inventario"){?>
|
|
<!-- Sorter Lib -->
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/css/sorter/style.css" />
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/sorter/fabtabulous.js" type="text/javascript"></script>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/sorter/tablekit.js" type="text/javascript"></script>
|
|
<?php }?>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('page')->value=="atributos"){?>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/atributos-valores.js?<?php echo time();?>
|
|
" type="text/javascript"></script>
|
|
<?php }elseif($_smarty_tpl->getVariable('page')->value=="productos-categorias"){?>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/productos-subcategorias.js?<?php echo time();?>
|
|
" type="text/javascript"></script>
|
|
<?php }elseif($_smarty_tpl->getVariable('page')->value=="productos-agregar"){?>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/productos-materiales.js?<?php echo time();?>
|
|
" type="text/javascript"></script>
|
|
<?php }elseif($_smarty_tpl->getVariable('page')->value=="productos-editar"){?>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/productos-materiales2.js?<?php echo time();?>
|
|
" type="text/javascript"></script>
|
|
<?php }?>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="pedidos-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados"||$_smarty_tpl->getVariable('page')->value=="inventario-bloqueados-detalles"||$_smarty_tpl->getVariable('page')->value=="inventario-detalles"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"){?>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/javascript/clearbox.js" type="text/javascript"></script>
|
|
<?php }?>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div style="position:relative" id="divStatus"></div>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('page')->value=="login"||$_smarty_tpl->getVariable('page')->value=="facturas"){?>
|
|
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('page')->value}.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
<?php }else{ ?>
|
|
<div class="container_16" id="wrapper">
|
|
<?php $_template = new Smarty_Internal_Template("header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('page')->value}.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
<?php $_template = new Smarty_Internal_Template("footer.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
</div>
|
|
<?php }?>
|
|
|
|
<?php $_template = new Smarty_Internal_Template("boxes/dialog.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
|
|
</body>
|
|
</html>
|