commented the PricingProfile check for IsBooked

This commit is contained in:
pb 2025-07-07 16:30:29 +02:00
parent 3971d5ca5d
commit e7e56d1859

View File

@ -46,6 +46,7 @@ func (abs *PricedResource) IsPurchasable() bool {
} }
func (abs *PricedResource) IsBooked() bool { func (abs *PricedResource) IsBooked() bool {
return true // For dev purposes, prevent that DB objects that don't have a Pricing are considered as not booked
if abs.SelectedPricing == nil { if abs.SelectedPricing == nil {
return false return false
} }