@foreach($order->order_items()->get() as $item) @php $product = $item->product()->get()->first(); @endphp @php $product_item = $item->product_item()->get()->first(); @endphp @php $supplier = $product->suppliers()->get()[0]; @endphp @endforeach
@if($order->user->min_site == 1) @else @endif

Order Invoice


Invoice ID: #{{$order->id}}
Created: {{Carbon\Carbon::now()->format('l jS F Y')}}
READY FOR DELIVERY
@if($order->user->min_site == 1) Made In Northamptonshire
Arch Villa,
23 High Street,
Bozeat,
Northants,
NN29 7NF @else Edible16
34 Harborough Rd,
Great Oxendon,
Market Harborough
LE16 8NA @endif

DELIVERY Address:

{{$order->DeliveryFirstName}} {{$order->DeliveryLastName}}, @if($order->DeliveryAddressLine1)
{{$order->DeliveryAddressLine1}},
@endif @if($order->DeliveryAddressLine2)
{{$order->DeliveryAddressLine2}},
@endif @if($order->DeliveryAddressLine3)
{{$order->DeliveryAddressLine3}},
@endif @if($order->DeliveryCity)
{{$order->DeliveryCity}},
@endif @if($order->DeliveryCounty)
{{$order->DeliveryCounty}},
@endif @if($order->DeliveryPostcode)
{{$order->DeliveryPostcode}}
@endif
@if($order->DeliveryMobileNumber)
Telephone: {{$order->DeliveryMobileNumber}}
@endif

DELIVERY INSTRUCTIONS - PLEASE READ CAREFULLY

Your order will be delivered within the next 2 hours. Please leave a box for us to place your order into. Keep an eye out for your delivery as the driver will not be able to knock on your door.

 
Supplier Product Quantity Price Total
{{ $supplier->name}} {{ $product->name}} @if($product_item) - {{$product_item->name}} @endif {{ $item->quantity}} {{ $item->price}} {{ $item->total}}
Sub-Total: £{{ number_format(($order->total - $order->DeliveryPrice), 2) }}
Delivery: £{{ number_format($order->DeliveryPrice, 2) }}

Total: £{{ number_format(($order->total), 2) }}