@section('externalcss') {{-- --}} @endsection @if($org_unit_id)
{{--

Welcome
{{\Illuminate\Support\Facades\Auth::user()->name}}

--}}
{{-- @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('patients-read'))--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--

Patients

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- @endif--}} @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('prescriptions-read'))

Prescription

@endif @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('manage_sessions-read'))

Sessions

@endif {{-- @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('appointments-read')) @endif @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('consultation-read')) @endif--}} @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('appointments-read'))

Appointments

@endif @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('consultation-read'))

Consultation Screen

@endif @if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('consultation_status-read'))

Token Display Screen

@endif

Today's Sessions


{{--

Today's Appointments
--}}

Total No. Of Patients

{{$totalPatients}}

@if($currentdatebillingpercentage>0) @else @endif {{$currentdatebillingpercentage}}%

Today's Fee Collection

₹ {{number_format((float)$currentdatebillingamount, 2, '.', '')}}

{{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- Endoscopy--}} {{--
--}} {{--
--}} {{--
--}} {{--

--}} {{-- {{sizeof($endoscopy)}}--}} {{--

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- Ultrasound--}} {{--
--}} {{--
--}} {{--
--}} {{--

--}} {{-- {{sizeof($ultrasound)}}--}} {{--

--}} {{--
--}} {{--
--}} {{--
--}}

Last 7 Days Visited Patients


{{--
{{$currentdatepatientcount}} @if($currentdatepatientpercentage>0) {{$currentdatepatientpercentage}}% @else {{$currentdatepatientpercentage}}% @endif
Today's Patients
{{$currentmonthpatientcount}} @if($currentmonthpatientpercentage>0) {{$currentmonthpatientpercentage}}% @else {{$currentmonthpatientpercentage}}% @endif
Current Month Patients
{{$currentyearpatientcount}} --}}{{-- @if($currentyearpatientpercentage>0)--}}{{-- {{$currentyearpatientpercentage}}% --}}{{--@else {{$currentyearpatientpercentage}}% --}}{{-- --}}{{-- @endif--}}{{--
Total Patients
--}} {{--
₹ {{number_format((float)$currentdatebillingamount, 2, '.', '')}} @if($currentdatebillingpercentage>0) {{$currentdatebillingpercentage}}% @else {{$currentdatebillingpercentage}}% @endif
Today's Fee Collection
@foreach($orgunitinfos as $orgunit) @if($key/2==0)

{{$orgunit['unit_name']}}

{{$orgunit['address']}}

₹ {{$orgunit['total_net_amount']}}
@else

{{$orgunit['unit_name']}}

{{$orgunit['address']}}

₹ {{$orgunit['total_net_amount']}}
@endif @endforeach --}}{{--
Clinic Name-02
{{sizeof($repeatpateints)}}
--}}{{--
--}} {{--
{{sizeof($newpateints)}} @if(sizeof($totalpatients)>0) {{number_format((float)(sizeof($newpateints)/sizeof($totalpatients))*100, 2, '.', '')}}% @else 0.00% @endif
New Patients
{{sizeof($repeatpateints)}} @if(sizeof($totalpatients)>0) {{number_format((float)(sizeof($repeatpateints)/sizeof($totalpatients))*100, 2, '.', '')}}% @else 0.00% @endif
Repeat Patients
{{sizeof($todayssession)}}
Today's Sessions
@if(sizeof($todayssession)>0) @foreach($todayssession as $session)
{{\Carbon\Carbon::parse($session['session_start_time'])->format('h:i A')}} - {{\Carbon\Carbon::parse($session['session_end_time'])->format('h:i A')}}
@endforeach @endif
--}}
{{--

Patients This Months Patients from all the sources

--}}
{{--
--}}
@else

Please Select An Unit

@endif @section('externaljs') {{--