@if( isset( $invoiceSettings ) && $invoiceSettings->logo==1 ) @if( $business_logo != '' ) @else @endif @elseif( isset( $invoiceSettings ) && $invoiceSettings->logo==0 ) @else @if( $business_logo != '' ) @else @endif @endif

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

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

Provider number : {{ $invoice->practitioner->provider_number ?? "-" }}

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

Provider number : {{ $invoice->practitioner->provider_number ?? "-" }}

@endif

Tax Invoice

@if( !empty( $invoice->practitioner->bankDetail ) )

ABN: {{$invoice->practitioner->bankDetail->abn ?? ""}}

@else

ABN:

@endif
@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->is_replace_business_address==1)

{{ $invoiceSettings->address1.', '.$invoiceSettings->address2.', '.$invoiceSettings->suburb.', '.$invoiceSettings->state.', '.$invoiceSettings->postcode.', '.$invoiceSettings->country }}

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

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

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

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

@endif @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 ?? ""}}

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

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

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

@if( isset( $invoiceSettings ) && $invoiceSettings->client_email==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

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

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

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

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

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

@endif
Invoice number : {{$invoice->invoice_number}}
Invoice date : {{$invoice->created_at->timezone(getAustraliaTimeZone())->format('d/m/y')}}
@php $total=0; $maintotal=0; $totalgst = 0; $totalgst1 = 0; $totalgstItem = 0; $totalgst1Item = 0; $appPrice=0; $productPrice=0; @endphp @isset($pip) @foreach($pip as $prod) @if($prod->product_iteams) @php $maintotal += $prod->deduct_quantity * $prod->product_cost; @endphp @if( $prod->product_iteams->is_gst == 'on' ) @php $totalgst1 += $prod->product_cost @endphp {{-- GST FOR MULTIPLE QTY --}} @for ($i=1;$i<= $prod->deduct_quantity;$i++) @php $totalgst1Item += ($prod->product_cost/11); @endphp @endfor @else @endif @endif @endforeach @endisset
Description Code Price
* {{$prod->deduct_quantity}} {{"x"}} {{$prod->product_iteams->product_name}}{{$prod->deduct_quantity}} {{"x"}} {{$prod->product_iteams->product_name}}{{$prod->product_iteams->product_code}} $ {{number_format($prod->deduct_quantity * $prod->product_cost,2)}}
@if($invoice->extra_amount_paid > 0) @endif @if(isset($oldinvoicedata)) @if($oldinvoicedata->amount_status == 'owing') @endif @endif

Total :

${{number_format($maintotal + $total ?? 0, 2) }}

{{ $shipping_method }} :

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

Outstanding balance :

$0.00

Total:

${{number_format($maintotal + $total ?? 0, 2) }}

Credit applied {{$invoice->created_at->timezone(getAustraliaTimeZone())->format('d/m/y')}} :

- ${{ $invoice->extra_amount_paid}}

Online payment :

@if($invoice->extra_amount_paid > 0) ${{$invoice->final_total}} @else ${{$invoice->amount_paid}} @endif

{{$invoice->paymentType->name ?? ''}} {{$invoice->created_at->timezone(getAustraliaTimeZone())->format('d/m/y')}} :

${{ abs($oldinvoicedata->amount)}}

Balance :

${{number_format( $clientpendingbalance->client_pending_balance, 2 ) ?? '0.00'}}

* Total GST :

@if( isset( $use_new_gst ) && $use_new_gst == 1 )

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

@else

${{number_format( round( ( $totalgstItem + $totalgst1Item ) ,2 ), 2 ) }}

@endif
{{-- @if( isset($invoiceSettings) && $invoiceSettings->invoice_notes == 1 ) --}} @if( $invoiceSettings->invoice_notes_text != '' )

{{ $invoiceSettings->invoice_notes_text }}

@endif {{-- @endif --}}