@extends('documents.procurement._layout', [ 'documentTitle' => 'Supplier Return Note', 'reference' => $supplierReturn->return_reference, 'documentDate' => \Carbon\Carbon::parse($supplierReturn->return_date)->format('d M Y'), 'noAutoPrint' => $noAutoPrint ?? true, ]) @section('header-meta')
|
Return To (Supplier): {{ $supplier?->name ?? '—' }} @if($supplier?->contact_name) {{ $supplier->contact_name }} @endif @if($supplier?->contact_email) {{ $supplier->contact_email }} @endif @if($supplier?->contact_phone) {{ $supplier->contact_phone }} @endif @if($supplier?->city) {{ $supplier->city }} @endif |
Return Details: @if($grn) Original GRN: {{ $grn->grn_reference }} GRN Date: {{ \Carbon\Carbon::parse($grn->received_date)->format('d M Y') }} @endif @if($grn?->deliveryLocation) Location: {{ $grn->deliveryLocation->name }} @endif @if($supplierReturn->supplierInvoice) Invoice Ref: {{ $supplierReturn->supplierInvoice->invoice_reference }} @endif @if($supplierReturn->isPosted() && $supplierReturn->postedBy) Posted By: {{ $supplierReturn->postedBy->name }} @endif |
| # | Product | SKU | UoM | Qty Returned | Unit Cost | Line Total |
|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->product?->name ?? '—' }} | {{ $item->product?->sku ?? '—' }} | {{ $item->product?->uom ?? '—' }} | {{ number_format((float) $item->quantity_returned, 0) }} | {{ number_format((float) $item->unit_cost_source, 4) }} | {{ number_format((float) $item->total_cost_source, 2) }} |
| Total Return Value | {{ number_format($total, 2) }} |
{{ $supplierReturn->notes }}
@endif {{-- Signatures --}}|
Prepared By
|
Received By (Supplier)
|
Date
{{ \Carbon\Carbon::parse($supplierReturn->return_date)->format('d M Y') }} |