@include('front.inner-layout.head')
ABN: {{$invoice->practitioner->bankDetail->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) @if( isset( $invoiceSettings ) && $invoiceSettings->address==1 ){{$invoice->practitioner->businessProfile->address ?? ""}}
@elseif( isset( $invoiceSettings ) && $invoiceSettings->address==0 ) @else{{$invoice->practitioner->businessProfile->address ?? ""}}
@endif @else{{ $invoiceSettings->address1.', '.$invoiceSettings->address2.', '.$invoiceSettings->suburb.', '.$invoiceSettings->state.', '.$invoiceSettings->postcode.', '.$invoiceSettings->country }}
@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
{{-- change $invoice->client to $client 12-07-2023 bahadur --}} @if( isset( $invoiceSettings ) && $invoiceSettings->client_name==1 ){{$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) }}
${{ $shiping_cost }}
$0.00
${{number_format($maintotal + $total ?? 0, 2) }}
- ${{ $invoice->extra_amount_paid}}
${{$invoice->amount_paid}}
${{ number_format( $clientpendingbalance->client_pending_balance, 2 ) ?? "0.00"}}
--}}${{ number_format( $invoice->total, 2 ) ?? "0.00"}}
${{ number_format( $total_gst, 2 ) }}
@else${{number_format( ( $totalgst + $totalgst1Item ), 2 ) }}
@endif