@include('front.patient.inner-layout.head')
ABN: {{$invoice->practitioner->bankDetail->abn ?? ""}}
@elseABN:
@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->phone_number==1 ){{$invoice->practitioner->businessProfile->office_phone ?? ""}}
@elseif( isset( $invoiceSettings ) && $invoiceSettings->phone_number==0 ) @else{{$invoice->practitioner->businessProfile->office_phone ?? ""}}
@endif @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 ?? ""}}
{{$invoice->client->address2 ?? ""}}
{{$invoice->client->suburb_state_postcode ?? ""}}
{{$invoice->client->country ?? ""}}
@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->created_at->timezone(getAustraliaTimeZone())->format('d/m/y')}}
| Description | Code | Price | |
|---|---|---|---|
| * {{$prod->deduct_quantity}} {{"x"}} {{$prod->product_iteams->product_name}} | @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{{$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) }}
${{ number_format( $shiping_cost, 2 ) }}
${{ number_format( $invoice->amount_paid, 2 ) }}
${{number_format( $clientpendingbalance->client_pending_balance, 2 ) ?? '0.00'}}
${{ number_format( $total_gst, 2 ) }}
@else${{ number_format( round( ( $totalgst + $totalgst1Item ) ,2), 2 ) }}
@endif