@extends('layouts.app') @section('title', 'Recepción de Mercancía') @section('content')

Recepción de Mercancía

@forelse($receptions as $reception) @empty @endforelse
N° Recepción Factura Proveedor Fecha Almacén Ubicación Productos Estado Acciones
{{ $reception->reception_number }} @if($reception->purchaseInvoice) {{ $reception->purchaseInvoice->invoice_number }} @else Sin factura @endif
@if($reception->purchaseInvoice && $reception->purchaseInvoice->supplier) {{ $reception->purchaseInvoice->supplier->business_name }}
{{ $reception->purchaseInvoice->supplier->contact_person }} @else Sin proveedor @endif
{{ $reception->reception_date ? $reception->reception_date->format('d/m/Y') : 'N/A' }} @if($reception->warehouse) {{ $reception->warehouse->name }} @else Sin almacén @endif @if($reception->location) {{ $reception->location->name }} @else Sin ubicación @endif @if($reception->product)
{{ $reception->product->name }} {{ $reception->quantity_received }} unidades
@else Sin producto @endif
{{ $reception->status_text }}
@csrf @method('DELETE')

No hay recepciones de mercancía registradas

Crear Primera Recepción
@if($receptions->hasPages())
{{ $receptions->links() }}
@endif
@push('scripts') @endpush @endsection