[fix] digest values in absolute
This commit is contained in:
parent
b84ba868e6
commit
e6791ee78e
@ -346,7 +346,7 @@ class EmailDigest(Document):
|
|||||||
self.get_next_sending()
|
self.get_next_sending()
|
||||||
|
|
||||||
def fmt_money(self, value):
|
def fmt_money(self, value):
|
||||||
return fmt_money(value, currency = self.currency)
|
return fmt_money(abs(value), currency = self.currency)
|
||||||
|
|
||||||
def send():
|
def send():
|
||||||
now_date = now_datetime().date()
|
now_date = now_datetime().date()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user