ABN: {{$appointment->locations->abn ?? ""}}
@if(isset($invoiceSettings) && $invoiceSettings->company_name==1){{$invoice->practitioner->businessProfile->name ?? ""}}
@elseif(isset($invoiceSettings) && $invoiceSettings->company_name==0) @else{{$invoice->practitioner->businessProfile->name ?? ""}}
@endif @if(isset($invoiceSettings) && $invoiceSettings->address==1) {{$appointment->locations->address ?? ""}} @elseif(isset($invoiceSettings) && $invoiceSettings->address==0) @else{{$invoice->practitioner->businessProfile->address ?? ""}}
@endif @if(isset($invoiceSettings) && $invoiceSettings->phone_number==1){{$invoice->practitioner->businessProfile->office_phone ?? ""}}
@elseif(isset($invoiceSettings) && $invoiceSettings->phone_number==0) @else{{$invoice->practitioner->businessProfile->office_phone ?? ""}}
@endif @if(isset($invoiceSettings) && $invoiceSettings->email==1){{$invoice->practitioner->businessProfile->email ?? ""}}
@elseif(isset($invoiceSettings) && $invoiceSettings->email==0) @else{{$invoice->practitioner->businessProfile->email ?? ""}}
@endif @if(isset($invoiceSettings) && $invoiceSettings->website==1){{$invoice->practitioner->businessProfile->website ?? ""}}
@elseif(isset($invoiceSettings) && $invoiceSettings->website==0) @else{{$invoice->practitioner->businessProfile->website ?? ""}}
@endifBill to
@if(isset($invoiceSettings) && $invoiceSettings->client_name==1){{$invoice->client->email ?? ""}}
@elseif(isset($invoiceSettings) && $invoiceSettings->client_email==0) @else{{$invoice->client->email ?? ""}}
@endif @if(isset($invoiceSettings) && $invoiceSettings->client_address==1){{$invoice->client->address ?? ""}}
@elseif(isset($invoiceSettings) && $invoiceSettings->client_address==0) @else @endif @if(isset($invoiceSettings) && $invoiceSettings->client_dob==1) @elseif(isset($invoiceSettings) && $invoiceSettings->client_dob==0) @else @endif{{$invoice->invoice_number}}
{{$invoice->date->timezone(getAustraliaTimeZone())->format('d/m/y')}}
{{$invoice->date->timezone(getAustraliaTimeZone())->format('d/m/y')}}
{{"$".$invoice->amount_paid}}
| Description | Item # | Price | |
|---|---|---|---|
| * {{$tid->appointment_type->appointment_type ?? ""}} | @php $totalgst += $tid->app_cost; @endphp @else{{$tid->appointment_type->appointment_type ?? ""}} | @endif{{$tid->appointment_type->code}} | $ {{$tid->app_cost}} |
| * {{$prod->deduct_quantity}} {{"x"}} {{$prod->product_iteams->product_name ?? ""}} | @php $totalgst1 += $prod->product_cost @endphp @else{{$prod->deduct_quantity}} {{"x"}} {{$prod->product_iteams->product_name ?? ""}} | @endif{{$prod->product_iteams->product_code}} | $ {{number_format($prod->deduct_quantity * $prod->product_cost,2)}} |
${{number_format($maintotal + $total ?? 0, 2) }}
{{"$".$invoice->amount_paid}}
{{$invoice->paymentType->name ?? ''}}
${{number_format(($totalgst + $totalgst1) /11 ,2) }}
$00.00