@extends('admin.layout.main') @section('content')
@if (session('role') === 'organization')

Monthly

215 hrs 00 min.

Weekly

54 hr 00 min.

Employee Leaves

22 Casual Leaves

Code of conduct

Ethical Code.

Overview

Employees

{{ $data['total_profiles'] }}

Total Employees

Reminder

{{ $data['documentsWithReminders'] }}

Total Reminder

Salaries - {{ session('currency') }}

{{ $data['salaries'] }}

Total Salaries

New Employees

{{ $data['last_week_profiles'] }}

Last 30 Days

Notifications

profile image
A goal without a plan is just a wish.

Stay Blessed

You have 0 new notifications.

@if (isset($data['birthday']['employee']) && !empty($data['birthday']['employee']['date_of_birth'])) @php // Parse date of birth and calculate age and month name $dateOfBirth = \Carbon\Carbon::parse( $data['birthday']['employee']['date_of_birth'], ); $age = \Carbon\Carbon::now()->diffInYears($dateOfBirth); $monthName = $dateOfBirth->format('F'); // Full month name @endphp
Employee Image

Next Birthday
{{ $data['birthday']['employee']['name'] }}

@else
No Upcoming Birthday Found
@endif
@endif @if (session('role') === 'admin')

Overview

Organizations

{{ $data['totalOrganizations'] }}

Total Organizations

Users

{{ $data['totalUsers'] }}

Total Users

New Organizations

{{ $data['totalOrganizationsLastMonth'] }}

Last 30 Days

New Users

{{ $data['totalUsersLastMonth'] }}

Last 30 Days
@endif
@endsection