.
This commit is contained in:
parent
1be7a18293
commit
6cf77c55db
|
@ -26,4 +26,5 @@ class Promotion(models.Model):
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_discount(self, price):
|
def get_discount(self, price):
|
||||||
return price - price*0.25
|
return price - price*0.25
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue