main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit 177f862263 - Show all commits

View File

@@ -291,7 +291,7 @@ class Dashboard(ModelSQL, ModelView):
f1,f2,f3,f4,f5,d1,d2,d3,d4,d5 = self.get_last_five_fx_rates()
Valuation = Pool().get('valuation.valuation')
last_total,last_variation = Valuation.get_totals()
pnl_amount = "{:,.0f}".format(round(total_t,0))
pnl_amount = "{:,.0f}".format(round(last_total,0))
pnl_variation = 0
if last_total:
pnl_variation = "{:,.2f}".format(round((last_variation/last_total)*100,0))