@csrf

Tax Invoice

ABN: {{$appointment->locations->abn ?? ""}}

@if($invoiceSettings->company_name==1)

{{$appointment->practitioner->businessProfile->name ?? ""}}

@endif @if($invoiceSettings->address==1)

{{$appointment->practitioner->businessProfile->address ?? ""}}

@endif @if($invoiceSettings->phone_number==1)

{{$appointment->practitioner->businessProfile->office_phone ?? ""}}

@endif @if($invoiceSettings->email==1)

{{$appointment->practitioner->businessProfile->email ?? ""}}

@endif @if($invoiceSettings->website==1)

{{$appointment->practitioner->businessProfile->website ?? ""}}

@endif

Bill to

@if($invoiceSettings->client_name==1)

{{$appointment->client->full_name ?? ""}}

@endif @if($invoiceSettings->client_email==1)

{{$appointment->client->email ?? ""}}

@endif @if($invoiceSettings->client_address==1)

{{$appointment->client->address ?? ""}}

@endif @if($invoiceSettings->client_dob==1)

DOB: @if(isset($appointment->client->date_of_birth)) {{$appointment->client->date_of_birth->format('d/m/Y')}} @else {{"-"}} @endif

@endif

Invoice number:

{{$invoiceNumber}}

Invoice date:

{{\Carbon\Carbon::now()->timezone(getAustraliaTimeZone())->format('d/m/y')}}

Payment due:

{{$appointment->date->timezone(getAustraliaTimeZone())->format('d/m/y')}}

Amount due:

{{"$".$cancelfee->cancel_fee}}

Description Price
Cancellation Charge {{"$".$cancelfee->cancel_fee}}

Invoice total:

{{"$".$cancelfee->cancel_fee}}

Outstanding:

{{$appointment->client->account_balance > 0 ? "$".(abs($appointment->client->account_balance)) : "$00.00" }}

Amount to pay:

@php if(($cancelfee->cancel_fee+$appointment->client->account_balance) <= 0 ){ $payableAmount = 0; }else{ $payableAmount = ($cancelfee->cancel_fee+$appointment->client->account_balance); } @endphp

Payment method:

Balance:

{{$appointment->client->account_balance < 0 ? "$".(abs($appointment->client->account_balance)) : "$00.00" }}

@if($invoiceSettings->invoice_notes_text)
@endif