@if(!isset($existinvoice)) @endif
Loading…
@if(isset($existinvoice))
@csrf

Tax Invoice #{{$existinvoice->invoice_number}}

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

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

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

@elseif( isset( $invoiceSettings ) && $invoiceSettings->company_name == 0 ) @else

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

@endif

{{$existinvoice->practitioner->full_name ?? ""}}


Bill to

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

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

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

@elseif( isset( $invoiceSettings ) && $invoiceSettings->client_name == 0 ) @else

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

@endif

@php $total=0; $maintotal=0; $totalgst = 0; $totalgst1 = 0; $totalgstItem = 0; $totalgst1Item = 0; $appPrice=0; $productPrice=0; @endphp @isset($existinvoice) @if($eiP) @foreach($eiP as $prod) @if($prod->product_iteams) @php $maintotal += $prod->deduct_quantity * $prod->product_cost; @endphp @if($prod->product_iteams->is_gst == 'on') @else @endif @endif @endforeach @endif @if($eii) @foreach($eii as $tid) @if($tid->appointment_type) @php $total += $tid->app_cost; @endphp @if($tid->appointment_type->is_gst == 'on') @else @endif @endif @endforeach @endif @else @if($appointment->appointment_type->is_gst == 'on') @else @endif @endisset
Description Price
* {{$prod->deduct_quantity}} {{"x"}} {{$prod->product_iteams->product_name}}{{$prod->deduct_quantity}} {{"x"}} {{$prod->product_iteams->product_name}} ${{number_format($prod->deduct_quantity * $prod->product_cost,2)}}
* {{$tid->appointment_type->appointment_type ?? ""}}{{$tid->appointment_type->appointment_type ?? ""}}${{number_format($tid->app_cost,2)}}
* {{$appointment->appointment_type->appointment_type}}{{$appointment->appointment_type->appointment_type}}{{"$".$appointment->appointment_type->fee}}

Invoice total

@isset($existinvoice)

${{$existinvoice->total}}

@endisset

Amount to pay

@php if($existinvoice->invoice_pay_status =='pending') { $TOTAL = isset($existinvoice->total) ? $existinvoice->total : "0.00"; } else { $TOTAL = isset($existinvoice->account_balance) ? $existinvoice->account_balance : "0.00"; } @endphp

${{number_format($TOTAL ,2) }}

* Total GST

@if($total_gst)

${{number_format( $total_gst, 2 ) ?? "0.00" }}

@endif
@if($invoiceSettings->invoice_notes==1)
@endif
@if($merchantId)
{{----}} Pay Now
@endif

Secured payment

All transactions are secured & encrypted


Add a new card

Thank you

Your payment has been processed

@else
{!! $modalRender !!}
@endif