@include('layouts.header')
@include('layouts.sidebar')

Purchase Order Record

@if (session('success')) @endif @if (session('error')) @endif @if ($errors->has('phno')) @endif
Purchase Order Record
@foreach ($invoices as $invoice) @foreach ($invoice->po_sells as $sell) @if ($invoice->balance_due == 'PO') @if ($items->item_name == $sell->part_number) @if ($items->warehouse_id == $sell->warehouse) @endif @endif @endif @endforeach @endforeach
Item Name Purchase Order No. Supplier Name Quantity Unit Price Date
{{ $sell->part_number }} {{ $invoice->quote_no }} @if ($invoice->supplier) {{ $invoice->supplier->name }} @else No Supplier @endif {{ $sell->product_qty }} {{ number_format($sell->product_price ?? 0, 2) }} {{ \Carbon\Carbon::parse($invoice->po_date)->format('d/m/Y') ?? 'N/A' }}