implemented event package addons with filament resource, event-admin purchase path and notifications, showing up in purchase history

This commit is contained in:
Codex Agent
2025-11-21 11:25:45 +01:00
parent 07fe049b8a
commit 7a8d22a238
58 changed files with 3339 additions and 60 deletions

View File

@@ -71,7 +71,9 @@ return [
'subject' => 'Photo uploads for ":event" are currently blocked',
'greeting' => 'Hello :name,',
'body' => 'The package ":package" for event ":event" has reached its maximum of :limit photos. Guests can no longer upload new photos until you upgrade the package.',
'cta_addon' => 'Need more uploads right now? Use the in-app add-on to unlock additional photo slots instantly.',
'action' => 'Upgrade or manage package',
'addon_action' => 'Unlock more photos',
],
'guest_threshold' => [
'subject' => 'Event ":event" has used :percentage% of its guest allowance',
@@ -83,7 +85,9 @@ return [
'subject' => 'Guest slots for ":event" are currently exhausted',
'greeting' => 'Hello :name,',
'body' => 'The package ":package" for event ":event" has reached its maximum of :limit guests. New guest invites cannot be created until you upgrade the package.',
'cta_addon' => 'Need more guest access right away? Use the add-on button inside the event dashboard to unlock extra slots within seconds.',
'action' => 'Upgrade or manage package',
'addon_action' => 'Unlock more guests',
],
'event_threshold' => [
'subject' => 'Package ":package" has used :percentage% of its event allowance',
@@ -129,4 +133,15 @@ return [
],
'footer' => 'Best regards,<br>The Fotospiel Team',
],
'addons' => [
'receipt' => [
'subject' => 'Add-on purchase: :addon',
'greeting' => 'Hello :name,',
'body' => 'You purchased " :addon " for the event " :event ". Amount: :amount.',
'summary' => 'Included: +:photos photos, +:guests guests, +:days gallery days.',
'unknown_amount' => 'n/a',
'action' => 'Open event dashboard',
],
],
];