{{$data['company_name']}}

{{$data['title']}}

@if(count($data['data'])>0) @foreach($data['data'] as $d) @if(count($d['kardex'])>0 && isset($d['kardex'])) @foreach($d['kardex'] as $det) @if($det['movement_type_id']==1) @else @endif @endforeach @endif @endforeach @else @endif
Total Artículos: {{count($data['data'])}}
KARDEX
Artículo {{$d['product_description']}} Existencia Mínima -
Método Promedio Ponderado Existencia Máxima -
Fecha Detalle Entradas Salidas Existencia
Cantidad V / Uniario V / Total Cantidad V / Uniario V / Total Cantidad V / Uniario V / Total
{{$d['starting_date']}} INVENTARIO INICIAL {{$d['starting_quantity']}} {{$d['starting_cost']}} {{$d['starting_balance']}}
{{$det['date']}} {{$det['gloss']}} {{formatNumberTotal($det['quantity'],2)}} {{formatNumberTotal($det['cost'],2)}} {{formatNumberTotal($det['total'],2)}} {{formatNumberTotal($det['quantity_e'],2)}} {{formatNumberTotal($det['cost_e'],2)}} {{formatNumberTotal($det['total_e'],2)}}
{{$det['date']}} {{$det['gloss']}} {{formatNumberTotal($det['quantity'],2)}} {{formatNumberTotal($det['cost'],2)}} {{formatNumberTotal($det['total'],2)}} {{formatNumberTotal($det['quantity_e'],2)}} {{formatNumberTotal($det['cost_e'],2)}} {{formatNumberTotal($det['total_e'],2)}}
{{formatNumberTotal($d['total_entry'],2)}} {{formatNumberTotal($d['total_deperture'],2)}} Inv. Final {{formatNumberTotal($d['quantity_existence'],2)}} {{formatNumberTotal($d['cost_existence'],2)}} {{formatNumberTotal($d['total_existence'],2)}}