{foreach from=$periodo item=mes key=kP} {/foreach} {foreach from=$periodo item=mes key=kP} {/foreach} {foreach from=$suc.categorias item=item key=key} {foreach from=$periodo item=p key=kP} {/foreach} {foreach from=$suc.subcategorias[{$item.prodCatId}] item=iS key=kS} {foreach from=$periodo item=p key=kP} {/foreach} {foreach from=$suc.productos[{$item.prodCatId}][{$iS.prodSubcatId}] item=iP key=kP} {foreach from=$periodo item=p key=kP} {/foreach} {foreachelse} {/foreach} {foreach from=$periodo item=p key=kP} {/foreach} {/foreach} {foreach from=$periodo item=p key=kP} {/foreach} {/foreach}
{$mes}
Depto. Línea Clave Código Producto No. Prov.Inicial Entrada Salida Ajuste Entrada Ajuste Salida BloqueadosUltima Compra Total Piezas Costo Importe Total de Inv. Total Ventas Precio Venta Importe Total Ventas
{$item.prodCatId} {$item.prodSubcatId} {$item.nombre}
{$item.prodCatId} {$iS.prodSubcatId} {$iS.nombre}
{$iP.codigoBarra} {$iP.modelo} {$iP.proveedorId}{$iP.iniciales.$kP|number_format:0:'.':''} {$iP.entradas.$kP|number_format:0:'.':''} {$iP.salidas.$kP|number_format:0:'.':''} {$iP.entradasA.$kP|number_format:0:'.':''} {$iP.salidasA.$kP|number_format:0:'.':''} {$iP.bloqueados.$kP|number_format:0:'.':''}{$iP.fecha|date_format:"%d-%m-%Y"} {$iP.totalPzas|number_format:0:'.':''} ${$iP.costo|number_format:2:'.':''} ${$iP.importe|number_format:2:'.':''}  {$iP.totalVtas|number_format:0:'.':''} {$iP.precioVta|number_format:2:'.':''} {$iP.importeVtas|number_format:2:'.':''} 
Ningún producto encontrado.
TOTAL LINEA {$suc['totSubs'][$iS.prodSubcatId][$kP]['inicial']|number_format:0:'.':''} {$suc['totSubs'][$iS.prodSubcatId][$kP]['entradas']|number_format:0:'.':''} {$suc['totSubs'][$iS.prodSubcatId][$kP]['salidas']|number_format:0:'.':''} {$suc['totSubs'][$iS.prodSubcatId][$kP]['entradasA']|number_format:0:'.':''} {$suc['totSubs'][$iS.prodSubcatId][$kP]['salidasA']|number_format:0:'.':''} {$suc['totSubs'][$iS.prodSubcatId][$kP]['bloqueados']|number_format:0:'.':''} {$suc['totSubs'][$iS.prodSubcatId]['totalPzas']|number_format:0:'.':''} ${$suc['totSubs'][$iS.prodSubcatId]['importe']|number_format:2:'.':','}  {$suc['totSubs'][$iS.prodSubcatId]['totalVtas']|number_format:0:'.':''} ${$suc['totSubs'][$iS.prodSubcatId]['importeVtas']|number_format:2:'.':','} 
TOTAL DEPTO. {$suc['totCats'][$item.prodCatId][$kP]['inicial']|number_format:0:'.':''} {$suc['totCats'][$item.prodCatId][$kP]['entradas']|number_format:0:'.':''} {$suc['totCats'][$item.prodCatId][$kP]['salidas']|number_format:0:'.':''} {$suc['totCats'][$item.prodCatId][$kP]['entradasA']|number_format:0:'.':''} {$suc['totCats'][$item.prodCatId][$kP]['salidasA']|number_format:0:'.':''} {$suc['totCats'][$item.prodCatId][$kP]['bloqueados']|number_format:0:'.':''} {$suc['totCats'][$item.prodCatId]['totalPzas']|number_format:0:'.':''} ${$suc['totCats'][$item.prodCatId]['importe']|number_format:2:'.':','}  {$suc['totCats'][$item.prodCatId]['totalVtas']|number_format:0:'.':''} ${$suc['totCats'][$item.prodCatId]['importeVtas']|number_format:2:'.':','} 
{if $suc.productos|count > 0} {foreach from=$periodo item=mes key=kP} {/foreach}
TOTALES {$suc.totIniciales.$kP|number_format:0:'.':','} {$suc.totEntradas.$kP|number_format:0:'.':','} {$suc.totSalidas.$kP|number_format:0:'.':','} {$suc.totEntradasA.$kP|number_format:0:'.':','} {$suc.totSalidasA.$kP|number_format:0:'.':','} {$suc.totBloqueadosA.$kP|number_format:0:'.':','} {$suc.totPzas|number_format:0:'.':','} ${$suc.totImporte|number_format:2:'.':','} {$suc.totVtas|number_format:0:'.':','} ${$suc.totImporteVtas|number_format:2:'.':','}
{/if}