@extends('layouts.app') @section('title', 'Detalles de Recepción de Mercancía') @section('content')
| # | Producto | Cantidad Ordenada | Cantidad Recibida | Precio Unitario | Total | Estado |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} |
{{ $reception->product->name ?? 'N/A' }} {{ $reception->product->code ?? 'N/A' }} |
@if($reception->purchaseInvoice && $reception->purchaseInvoice->details) @php $invoiceDetail = $reception->purchaseInvoice->details->where('product_id', $reception->product_id)->first(); @endphp {{ $invoiceDetail ? $invoiceDetail->quantity_ordered : 'N/A' }} @else N/A @endif | {{ $reception->quantity_received ?? 0 }} | {{ number_format($reception->unit_cost ?? 0, 2) }} {{ $reception->purchaseInvoice ? $reception->purchaseInvoice->currency : 'N/A' }} | {{ number_format($reception->total_cost ?? 0, 2) }} {{ $reception->purchaseInvoice ? $reception->purchaseInvoice->currency : 'N/A' }} | {{ $reception->status_text ?? 'Completado' }} |
| No hay productos registrados | ||||||
{{ $purchaseReception->notes }}
Para ver el historial completo de cambios, consulte el módulo de Kardex en Configuración.
Ver Historial Completo