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
This commit is contained in:
Janus C. H. Knudsen 2026-01-15 16:59:56 +01:00
parent 6746e876d7
commit 545d6606a6
18 changed files with 506 additions and 206 deletions

View file

@ -317,6 +317,7 @@
"rating": "rating",
"employedsince": "ansat siden",
"hours": {
"label": "timer",
"weekly": "Ugentlig arbejdstid",
"monday": "Mandag",
"tuesday": "Tirsdag",
@ -409,8 +410,8 @@
"desc": "Kunder kan vælge denne medarbejder"
},
"smsreminders": {
"label": "Modtag SMS-påmindelser",
"desc": "Få besked om nye bookinger"
"label": "Få notifikation via App'en om nye bookinger",
"desc": ""
},
"editcalendar": {
"label": "Kan redigere egen kalender",
@ -419,12 +420,12 @@
},
"notifications": {
"label": "Notifikationer",
"intro": "Vælg hvilke email-notifikationer medarbejderen skal modtage.",
"onlinebooking": "Modtag email ved online booking",
"manualbooking": "Modtag email ved manuel booking",
"cancellation": "Modtag email ved aflysning",
"waitlist": "Modtag email ved opskrivning til venteliste",
"dailysummary": "Modtag daglig oversigt over morgendagens bookinger"
"intro": "Vælg hvilke notifikationer der skal sendes.",
"onlinebooking": "Email ved online booking",
"manualbooking": "Email ved manuel booking",
"cancellation": "Email ved aflysning",
"waitlist": "Email ved opskrivning til venteliste",
"dailysummary": "Email med daglig oversigt"
}
}
}

View file

@ -317,6 +317,7 @@
"rating": "rating",
"employedsince": "employed since",
"hours": {
"label": "hours",
"weekly": "Weekly working hours",
"monday": "Monday",
"tuesday": "Tuesday",
@ -409,8 +410,8 @@
"desc": "Customers can select this employee"
},
"smsreminders": {
"label": "Receive SMS reminders",
"desc": "Get notified about new bookings"
"label": "Get notified via the App about new bookings",
"desc": ""
},
"editcalendar": {
"label": "Can edit own calendar",
@ -419,12 +420,12 @@
},
"notifications": {
"label": "Notifications",
"intro": "Choose which email notifications the employee should receive.",
"onlinebooking": "Receive email for online booking",
"manualbooking": "Receive email for manual booking",
"cancellation": "Receive email for cancellation",
"waitlist": "Receive email for waitlist signup",
"dailysummary": "Receive daily summary of tomorrow's bookings"
"intro": "Choose which notifications to send.",
"onlinebooking": "Email on online booking",
"manualbooking": "Email on manual booking",
"cancellation": "Email on cancellation",
"waitlist": "Email on waitlist signup",
"dailysummary": "Email with daily summary"
}
}
}