@extends('front.inner-layout.app') @section('content')

My Invoice

@include('front.inner-layout.header')
@php $parshUrl=parse_url( url()->previous() , PHP_URL_PATH); $expload=explode('/', $parshUrl); @endphp
@if(Request::get('referenceId')!="") @elseif(Request::get('type')=="book_from_hover") @else @if(isset($expload[4]) && $expload[4]=="appointments" && isset($expload[5]) && $expload[5]=="details") @if(Session::get('session_location')!="") @php $queryString="?jump_todate=".$appointment->date->format('Y-m-d').'&location='.Session::get('session_location'); $url=route('practitioner.appointments.index'). $queryString; @endphp @else @php $url=route('practitioner.appointments.index'); @endphp @endif @else @endif @endif

{{ ucwords( $newclient['name']. ' ' .$newclient['last_name'] ) }} @if(isset($invoiceSettings) && $invoiceSettings->client_email==1) {{ $newclient['email'] }} @endif @if(isset($invoiceSettings) && $invoiceSettings->client_address==1) {{ $newclient['address'] }} @endif @if(isset($invoiceSettings) && $invoiceSettings->phone_number==1) {{ $newclient['phone'] }} @endif

@if(isset($cc) && $cc->expiry_date)

Concession card holder expiry {{ \Carbon\Carbon::parse($cc->expiry_date)->format('d/m/y')}}

@endif @if($display == 1 && isset($phf) && isset($chf))

{{$phf->healthcodes->name ?? ""}} : {{$phf->provider_number ?? ""}}

@endif
@if(isset($claim_details) && $claim_details->claim_number !='')

{{$claim_details->claim_number}}

@endif
Invoice number
Date
Location
@if(sizeof($Locations) == 1) @foreach($Locations as $location) @endforeach @else @foreach($Locations as $location) @if($appointment->location == $location->id) @endif @endforeach @endif
@if(isset($providerNumber) && count($providerNumber) >=1)
Provider Number
@endif

@if(Request::get('referenceId')!="")
@else @if( $blank_invoice_for_cancel_charge == 1 )
@else
@endif @endif
@if($charge) @else @if( $blank_invoice_for_cancel_charge == 0 ) @if(empty($hasinvoice)) @endif @if(isset($invioceproduct)) @foreach($invioceproduct as $ip) @endforeach @endif @endif @endif
Item Code Cost Qty Total
- {{ $charge ?? '0.00' }} - {{ $charge ?? '0.00' }}
{{ $appointmentType->code }} {{ $appointmentType->fee }} 1 {{$appointmentType->fee}}
{{$ip->notes_product_name->product_code ?? ''}} {{$ip->price ?? ''}} {{$ip->quantity ?? ''}} {{number_format(($ip->quantity * $ip->price),2) ?? ''}}
@if($charge) @else Add a Service Add a Product @endif

Total

Credit applied

Online payment


Current balance

Process Payment


Save
@endsection @section('css') @endsection @section('js') @endsection