@extends('layouts.master') @section('title') @lang('translation.Admin_Dashboard') @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Dashboard @endslot @slot('title') Admin Overview @endslot @endcomponent
Total Staff

0

{{ $staffChange >= 0 ? '+' : '' }}{{ $staffChange }} Since last month
Total Employers

0

{{ $employerChange >= 0 ? '+' : '' }}{{ $employerChange }} Since last month
Total Clients

0

{{ ($clientChange ?? 0) >= 0 ? '+' . ($clientChange ?? 0) : ($clientChange ?? 0) }} Since last month
Total Departments

0

{{ $departmentChange >= 0 ? '+' : '' }}{{ $departmentChange }} Since last month
Total Branches

0

{{ $branchChange >= 0 ? '+' : '' }}{{ $branchChange }} Since last month
Total Positions

0

{{ $positionChange >= 0 ? '+' : '' }}{{ $positionChange }} Since last month
Staff Status Distribution

Recent Staff Members

@foreach($recentStaff as $staff) @endforeach
Name Position Department Status Action
@if($staff->profile_picture) @else
@if($staff->user) {{ substr($staff->user->first_name, 0, 1) }}{{ substr($staff->user->last_name, 0, 1) }} @else @endif
@endif
@if($staff->user) {{ $staff->user->first_name }} {{ $staff->user->last_name }} @else Unknown User @endif

{{ $staff->employee_id }}

@if($staff->position) {{ $staff->position->position_name }} @else N/A @endif @if($staff->department) {{ $staff->department->name }} @else N/A @endif {{ $staff->is_active ? 'Active' : 'Inactive' }} View

Recent Employers

@foreach($recentEmployers as $employer) @endforeach
Name Contact Clients Status Action
@if($employer->logo) @else
{{ substr($employer->name, 0, 1) }}
@endif
{{ $employer->name }}

{{ $employer->tax_id }}

{{ $employer->contact_person }}

{{ $employer->phone }}

{{ $employer->clients_count }} Clients {{ $employer->active ? 'Active' : 'Inactive' }} View
@endsection @section('script') @endsection