@foreach($purchase_orders as $po)
| PO-{{str_pad($po->id, 4, '0', STR_PAD_LEFT) }} |
WG-{{str_pad($po->project_id, 4, '0', STR_PAD_LEFT) }} |
{{ $po->company_name }} |
{{ date('d M, Y', strtotime($po->delivery_date)) }} |
@if(!empty($po->address)) {{ $po->address }}, {{ $po->city }} {{ $po->postcode }} @endif |
{{ $po->supplier_invoice_id !=0 ? $po->supplier_invoice_id:'' }} |
{{ $po->invoice_date!="" ? date('d M, Y', strtotime($po->invoice_date)) : '' }} |
£{{ number_format($po->total_net, 2) }} |
{{ date('d M, Y', strtotime($po->created_at)) }} |
|
@endforeach