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)
Exemple #3
0
 def _amount_donated(self, obj: AlquilerMate):
     return pretty_currency(obj.amount_donated, grouping=True)
Exemple #4
0
 def price_with_dollar(self, obj):
     return pretty_currency(obj.price)
Exemple #5
0
 def _amount_in(self, obj):
     return pretty_currency(obj.amount_in, grouping=True) if obj.amount_in else "-"
Exemple #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)
 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)
 def _price(self, obj: Menu):
     return pretty_currency(obj.price)
 def _earnings(self, obj):
     return pretty_currency(obj.earnings, grouping=True)