@extends('layouts.app') @section('title', 'Reportes Logística') @section('page-title', 'Reportes — Logística') @section('breadcrumb')
| Lote | Producto | Stock | Vencimiento | Almacén |
|---|---|---|---|---|
{{ $lote->numero }} |
{{ Str::limit($lote->producto->nombre, 25) }} | {{ number_format($lote->cantidad_actual, 2) }} {{ $lote->producto->unidadMedida->abreviatura }} | {{ \Carbon\Carbon::parse($lote->fecha_vencimiento)->format('d/m/Y') }} | {{ $lote->almacen->nombre }} |
| Sin alertas de vencimiento. | ||||
| Producto | Categoría | Stock Actual | Stock Mínimo | U.M. |
|---|---|---|---|---|
| {{ Str::limit($p->nombre, 28) }} | {{ $p->categoria->nombre }} | {{ number_format($p->stock_actual ?? 0, 2) }} | {{ number_format($p->stock_minimo, 2) }} | {{ $p->unidadMedida->abreviatura }} |
| Sin productos con bajo stock. | ||||
| Fecha | Tipo | Producto | Cantidad | Usuario |
|---|---|---|---|---|
| {{ $mov->created_at->format('d/m/Y H:i') }} | @if($mov->tipo === 'ingreso') Ingreso @else Egreso @endif | {{ Str::limit($mov->producto->nombre, 28) }} | {{ $mov->tipo === 'ingreso' ? '+' : '-' }}{{ number_format($mov->cantidad, 2) }} | {{ $mov->usuario?->name ?? '—' }} |