@extends('layouts.app') @section('title', $purchase->reference) @section('content')
{{ $purchase->supplier?->name }} · {{ $purchase->created_at->format('d/m/Y') }}
| {{ __('Product') }} | {{ __('Batch') }} | {{ __('Expiration') }} | {{ __('Qty') }} | {{ __('Unit cost') }} | {{ __('Total') }} |
|---|---|---|---|---|---|
| {{ $item->product?->name }} | {{ $item->batch_number }} | {{ $item->expiration_date?->format('d/m/Y') ?? '—' }} | {{ $item->quantity }} | {{ money($item->unit_cost) }} | {{ money($item->line_total) }} |