Primer commit del sistema avantika sin cambios

This commit is contained in:
2026-01-06 19:42:24 -06:00
commit 3ae4be5957
7127 changed files with 440072 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:44
compiled from "./templates/lists/reportes-faltantes.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1870815755540a2033e68171-02539832%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b00e8ef20b2d30b367088a67e35dd8ce807dd6c6' =>
array (
0 => './templates/lists/reportes-faltantes.tpl',
1 => 1410130460,
),
),
'nocache_hash' => '1870815755540a2033e68171-02539832',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" border="0">
<tbody>
<tr style="background:#E0E5E7;text-align:center">
<th id="alinear" width="60"><b>No. Prov.</b></th>
<th id="alinear" width="120"><b>Proveedor</b></th>
<th id="alinear" width="120"><b>C&oacute;digo Barra</b></th>
<th id="alinear" width="120"><b>Producto</b></th>
<th id="alinear"><b>Sucursal</b></th>
<th id="alinear" width="100"><b>Faltantes</b></th>
</tr>
<?php $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['ky'] = 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['it']->key => $_smarty_tpl->tpl_vars['it']->value){
$_smarty_tpl->tpl_vars['ky']->value = $_smarty_tpl->tpl_vars['it']->key;
?>
<?php $_smarty_tpl->tpl_vars['iS'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['kS'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('it')->value['sucursales']; 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 $_smarty_tpl->tpl_vars['iP'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['kP'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('iS')->value['productos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['iP']->key => $_smarty_tpl->tpl_vars['iP']->value){
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['iP']->key;
?>
<tr>
<td style="text-align:center"><?php echo $_smarty_tpl->getVariable('it')->value['noProv'];?>
</td>
<td style="text-align:left"><?php echo $_smarty_tpl->getVariable('it')->value['nombre'];?>
</td>
<td style="text-align:center"><?php echo $_smarty_tpl->getVariable('iP')->value['codigoBarra'];?>
</td>
<td style="text-align:left"><?php echo $_smarty_tpl->getVariable('iP')->value['producto'];?>
</td>
<td style="text-align:center"><?php echo urldecode($_smarty_tpl->getVariable('iS')->value['sucursal']);?>
</td>
<td style="text-align:center;"><?php echo number_format($_smarty_tpl->getVariable('iP')->value['faltantes'],0,'.',',');?>
</td>
</tr>
<?php }} ?>
<?php }} ?>
<?php }} else { ?>
<tr><td colspan="6" align="center">Ning&uacute;n registro encontrado.</td></tr>
<?php } ?>
</tbody>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td width="80" style="text-align:center;"><b>TOTAL</b></td>
<td width="80" style="text-align:center;"><b><?php echo number_format($_smarty_tpl->getVariable('total')->value,0,'.',',');?>
</b></td>
</tr>
</tbody>
</table>