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.
25 lines
408 B
JSON
25 lines
408 B
JSON
[
|
|
{
|
|
"id": 1,
|
|
"username": "emp1",
|
|
"password": "123",
|
|
"name": "Rahul Sharma",
|
|
"role": "employee",
|
|
"leaveBalance": 12
|
|
},
|
|
{
|
|
"id": 2,
|
|
"username": "emp2",
|
|
"password": "123",
|
|
"name": "Priya Das",
|
|
"role": "employee",
|
|
"leaveBalance": 8
|
|
},
|
|
{
|
|
"id": 3,
|
|
"username": "manager",
|
|
"password": "123",
|
|
"name": "Amit Manager",
|
|
"role": "manager"
|
|
}
|
|
] |