Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 09:51:11
|
||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-devcedis-prods.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:78407139953610ddf7997b2-61037954%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'6524e4ff3f3e6e7178e9bf7dde2a1c8f17c651bd' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/reportes-devcedis-prods.tpl',
|
||||
1 => 1395799506,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '78407139953610ddf7997b2-61037954',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="70" style="background-color:#99CCFF"><div align="center">Sucursal</div></th>
|
||||
<th width="" style="background-color:#99CCFF"><div align="center">Proveedor</div></th>
|
||||
<th width="60" style="background-color:#99CCFF"><div align="center">Código Barra</div></th>
|
||||
<th width="200" style="background-color:#99CCFF"><div align="center">Producto</div></th>
|
||||
<th width="60" style="background-color:#99CCFF"><div align="center">Cantidad</div></th>
|
||||
<th width="60" style="background-color:#99CCFF"><div align="center">Costo</div></th>
|
||||
<th width="60" style="background-color:#99CCFF"><div align="center">Total</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_smarty_tpl->tpl_vars['itP'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['kP'] = 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['itP']->key => $_smarty_tpl->tpl_vars['itP']->value){
|
||||
$_smarty_tpl->tpl_vars['kP']->value = $_smarty_tpl->tpl_vars['itP']->key;
|
||||
?>
|
||||
<tr>
|
||||
<td align="center"><?php echo urldecode($_smarty_tpl->getVariable('itP')->value['sucursal']);?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('itP')->value['proveedor'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('itP')->value['codigoBarra'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('itP')->value['producto'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('itP')->value['cantidad'];?>
|
||||
</td>
|
||||
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['costo'],2,'.',',');?>
|
||||
</td>
|
||||
<td align="center">$<?php echo number_format($_smarty_tpl->getVariable('itP')->value['total'],2,'.',',');?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }} else { ?>
|
||||
<tr>
|
||||
<td colspan="6" align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user