@extends('layouts.app') @section('title', 'Inventario Valorado') @section('content')
Valor Total del Inventario
Productos con Stock
Unidades Totales
| # | Producto | SKU | Categoría | Almacén | Ubicación | Cantidad | Costo Unitario | Valor Total |
|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} |
{{ $item['product']->name }}
@if($item['product']->brand)
{{ $item['product']->brand->name }} @endif |
{{ $item['product']->sku ?? 'N/A' }} | {{ $item['product']->category->name ?? 'N/A' }} | {{ $item['warehouse'] }} | {{ $item['location'] ?? 'N/A' }} | {{ number_format($item['quantity'], 2) }} | ${{ number_format($item['unit_cost'], 2) }} | ${{ number_format($item['total_value'], 2) }} |
| No se encontraron productos con stock en el inventario. | ||||||||
| Totales: | {{ number_format(array_sum(array_column($inventory, 'quantity')), 2) }} | - | ${{ number_format($totalValue, 2) }} | |||||