def earnings_with_dollar(self, obj):
     return pretty_currency(obj.totalin, grouping=True)
 def losses_with_dollar(self, obj):
     return pretty_currency(obj.totalout, grouping=True)
Esempio n. 3
0
 def _amount_donated(self, obj: AlquilerMate):
     return pretty_currency(obj.amount_donated, grouping=True)
Esempio n. 4
0
 def price_with_dollar(self, obj):
     return pretty_currency(obj.price)
Esempio n. 5
0
 def _amount_in(self, obj):
     return pretty_currency(obj.amount_in, grouping=True) if obj.amount_in else "-"
Esempio n. 6
0
 def _amount_out(self, obj):
     return pretty_currency(obj.amount_out, grouping=True) if obj.amount_out else "-"
 def _price(self, obj: BarProduct):
     return pretty_currency(obj.price)
Esempio n. 8
0
 def amount_with_dollar(self, obj):
     return pretty_currency(obj.amount, grouping=True)
 def service_price(self, obj):
     return pretty_currency(obj.service.price)
 def _total(self, obj: SpecialPurchase):
     return pretty_currency(obj.quantity * obj.amount)
 def total(self, obj):
     return pretty_currency(obj.total)
Esempio n. 12
0
 def _price(self, obj: Menu):
     return pretty_currency(obj.price)
Esempio n. 13
0
 def _earnings(self, obj):
     return pretty_currency(obj.earnings, grouping=True)