feat(event): implement EventDateGroupingService to group historical dates and update related resources and tests
This commit is contained in:
@@ -23,6 +23,9 @@ class EventDateResource extends JsonResource
|
||||
'status' => $this->status->value,
|
||||
'rescheduled_to_event_date_id' => $this->rescheduled_to_event_date_id,
|
||||
'suspended_at' => $this->suspended_at?->toISOString(),
|
||||
'rescheduled_dates' => EventDateResource::collection(
|
||||
$this->whenLoaded('adminRescheduledDates')
|
||||
),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user