@extends('layouts.app') @section('titulo', 'Ajustes de Stock') @section('contenido') {{-- ========================================================= --}} {{-- ENCABEZADO --}} {{-- ========================================================= --}}
Registra ingresos, salidas y conteos físicos por almacén y lote.
Revisa los siguientes datos:
Registro de movimientos realizados sobre el inventario.
| Fecha | Almacén | Producto | Lote | Vencimiento | Tipo | Cant. | Stock | Motivo |
|---|---|---|---|---|---|---|---|---|
| {{ $a->created_at?->format('d/m/Y H:i') ?? '—' }} | {{-- ================================================= --}} {{-- ALMACÉN --}} {{-- ================================================= --}}@if ($a->almacen) {{ $a->almacen->nombre }} @else — @endif | {{-- ================================================= --}} {{-- PRODUCTO --}} {{-- ================================================= --}}
{{ $a->producto?->nombre ?? '—' }}
@if ($a->producto?->codigo_barras)
{{ $a->producto->codigo_barras }}
@endif
|
{{-- ================================================= --}}
{{-- LOTE --}}
{{-- ================================================= --}}
@php $lote = $a->stockProducto ?? null; @endphp @if ($lote?->lote) {{ $lote->lote }} @else SIN LOTE @endif | {{-- ================================================= --}} {{-- VENCIMIENTO --}} {{-- ================================================= --}}@if ($lote?->fecha_vencimiento) {{ \Carbon\Carbon::parse($lote->fecha_vencimiento)->format('d/m/Y') }} @else — @endif | {{-- ================================================= --}} {{-- TIPO --}} {{-- ================================================= --}}@if ($a->tipo === 'ingreso') Ingreso @elseif ($a->tipo === 'salida') Salida @else Conteo @endif | {{-- ================================================= --}} {{-- CANTIDAD --}} {{-- ================================================= --}}{{ number_format($a->cantidad) }} | {{-- ================================================= --}} {{-- STOCK --}} {{-- ================================================= --}}{{ number_format($a->stock_anterior) }} → {{ number_format($a->stock_nuevo) }} | {{-- ================================================= --}} {{-- MOTIVO --}} {{-- ================================================= --}}{{ $a->motivo ?: '—' }} |
|
Aún no hay ajustes registrados. Los movimientos que registres aparecerán aquí. |
||||||||