@extends('layouts.app', ["isCart" => TRUE]) @section('myjsfile') @endsection @section('content') @php $balancedue = App\Order::where("user_id", Auth::user()->id)->whereNotIn("status",["unpaid", "0", "cancelled"])->where("FullyPaid", 0)->whereNotNull("AmountRemaning")->where("AmountRemaning", ">", 0)->sum("AmountRemaning"); @endphp @php $user = \Auth::user(); @endphp
@if ($errors->any())
@endif @if(isset($success))
@endif @if(session('message'))
@endif @if($balancedue > 0)
{{ csrf_field() }}

Pay your Christmas Balance

How much do you want to pay towards your Christmas Balance?

Pay your Christmas Balance with Edible16 by Midnight to secure your order in time for Christmas.
How do you wish to make this payment?
  • We make our payments securely by SagePay

  • @php $cards = App\Payment::where("user_id", Auth::user()->id)->where("IsValid", 1)->groupBy("CardMD5")->orderBy("created_at", "desc")->get(); @endphp @foreach($cards as $card)
  • You last used this card on: {{Carbon\Carbon::parse($card->created_at)->format('l jS F Y')}}

  • @endforeach

Your personal data will be used to process your order, support your experience throughout this website, and for other purposes described in our privacy policy.

@else
You don't have any balance to clear. Your account is up to date.
@endif
@endsection @section('myjsfile') @if(isset($payment)) @endif @endsection