Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-24 15:40:50
|
||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-faltantes.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1491744966538103d29c9c30-09692759%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5753a6b67709c40ef6769088747cf8cbae5bf738' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-faltantes.tpl',
|
||||
1 => 1394816580,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1491744966538103d29c9c30-09692759',
|
||||
'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ó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ú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>
|
||||
Reference in New Issue
Block a user