@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
@php $no = '1'; @endphp @foreach ($invoices as $invoice) @foreach ($invoice->po_sells as $sell) @if ($invoice->status == 'invoice') @if ($items->item_name === $sell->part_number) @if ($items->warehouse_id == $sell->warehouse) @endif @endif @endif @endforeach @php $no++; @endphp @endforeach
Item Name Purchase Order No. Supplier Name Quantity Date
{{ $sell->part_number }} {{ $invoice->quote_no }} @if ($invoice->supplier) {{ $invoice->supplier->name }} @else No Supllier @endif {{ $sell->product_qty }} {{ \Carbon\Carbon::parse($invoice->po_date)->format('d/m/Y')??'N/A' }}