Commit 75ccf9c1 authored by VAN ZUIJLEN Nils's avatar VAN ZUIJLEN Nils
Browse files

Apply suggestion to boutique/

parent 6991206b
......@@ -353,7 +353,7 @@ class OrderItem(models.Model):
return self.pack_deepness * 50 + 10
def is_available_atm(self):
def is_available_atm(self) -> bool:
return (not self.item.hidden) or self.item.end_date >
def get_price(self) -> Decimal:
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