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

@@ -239,11 +239,13 @@ class PhotoboothIngestService
return false;
}
$limit = $eventPackage->package->max_photos;
$limit = $eventPackage->effectivePhotoLimit();
return $limit !== null
&& $limit > 0
&& $eventPackage->used_photos >= $limit;
if ($limit === null) {
return false;
}
return $limit > 0 && $eventPackage->used_photos >= $limit;
}
protected function resolveEmotionId(Event $event): ?int