feat(tenant): enhance storefront website types with header_type and multi-event support

This commit is contained in:
2026-09-17 16:02:21 -03:00
parent 131eb1a7ee
commit eb1e4df63f
8 changed files with 50 additions and 7 deletions

View File

@@ -48,6 +48,7 @@ class TenantResource extends JsonResource
'footer_bg_color' => $this->footer_bg_color,
'admin_website_type_code' => $this->admin_website_type_code,
'storefront_website_type_code' => $this->storefront_website_type_code,
'header_type' => $this->storefrontWebsiteType?->header_type ?? 'standard',
'event_date_text' => $this->event_date_text,
'event' => $this->whenLoaded('eventDates', fn () => $this->event_title === null
? null