@extends('layouts.app') @section('title', 'Manager Dashboard') @section('content')
Manage team leave and overtime requests
Pending Leaves
Pending Overtime
Total Employees
| Employee | Leave Type | Period | Days | Reason | Requested | Actions |
|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($leave->employee->name, 0, 1)) }}
{{ $leave->employee->name }}
{{ $leave->employee->employee_id }} |
{{ $leave->leaveType->leave_name }} |
{{ $leave->start_date->format('d M Y') }}
to {{ $leave->end_date->format('d M Y') }} |
{{ $leave->total_days }} days | @if($leave->reason) {{ Str::limit($leave->reason, 50) }} @else - @endif | {{ $leave->created_at->diffForHumans() }} |
|
No pending leave requests
| Employee | Date | Time | Hours | Reason | Requested | Actions |
|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($overtime->employee->name, 0, 1)) }}
{{ $overtime->employee->name }}
{{ $overtime->employee->employee_id }} |
{{ $overtime->overtime_date->format('d M Y') }} | {{ $overtime->start_time }} - {{ $overtime->end_time }} | {{ $overtime->total_hours }} hours | @if($overtime->reason) {{ Str::limit($overtime->reason, 50) }} @else - @endif | {{ $overtime->created_at->diffForHumans() }} |
|
No pending overtime requests