dk vat is 25% - but only 20% of an amount including vat is vat :)
This commit is contained in:
parent
ba01e103a3
commit
a49168e95c
|
@ -73,7 +73,7 @@ class Order(CreatedUpdatedModel):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def vat(self):
|
def vat(self):
|
||||||
return (self.total/100)*25
|
return self.total*0.2
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def total(self):
|
def total(self):
|
||||||
|
|
Loading…
Reference in a new issue