Korjaa status-komennon ylimaksettu-rivin etumerkki

This commit is contained in:
Saku Laesvuori 2024-01-24 16:44:44 +02:00
parent c2cda17113
commit 65bd11f156
Signed by: slaesvuo
GPG Key ID: 257D284A2A1D3A32
1 changed files with 1 additions and 1 deletions

View File

@ -36,4 +36,4 @@ showStatus InvoiceStatus {..} =
"Maksettu: " <> renderEuro amountPaid <> "\n" <>
"Maksamatta: " <> renderEuro amountMissing <> "\n" <>
"Yhteensä saatavia: " <> renderEuro amountTotal <> "\n" <>
"Ylimaksettu: " <> renderEuro (amountTotal - amountMissing - amountPaid) <> "\n"
"Ylimaksettu: " <> renderEuro (amountMissing + amountPaid - amountTotal) <> "\n"