Company :{{ @$purchase->project->company->company_name }}
Phone : {{ @$purchase->project->company->phone }}
Address : : {{ @$purchase->project->company->address_line1 }},
{{ @$purchase->project->company->address_line2 }}
Supplier : {{ @$purchase->supplier->supplier_name }}
Phone : {{ @$purchase->supplier->phone }}
Address : {{ @$purchase->supplier->address_line1 }} {!! @$purchase->supplier->address_line2 ? ', '.@$purchase->supplier->address_line2 : '' !!} {!! @$purchase->supplier->suburb ? ', '.@$purchase->supplier->suburb : '' !!} {!! @$purchase->supplier->postcode ? ', '.@$purchase->supplier->postcode : '' !!}
Project Code : {{ @$purchase->project->unique_reference_no }}

Order No : {{ $purchase->project->unique_reference_no }}-{{ str_pad($purchase->purchase_no, 3, '0', STR_PAD_LEFT) }}
Order Date : {{ $purchase->supplier->created_at->format('d-m-Y') }}
Delivery Date : {{ $purchase->delivery_date->format('d-m-Y') }}
Location : {{ $purchase->delivery_address }}


the following:
@if($purchase->orders->isNotEmpty()) @foreach($purchase->orders as $order) @endforeach @endif
Sr No. Description Unit Quantity Rate Sub-total
{{ $loop->iteration }} {{ $order->activity }} {{ $order->unit }} {{ number_format((float)$order->quantity, 4) }} £{{ number_format((float)$order->rate, 4) }} £{{ number_format((float)$order->total, 4) }}
Sub Total: £{{ number_format((float)$purchase->orders->sum('total'), 4) }}
Carriage costs: £{{ number_format((float)$purchase->carriage_costs, 4) }}
C of C: £{{ number_format((float)$purchase->c_of_c, 4) }}
Other costs: £{{ number_format((float)$purchase->other_costs, 4) }}
Grand Total: £{{ number_format((float)$purchase->grand_total, 4) }}
Important Note:In accordance with our clients requirements please provide the following documents releative to our order and your products and send to us by email (doccontrol@designrationale.co.uk) at the time of dispatch to doccontrol@designrationale.co.uk

Additional Notes:{{ nl2br(ucfirst($purchase->note)) }}

Please acknowledge receipt of this purchase order document.

The above purchase order number must be stated on your delivery notes and invoices.

Please submit a copy of all signed delivery notes with your invoice.

Should this date not be met, Design Rationale reserves the right to pass on any liability to the manufacturer / supplier.