feat(event): support ticket refund configuration in event endpoints

This commit is contained in:
2026-09-11 16:22:46 -03:00
parent c0c19c9c01
commit 4bb4f526e4
4 changed files with 117 additions and 0 deletions

View File

@@ -34,6 +34,12 @@ class EventService
$tenant->update([
'event_title' => $data['title'],
'event_location' => $data['location'],
...array_intersect_key($data, array_flip([
'allow_ticket_refund',
'allow_ticket_total_refund',
'allow_ticket_partial_refund',
'ticket_partial_refund_percentage',
])),
]);
if (array_key_exists('social_media', $data)) {