@extends('user::layouts.master') @section('content')

Manage Purchase Orders

{{ Form::open(['route' => ['purchase.orders.send.invoice', $purchase->id], 'method' => 'post']) }}

Purchase Order

{{ Form::submit('Send mail', [ 'class' => "btn btn-success btn-sm" ]) }} Print Back
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 }}

Please :  Supply Only Supply & Deliver Supply & Install   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 (Document control) at the time of dispatch to Document control
Certificate of conformance required upon order CE certificates Welder & test certs Any relevant COSHH Data required
W.P.Q.R Kitemark certs Glass bonding certs Structural calcs
Galvanising certs Paint certs Mill certs Copy of shipping / delivery note

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, {{ @$purchase->project->company->company_name }} reserves the right to pass on any liability to the manufacturer / supplier.

{{ Form::close() }}
@stop @push('scripts') @endpush