implemented event package addons with filament resource, event-admin purchase path and notifications, showing up in purchase history
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user