feat: Add specific shift date field for multi-day events with date selector in EventEditor and date badge in ShiftMatrix

This commit is contained in:
Richard
2026-07-31 10:52:20 +02:00
parent 67b02f6646
commit 821e14fcab
13 changed files with 104 additions and 62 deletions
+1
View File
@@ -369,6 +369,7 @@ class EventTemplateViewSet(viewsets.ModelViewSet):
shift = Shift.objects.create(
task_area=ta,
title=shift_data.get('title', 'Schicht'),
date=shift_data.get('date') or start_date,
start_time=shift_data.get('start_time', '18:00'),
end_time=shift_data.get('end_time', '22:00'),
max_participants=shift_data.get('max_participants', 1)