{{-- searchBar --}} {{-- ----------------------------------------------------- --}} {{-- ----------------------------------------------------- --}} {{-- :: overview --}}
{{-- 1: clients --}}
{{$clients?->count()}}
{{__('Total')}}
{{__('System Clients')}}
50%
{{-- ----------------------------------- --}} {{-- ----------------------------------- --}} {{-- 2: files --}}
{{$files?->count()}}
{{__('Total')}}
{{__('Client Files')}}
50%
{{-- ----------------------------------- --}} {{-- ----------------------------------- --}} {{-- 3: memoir --}}
{{$memoirs->where('memoirDate', date('Y-m-d'))->count()}}
{{__('overviewMemoirs')}}
{{__('Published Today')}}
50%
{{-- ----------------------------------- --}} {{-- ----------------------------------- --}} {{-- 4: hearings --}}
{{$hearings->where('hearingDate', date('Y-m-d'))->count()}}
{{ __("overviewHearings") }}
{{ __("Published Today") }}
50%
{{-- ----------------------------------- --}} {{-- ----------------------------------- --}} {{-- 5: hearings --}}
{{$hearings->where('hearingDate', date('Y-m-d'))->count()}}
{{ __("overviewHearings") }}
{{ __("Published Today") }}
50%
{{-- end row --}} {{-- ---------------------------------------- --}} {{-- ---------------------------------------- --}} {{-- ---------------------------------------- --}} {{-- ---------------------------------------- --}} {{-- row --}}
{{-- 1: clients table --}}
{{-- headers --}} {{-- endHeaders --}} {{-- ----------------------------- --}} {{-- ----------------------------- --}} {{-- tbody --}} {{-- loop - clients --}} @foreach ($clients ?? [] as $client) {{-- 1: name --}} {{-- 1.2: clientType --}} {{-- 1.2: phone - email - identity --}} {{-- 1.3: viewButton --}} @endforeach {{-- end loop --}}
{{__('Client')}} {{__('Type')}} {{__('Phone')}} {{__('Email')}} {{__('License')}}
{{ $client?->{__('name')} }}{{ $client?->clientType?->{__('name')} }}{{ $client?->phone }} {{ $client?->email }} {{ $client?->identity }} {{__('View More')}}
{{-- end table --}} {{-- ---------------------------------------------------- --}} {{-- ---------------------------------------------------- --}} {{-- 2: Files --}}
{{-- headers --}} {{-- endHeaders --}} {{-- ------------------------------- --}} {{-- ------------------------------- --}} {{-- tbody --}} {{-- loop - clients --}} @foreach ($clients ?? [] as $client) {{-- 1: name --}} {{-- 1.2: clientType --}} {{-- 1.3: files - cases - documents --}} {{-- 1.4: viewButton --}} @endforeach {{-- end loop --}}
{{__('Client')}} {{__('Type')}} {{__('Files')}} {{__('Cases')}} {{__('Documents')}}
{{ $client?->{__('name')} }}{{ $client?->clientType?->{__('name')} }}{{ $client->files->count() }} {{ $client->cases->count() }} {{ $client->fileAttachments->count() }} {{ __('View More') }}
{{-- end table --}} {{-- ---------------------------------------------------- --}} {{-- ---------------------------------------------------- --}} {{-- 3: memoirs --}}
{{-- headers --}} {{-- endHeaders --}} {{-- ------------------------------- --}} {{-- ------------------------------- --}} {{-- tbody --}} {{-- loop - memoirs --}} @foreach ($memoirs?->where('memoirDate', date('Y-m-d')) ?? [] as $memoir) {{-- 1: memoirType --}} {{-- 2: title --}} {{-- 3: creator --}} {{-- 4: memoirDate --}} {{-- 5: advisor - executionDate --}} {{-- ---------------------------- --}} {{-- ---------------------------- --}} {{-- 6: status --}} {{-- view --}} @endforeach {{-- end loop --}}
{{__('Type')}} {{__('Title')}} {{__('Issued By')}} {{__('Issue Date')}} {{__('Advisor')}} {{__('Execution Date')}} {{__('Status')}}
{{ $memoir?->memoirType?->{__('name')} }}{{ $memoir?->{__('title')} }}{{ $memoir?->creator?->{__('name')} }}{{ $memoir->memoirDate ? date('d / m / Y', strtotime($memoir->memoirDate)) : '' }}{{ $memoir?->advisor?->{__('name')} }} {{ $memoir?->memoirExecutionDate ? date('d / m / Y', strtotime($memoir->memoirExecutionDate)) : '' }} {{__(ucwords($memoir->status))}} {{ __('View More') }}
{{-- end table --}} {{-- ---------------------------------------------------- --}} {{-- ---------------------------------------------------- --}} {{-- 4: todayHearings --}}
{{-- headers --}} {{-- endHeaders --}} {{-- ---------------------------- --}} {{-- ---------------------------- --}} {{-- tbody --}} {{-- loop - hearings --}} @foreach ($hearings->where('hearingDate', date('Y-m-d')) as $hearing) {{-- type --}} {{-- court --}} {{-- advisor - pleadingLawyer --}} {{-- hearingDate --}} {{-- upcomingHearingDate --}} {{-- viewButton --}} @endforeach {{-- end loop --}}
{{__('Type')}} {{__('Court')}} {{__('Attendance')}} {{__('Advisor')}} {{__('Pleading Lawyer')}} {{__('Hearing Date')}} {{__('Next Hearing Date')}}
{{ $hearing?->hearingType?->{__('name')} }}{{ $hearing?->court?->{__('name')} }} {{ $hearing?->courtAttendance ? __(ucwords($hearing?->courtAttendance)) : '' }}{{ $hearing?->advisor?->{__('name')} }} {{ $hearing?->pleadingLawyer?->{__('name')} }}{{ $hearing?->hearingDate ? date('d / m / Y', strtotime($hearing->hearingDate)) : '' }}{{ $hearing?->upcomingHearingDate ? date('d / m/ Y', strtotime($hearing?->upcomingHearingDate)) : '' }} {{ __('View More') }}
{{-- endCol --}}
{{-- end overviewRow --}} {{-- ---------------------------------------- --}} {{-- ---------------------------------------- --}} {{-- quickAccess --}}

{{ __('Quick Access') }}

{{-- row--}}
{{-- 1: hearings --}}
{{__('Hearings')}}

{{$hearings?->count() ?? 0 }}

{{-- 2: documents --}}
{{__('Documents')}}

{{ $documents?->count() ?? 0 }}

{{-- 3: search --}}
{{__('Search')}}

0

{{-- 4: files --}}
{{__('Manage Files')}}

{{ $files?->count() ?? 0 }}

{{-- 5: cases --}}
{{__('Cases')}}

{{ $cases?->count() ?? 0}}

{{__('View')}}
{{-- end row --}}
{{-- endSection --}}