@extends('layouts.app') @section('content')

Thank you for your order, {{ Auth::user()->name }}!

@if($order->IsChristmas)
Thank you for your Christmas Order - we will send you an email and SMS shortly.
@else

To confirm you have placed a @if($order->ClickCollect) Click Collect @else Weekly @endif Order - We will update you via SMS/Email in relation when your Delivery/Collection is ready.

@php $week = \App\OrderAvailablity::where("id", $order->WeekID)->first(); @endphp

This will be @if($order->LocationID == null)Delivered on: {{str_replace("Delivery/Collection on", "", $week->title)}}@else Available for Collection on: @if($order->CollectDate) {{\Carbon\Carbon::parse($order->CollectDate)->format("l jS F Y")}} @else {{str_replace("Delivery/Collection on", "", $week->title)}} @endif @endif

@endif
We will keep you updated about your order over the coming days. Thank you for shopping with {{env('APP_NAME')}}.
@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(env('IS_MIN_ONLINE') == 1) @else @endif

Order Invoice


Invoice ID: #{{$order->id}}
Created: {{Carbon\Carbon::now()->format('l jS F Y')}}
PAID
@if(env('IS_MIN_ONLINE') == 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 Information

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

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

@endsection @section('myjsfile') @endsection