| No. Prov. |
Proveedor |
Productos Vendidos |
Costo Total |
tpl_vars['it1'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['k1'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('item')->value['proveedores']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['it1']->key => $_smarty_tpl->tpl_vars['it1']->value){
$_smarty_tpl->tpl_vars['k1']->value = $_smarty_tpl->tpl_vars['it1']->key;
?>
| getVariable('it1')->value['proveedorId'];?>
|
getVariable('it1')->value['nombre'];?>
|
getVariable('it1')->value['totalProds'];?>
|
getVariable('it1')->value['totalCosto'],2,'.',',');?>
|
|
TOTAL |
getVariable('item')->value['totalProds'],0,'.',',');?>
|
$getVariable('item')->value['totalCosto'],2,'.',',');?>
|
|