@extends('layouts.app', ['isCart' => TRUE]) @section('content')

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

Your order has been secured for Christmas.

@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
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) }}

Paid so far: £{{ number_format(($order->AmountPaid), 2) }}

Balance Remaining: £{{ number_format(($order->AmountRemaning), 2) }}

Pay Now
@endsection @section('myjsfile') @endsection