more product types (events, subscriptions, digital goods), photos templates index/view

This commit is contained in:
2025-11-03 23:15:31 -08:00
parent 46e8712161
commit 868f9dbcce
4 changed files with 26 additions and 5 deletions

View File

@@ -11,13 +11,19 @@ enum ProductProductTypeId: int implements EnumLabelInterface
case Service = 1;
case Product = 2;
case Consumable = 3;
case DigitalGood = 4;
case Subscription = 5;
// case Event = 5;
public function label(): string
{
return match($this) {
self::Service => 'Service',
self::Product => 'Product',
self::Consumable => 'Consumable'
self::Consumable => 'Consumable',
self::DigitalGood => 'Digital Good',
self::Subscription => 'Subscription',
// self::Event => 'Event',
};
}
}