@extends('layouts.admin.default') @section('content')
@can('therapist statistics')
{{__("total sessions")}}
{{$user->bookings()->whereMonth('date', now()->month) // Filtering bookings for the current month ->whereYear('date', now()->year)->count()}}
{{__("total salary")}}
{{$user->salary}} {{($user?->country?->code=="971"?"AED":"JOD")}}
Extra Time ({{$user->extraTime}})
{{$user->extraFee}} {{($user?->country?->code=="971"?"AED":"JOD")}}
{{__("total paid")}}
{{$user->totalPaid}} {{($user?->country?->code=="971"?"AED":"JOD")}}
{{__("remaining payment")}}
{{$user->remainingPayment}} {{($user?->country?->code=="971"?"AED":"JOD")}}
@endcan
#{{$user->id}}

Speciality: {{$user->speciality}}

{{__("phone")}}
{{$user->phone}}
{{__("email")}}
{{$user->email}}
@can('therapist bookings')
@endcan @can('therapist billings')
{{__("Recent Transactions")}}
@endcan
@endsection