@section('page-title') Invoice {{ $invoice->invoice_number }} @endsection @section('page-description') Invoice Details & Payment Summary @endsection

115 Alberti Drive Blacktown, NSW 2148

www.firstride.com.au

INVOICE

Invoice # {{ $invoice->invoice_number }}
Invoice Date {{ \Carbon\Carbon::parse($invoice->invoice_date)->format('d M Y') }}

Bill To

{{ $invoice->student->user->name ?? '-' }}

{{ $invoice->student->user->email ?? '-' }}

{{ $invoice->student->user->phone ?? '-' }}

@if ($invoice->student->user->address)

{{ $invoice->student->user->address->full_address ?? '-' }}

@else

{{ collect([ $invoice->student->user->address->street1 ?? null, $invoice->student->user->address->street2 ?? null, $invoice->student->user->address->city ?? null, $invoice->student->user->address->state ?? null, $invoice->student->user->address->country ?? null, ])->filter()->implode(', ') ?: '-' }}

@endif

Payment Details

First Ride Pty Ltd

BSB: 062-692

Account No: 4311 3669

PayID: 6 4687 7536

@php $unit = 0; @endphp @foreach ($invoice->items as $item)

{{ $item->description ?? 'N/A' }}

{{ $item->booking->lesson_date ?? 'N/A' }}

${{ number_format($item->booking->price, 2) }}

Instructor

{{ $item->booking->instructor->user->name }} {{ $item->booking->instructor->user->last_name }}

Units

@php $unit += $item->booking->unit ?? 0; @endphp {{ $item->booking->unit ?? 'N/A' }}

@endforeach
{{-- Top Cards --}}
{{-- Left Card --}}
Total Lessons {{ number_format(count($invoice->items)) }}
Total Hours {{ floor($unit) }}h {{ ($unit - floor($unit)) * 60 }}m
{{-- Questions --}}

Questions:

Email us at info@firstride.com.au

Or call us at 0421 954 160

{{-- Right Card --}}
Subtotal ${{ number_format($invoice->subtotal, 2) }}
{{ $invoice->discount_reason ?? 'Discount' }} - ${{ number_format($invoice->discount, 2) }}
Received ${{ number_format($amountReceived ?? 0, 2) }}

Invoice Total

(GST Included)

${{ number_format($invoice->total - $amountReceived ?? 0, 2) }}
{{-- Thank You --}}

Thank You!

{{-- Footer --}}

115 Aliberti Drive Blacktown, NSW 2148 * www.firstride.com.au * ACN: 646877536

Licence No. 014041 * Driving School No. 22667590 * JP No. 226393