Commit 6991206b authored by VAN ZUIJLEN Nils's avatar VAN ZUIJLEN Nils
Browse files

Apply suggestion to boutique/

parent 2bd5f137
...@@ -354,7 +354,7 @@ class OrderItem(models.Model): ...@@ -354,7 +354,7 @@ class OrderItem(models.Model):
@property @property
def is_available_atm(self): def is_available_atm(self):
return (not self.item.hidden) or orderitem.item.end_date > return (not self.item.hidden) or self.item.end_date >
def get_price(self) -> Decimal: def get_price(self) -> Decimal:
return self.quantity * self.item.price return self.quantity * self.item.price
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment