From 3afc6038a8bd3ed2bae0f06e252879a3849459cf Mon Sep 17 00:00:00 2001 From: Benjamin A Date: Mon, 13 Nov 2023 10:59:59 -0500 Subject: [PATCH] Update combo discount to account for rigging and power --- events/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/models.py b/events/models.py index 99bb9e42..28a6e350 100755 --- a/events/models.py +++ b/events/models.py @@ -872,7 +872,7 @@ def discount_applied(self): @property def discount_value(self): if self.discount_applied: - categories = ['Lighting', 'Sound'] + categories = ['Lighting', 'Sound', 'Rigging', 'Power'] categories = [Category.objects.get(name=name) for name in categories] discountable_total = decimal.Decimal( self.serviceinstance_set.filter(service__category__in=categories).aggregate(Sum('service__base_cost'))[