FASE 1: Análisis y diagnóstico - Problema hardcodeado identificado
- Identificado código crítico en ajax/login.php:20 con empresaId = 15 hardcodeado - Mapeados 22 archivos totales con empresaId = 15 - Analizado flujo de login actual que forza empresaId = 15 - Documentado problema principal en md/plan-accion-multi-empresa.md - Lista completa: 1 login, 13 crons, 1 ajax, 7 archivos adicionales Próximo paso: Modificar login para obtener empresaId dinámicamente del usuario
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 01:10:23
|
||||
compiled from "/var/www/html/ventas/templates/reportes-ventas.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:441191332695e06df5d21a4-76042716%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'ccf0b494e74a50bccde0de0cd4dd231d1bef1d24' =>
|
||||
array (
|
||||
0 => '/var/www/html/ventas/templates/reportes-ventas.tpl',
|
||||
1 => 1767753171,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '441191332695e06df5d21a4-76042716',
|
||||
'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>
|
||||
Reference in New Issue
Block a user