@extends('layouts.master') @section('title', 'Headcount') @section('content')
| Department | Employees | Share | Basic payroll |
|---|---|---|---|
| {{ $d->name }} | {{ $d->active_employees_count }} | {{ $total ? round($d->active_employees_count / $total * 100) : 0 }}% | {{ money($d->active_employees_sum_basic_salary, false) }} |
| Unassigned | {{ $unassigned }} | {{ round($unassigned / max(1, $total) * 100) }}% |
| {{ $d->title }} | {{ $d->employees_count }} |
— |
| {{ \App\Models\Employee::EMPLOYMENT_TYPES[$t] ?? $t }} | {{ $c }} |
— |
| Employee | Department | Joined |
|---|---|---|
| {{ $e->full_name }} {{ optional($e->designation)->title }} | {{ optional($e->department)->name }} | {{ fmt_date($e->joining_date) }} |
None | ||
| Employee | Status | Left | Reason |
|---|---|---|---|
| {{ $e->full_name }} | {!! status_badge($e->status) !!} | {{ fmt_date($e->exit_date) }} | {{ $e->exit_reason }} |
None | |||