@if($format === 'pdf') @else @endif
| Reporte Inventario | ||||||||||||
| Empresa: | {{$company->name}} | |||||||||||
| RUC: | {{$company->number}} | |||||||||||
| Establecimiento: | {{$establishment->address}} - {{$establishment->department->description}} - {{$establishment->district->description}} | |||||||||||
| Fecha: | {{ date('d/m/Y')}} | |||||||||||
| # | Cod. Interno | Descripción | Categoria | Stock mínimo | Stock actual | Costo | Costo Total | Precio de venta | Ganancia | Ganancia Total | Marca | Modelo | F. vencimiento | Almacén |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration}} | {{ $row['internal_id'] }} | {{ $row['name'] }} | {{ $row['item_category_name'] }} | {{ $row['stock_min'] }} | {{ $row['stock'] }} | {{ number_format($row['purchase_unit_price'],2,'.','')}} | {{ number_format($total_line,2,'.','')}} | {{ number_format($row['sale_unit_price'],2,'.','')}} | {{ $profit }} | {{ number_format(abs($profit * $row['stock']),2,'.','')}} | {{ $row['brand_name'] }} | {{ $row['model'] }} | {{ $row['date_of_due'] }} | {{ $row['warehouse_name'] }} |
| Costo | Costo Total de Inventario | Precio de venta | Ganancia | Ganancia Total | ||||||||||
| {{ number_format($total_purchase_unit_price, 2, '.','') }} | {{ $total}} | {{ number_format($total_sale_unit_price, 2, '.','') }} | S/ {{ number_format($total_profit,2,'.','') }} | S/ {{number_format($total_all_profit,2,'.','')}} | ||||||||||