PlanTempusApp/PlanTempus.Application/Features/Employees/Data/workScheduleMock.json
Janus C. H. Knudsen 545d6606a6 Refactors employee details and UI controls
Enhances employee hours view with dynamic weekly schedule rendering
Updates toggle slider and theme switch components with improved interactions
Adds more flexible notification and settings configurations for employees

Improves user experience by streamlining UI controls and schedule display
2026-01-15 16:59:56 +01:00

219 lines
11 KiB
JSON

{
"weekNumber": 52,
"year": 2025,
"startDate": "2025-12-23",
"endDate": "2025-12-29",
"closedDays": ["2025-12-25", "2026-01-01"],
"employees": [
{
"employeeId": "employee-1",
"name": "Anna Sørensen",
"weeklyHours": 32,
"schedule": {
"2025-12-23": { "status": "work", "start": "09:00", "end": "17:00" },
"2025-12-24": { "status": "work", "start": "09:00", "end": "13:00" },
"2025-12-25": { "status": "off" },
"2025-12-26": { "status": "off" },
"2025-12-27": { "status": "work", "start": "09:00", "end": "17:00" },
"2025-12-28": { "status": "work", "start": "10:00", "end": "14:00" },
"2025-12-29": { "status": "off" },
"2025-12-30": { "status": "work", "start": "09:00", "end": "17:00" },
"2025-12-31": { "status": "work", "start": "09:00", "end": "14:00" },
"2026-01-01": { "status": "off" },
"2026-01-02": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-03": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-04": { "status": "work", "start": "10:00", "end": "14:00" },
"2026-01-05": { "status": "off" },
"2026-01-06": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-07": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-08": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-09": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-10": { "status": "off" },
"2026-01-11": { "status": "off" },
"2026-01-12": { "status": "off" },
"2026-01-13": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-14": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-15": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-16": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-17": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-18": { "status": "off" },
"2026-01-19": { "status": "off" },
"2026-01-20": { "status": "vacation" },
"2026-01-21": { "status": "vacation" },
"2026-01-22": { "status": "vacation" },
"2026-01-23": { "status": "vacation" },
"2026-01-24": { "status": "vacation" },
"2026-01-25": { "status": "off" },
"2026-01-26": { "status": "off" }
}
},
{
"employeeId": "employee-2",
"name": "Mette Jensen",
"weeklyHours": 40,
"schedule": {
"2025-12-23": { "status": "work", "start": "10:00", "end": "18:00" },
"2025-12-24": { "status": "work", "start": "10:00", "end": "18:00" },
"2025-12-25": { "status": "vacation" },
"2025-12-26": { "status": "vacation" },
"2025-12-27": { "status": "vacation" },
"2025-12-28": { "status": "off" },
"2025-12-29": { "status": "off" },
"2025-12-30": { "status": "vacation" },
"2025-12-31": { "status": "vacation" },
"2026-01-01": { "status": "off" },
"2026-01-02": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-03": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-04": { "status": "off" },
"2026-01-05": { "status": "off" },
"2026-01-06": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-07": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-08": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-09": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-10": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-11": { "status": "off" },
"2026-01-12": { "status": "off" },
"2026-01-13": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-14": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-15": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-16": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-17": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-18": { "status": "off" },
"2026-01-19": { "status": "off" },
"2026-01-20": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-21": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-22": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-23": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-24": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-25": { "status": "off" },
"2026-01-26": { "status": "off" }
}
},
{
"employeeId": "employee-3",
"name": "Louise Nielsen",
"weeklyHours": 37,
"schedule": {
"2025-12-23": { "status": "work", "start": "09:00", "end": "17:00" },
"2025-12-24": { "status": "work", "start": "09:00", "end": "17:00" },
"2025-12-25": { "status": "off" },
"2025-12-26": { "status": "off" },
"2025-12-27": { "status": "work", "start": "09:00", "end": "17:00" },
"2025-12-28": { "status": "work", "start": "09:00", "end": "14:00" },
"2025-12-29": { "status": "off" },
"2025-12-30": { "status": "work", "start": "09:00", "end": "17:00" },
"2025-12-31": { "status": "work", "start": "09:00", "end": "13:00" },
"2026-01-01": { "status": "off" },
"2026-01-02": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-03": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-04": { "status": "off" },
"2026-01-05": { "status": "off" },
"2026-01-06": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-07": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-08": { "status": "sick" },
"2026-01-09": { "status": "sick" },
"2026-01-10": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-11": { "status": "off" },
"2026-01-12": { "status": "off" },
"2026-01-13": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-14": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-15": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-16": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-17": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-18": { "status": "off" },
"2026-01-19": { "status": "off" },
"2026-01-20": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-21": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-22": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-23": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-24": { "status": "work", "start": "09:00", "end": "17:00" },
"2026-01-25": { "status": "off" },
"2026-01-26": { "status": "off" }
}
},
{
"employeeId": "employee-4",
"name": "Katrine Pedersen",
"weeklyHours": 24,
"schedule": {
"2025-12-23": { "status": "work", "start": "12:00", "end": "20:00" },
"2025-12-24": { "status": "off" },
"2025-12-25": { "status": "off" },
"2025-12-26": { "status": "off" },
"2025-12-27": { "status": "work", "start": "12:00", "end": "20:00" },
"2025-12-28": { "status": "work", "start": "10:00", "end": "18:00" },
"2025-12-29": { "status": "off" },
"2025-12-30": { "status": "work", "start": "12:00", "end": "20:00" },
"2025-12-31": { "status": "off" },
"2026-01-01": { "status": "off" },
"2026-01-02": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-03": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-04": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-05": { "status": "off" },
"2026-01-06": { "status": "off" },
"2026-01-07": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-08": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-09": { "status": "off" },
"2026-01-10": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-11": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-12": { "status": "off" },
"2026-01-13": { "status": "off" },
"2026-01-14": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-15": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-16": { "status": "off" },
"2026-01-17": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-18": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-19": { "status": "off" },
"2026-01-20": { "status": "off" },
"2026-01-21": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-22": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-23": { "status": "off" },
"2026-01-24": { "status": "work", "start": "12:00", "end": "20:00" },
"2026-01-25": { "status": "work", "start": "10:00", "end": "18:00" },
"2026-01-26": { "status": "off" }
}
},
{
"employeeId": "employee-5",
"name": "Sofie Andersen",
"weeklyHours": 20,
"schedule": {
"2025-12-23": { "status": "sick" },
"2025-12-24": { "status": "work", "start": "09:00", "end": "15:00" },
"2025-12-25": { "status": "off" },
"2025-12-26": { "status": "off" },
"2025-12-27": { "status": "work", "start": "09:00", "end": "15:00" },
"2025-12-28": { "status": "off" },
"2025-12-29": { "status": "off" },
"2025-12-30": { "status": "work", "start": "09:00", "end": "15:00" },
"2025-12-31": { "status": "off" },
"2026-01-01": { "status": "off" },
"2026-01-02": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-03": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-04": { "status": "off" },
"2026-01-05": { "status": "off" },
"2026-01-06": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-07": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-08": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-09": { "status": "off" },
"2026-01-10": { "status": "off" },
"2026-01-11": { "status": "off" },
"2026-01-12": { "status": "off" },
"2026-01-13": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-14": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-15": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-16": { "status": "off" },
"2026-01-17": { "status": "off" },
"2026-01-18": { "status": "off" },
"2026-01-19": { "status": "off" },
"2026-01-20": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-21": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-22": { "status": "work", "start": "09:00", "end": "15:00" },
"2026-01-23": { "status": "off" },
"2026-01-24": { "status": "off" },
"2026-01-25": { "status": "off" },
"2026-01-26": { "status": "off" }
}
}
]
}