fix
This commit is contained in:
parent
c84bea8d06
commit
0a8690659f
|
@ -24,6 +24,7 @@ class Promotion(models.Model):
|
|||
reverse_lazy("promotion:contract"),
|
||||
code
|
||||
)
|
||||
return url
|
||||
|
||||
def get_discount(self, price):
|
||||
return price - price*0.25
|
||||
|
|
Loading…
Reference in a new issue