{{-- New-Unity ERP | app/Modules/Warehouse/Resources/Views/inventory/adjust-in/show.blade.php | v1.0 | 31/07/2026 --}} {{-- v1.0 — Confirmación de ajuste de entrada: resumen, etiqueta imprimible, accesos directos. --}} @extends('layouts.vertical', ['pageTitle' => 'Ajuste Registrado']) @section('page-title')

Ajuste de Entrada Registrado {{ $lot->lot_number }}

Nuevo Ajuste Ver Kardex Inventario
@endsection @section('content') @if(session('success')) @endif
{{-- ── Resumen del ajuste ────────────────────────────────────────────── --}}

Detalle del Ajuste

{{ $adjTypeLabels[$movement->movement_type ?? ''] ?? $movement->movement_type ?? 'AJUSTE' }}
Número de lote
{{ $lot->lot_number }}
Producto
{{ $lot->product->product_name ?? '—' }} @if($lot->product->product_code ?? null) ({{ $lot->product->product_code }}) @endif
Almacén
{{ $lot->warehouse->code ?? '—' }} — {{ $lot->warehouse->name ?? '—' }}
Zona
{{ $lot->zone->code ?? '—' }} — {{ $lot->zone->name ?? '—' }}
Bin
@if($lot->location) {{ $lot->location->bin_id }} — {{ $lot->location->code }} @else — Sin bin asignado — @endif
Cantidad
{{ number_format($lot->quantity, 4) }} {{ $lot->product->unity ?? '' }}
Costo unitario
${{ number_format($lot->unit_cost, 4) }}
Costo total
${{ number_format($lot->total_cost, 2) }}
Fecha de entrada
{{ \Carbon\Carbon::parse($lot->entry_date)->format('d/m/Y') }}
@if($lot->expiry_date)
Fecha de caducidad
{{ \Carbon\Carbon::parse($lot->expiry_date)->format('d/m/Y') }}
@endif
Registrado por
{{ $lot->createdBy->name ?? '—' }}
@if($lot->notes)
Notas
{{ $lot->notes }}
@endif
{{-- ── Panel de etiqueta ────────────────────────────────────────────── --}}

Etiqueta de Lote

Imprime la etiqueta para identificar el lote en su ubicación física.

{{-- Datos hidden para printLabel() --}} {{ $lot->lot_number }} {{ $lot->location->bin_id ?? 'N/A' }} {{ $lot->location->code ?? 'N/A' }} {{ $lot->product->product_name ?? 'N/A' }} {{ number_format($lot->quantity, 4) }} {{ $lot->product->unity ?? '' }} {{ $lot->lot_number }} {{ $lot->zone->code ?? 'N/A' }}
{{ $lot->lot_number }}
Prod: {{ \Illuminate\Support\Str::limit($lot->product->product_name ?? '', 28) }}
Bin: {{ $lot->location ? $lot->location->bin_id . ' — ' . $lot->location->code : 'Sin bin' }}
Qty: {{ number_format($lot->quantity, 4) }} {{ $lot->product->unity ?? '' }}
Fecha: {{ \Carbon\Carbon::parse($lot->entry_date)->format('d/m/Y') }}
Nuevo Ajuste Ver Kardex
{{-- /row --}} @endsection @section('scripts') @endsection