can add and delete shiftplans from pressets

This commit is contained in:
2025-10-12 20:52:48 +02:00
parent 80b9c96238
commit 1317781d7b
3 changed files with 80 additions and 119 deletions

View File

@@ -71,7 +71,7 @@ export const TEMPLATE_PRESETS = {
timeSlots: DEFAULT_ZEBRA_TIME_SLOTS,
shifts: DEFAULT_ZEBRA_SHIFTS
},
ZEBRA_MINIMAL: {
/*ZEBRA_MINIMAL: {
name: 'ZEBRA Minimal',
description: 'ZEBRA mit minimaler Besetzung',
timeSlots: DEFAULT_ZEBRA_TIME_SLOTS,
@@ -92,14 +92,14 @@ export const TEMPLATE_PRESETS = {
{ timeSlotId: 'afternoon', dayOfWeek: day, requiredEmployees: 3, color: '#e74c3c' }
])
]
},
},*/
GENERAL_STANDARD: {
name: 'Standard Wochenplan',
description: 'Standard Vorlage: Mo-Fr Vormittag+Nachmittag+Abend',
timeSlots: DEFAULT_TIME_SLOTS,
shifts: DEFAULT_SHIFTS
},
ZEBRA_PART_TIME: {
/*ZEBRA_PART_TIME: {
name: 'ZEBRA Teilzeit',
description: 'ZEBRA Vorlage mit reduzierten Schichten',
timeSlots: DEFAULT_ZEBRA_TIME_SLOTS,
@@ -109,7 +109,7 @@ export const TEMPLATE_PRESETS = {
timeSlotId: 'morning', dayOfWeek: day, requiredEmployees: 1, color: '#3498db'
}))
]
}
}*/
} as const;
// Helper function to create plan from preset