@extends('layouts.app') @section('title', 'Inventario Valorado') @section('content')

Inventario Valorado

Volver a Reportes Exportar Excel
Filtros
@if(auth()->check()) @endif
Busca en nombre, SKU, código, categoría o marca del producto
@if(auth()->check()) @endif
Resumen del Inventario

${{ number_format($totalValue, 2) }}

Valor Total del Inventario

{{ count($inventory) }}

Productos con Stock

{{ number_format(array_sum(array_column($inventory, 'quantity')), 2) }}

Unidades Totales

Detalle del Inventario Valorado
@forelse($inventory as $index => $item) @empty @endforelse @if(count($inventory) > 0) @endif
# 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) }}
@push('scripts') @endpush @endsection