Optimizer: the saved amount of money is positive (#24802)

This commit is contained in:
Marc-Philip 2025-10-28 11:17:54 +01:00 • committed by GitHub
parent 667978db3e
commit a6502fc545
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,14 @@
<span class="d-block no-wrap text-truncate">Result: Charging Plan</span>
<small class="d-block no-wrap text-truncate">
{{ evopt.res.status }} ・
{{ fmtMoney(evopt.res.objective_value || 0, currency, true, true) }}
{{
fmtMoney(
(evopt.res.objective_value || 0) * -1,
currency,
true,
true
)
}}
saved
</small>
</h3>