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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user