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

Your Order History with {{(env('IS_MIN_ONLINE') == 1) ? 'Made In Northamptonshire' : 'Edible16'}}, {{ Auth::user()->name }}!

@foreach(Auth::user()->orders as $order) @php $carbon = new Carbon\Carbon($order->created_at); @endphp @endforeach
Invoice ID# Date Status Remaining Total Actions
{{$order->id}} {{$carbon->format('l jS F Y @ h:i:s A')}} @if($order->IsChristmas)
Christmas Order
@endif
@if($order->FullyPaid || $order->AmountRemaning == 0)
Paid
@else
Unpaid
@endif
£{{ number_format( $order->AmountRemaning, 2)}} £{{ number_format( $order->total, 2)}} View @if($order->status == "unpaid" || $order->status == 'HIGHDEMAND') Pay Online @endif
Your details

{{Auth::user()->name}} {{Auth::user()->surname}}


@if(Auth::user()->telephone) {{Auth::user()->telephone}}@endif @if(Auth::user()->email) @endif Edit Details
@endsection