Employees can apply for leave and track balance, status, and history. Managers can view all requests and approve/reject them. Login with separate dashboards for employees and managers with the dummy json. Tables with filters (All, Pending, Approved, Rejected) for easy management.
22 lines
405 B
JSON
22 lines
405 B
JSON
[
|
|
{
|
|
"id": 101,
|
|
"userId": 1,
|
|
"type": "Sick",
|
|
"fromDate": "2026-04-25",
|
|
"toDate": "2026-04-26",
|
|
"reason": "Fever",
|
|
"status": "Approved",
|
|
"appliedAt": "2026-04-20"
|
|
},
|
|
{
|
|
"id": 102,
|
|
"userId": 2,
|
|
"type": "Casual",
|
|
"fromDate": "2026-04-28",
|
|
"toDate": "2026-04-30",
|
|
"reason": "Family trip",
|
|
"status": "Pending",
|
|
"appliedAt": "2026-04-27"
|
|
}
|
|
] |