Bug 514075 - Credit calculation - "Calculate" function not working when "one-time-payment" not contains numeric value
Summary: Credit calculation - "Calculate" function not working when "one-time-payment"...
Status: RESOLVED NOT A BUG
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-02 13:43 UTC by Michael Knöfler
Modified: 2026-01-02 14:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Button default (93.48 KB, image/png)
2026-01-02 13:43 UTC, Michael Knöfler
Details
one-time-payment cleared, button disabled (94.11 KB, image/png)
2026-01-02 13:44 UTC, Michael Knöfler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Knöfler 2026-01-02 13:43:58 UTC
Created attachment 188152 [details]
Button default

Hi,

when calculating the credit rates with the internal credit calculator, the "Calculate" Button is disabled when the "one-time-payment" data is completely empty.
Comment 1 Michael Knöfler 2026-01-02 13:44:20 UTC
Created attachment 188153 [details]
one-time-payment cleared, button disabled
Comment 2 Michael Knöfler 2026-01-02 13:46:10 UTC
Main Issue: 

The user is not informed that this information is missing and the user has to actually input "0,00" in the "one-time-payment" field to enable the button again.
Comment 3 Thomas Baumgart 2026-01-02 14:00:16 UTC
Or fill in the amount for principal and interest (Zins und Tilgung). Only one value can be calculated, you asked for two. And the instructions at the top of the page exactly state that: "Wenn Sie eines der Felder leer lassen ...." which is a bit cut off at the top of your screen shot.
Comment 4 Michael Knöfler 2026-01-02 14:20:55 UTC
(In reply to Thomas Baumgart from comment #3)
> Or fill in the amount for principal and interest (Zins und Tilgung). Only
> one value can be calculated, you asked for two. And the instructions at the
> top of the page exactly state that: "Wenn Sie eines der Felder leer lassen
> ...." which is a bit cut off at the top of your screen shot.

This won't work neither as with this way, the main bank account always would receive a corrupt payment as the "interest" is not payed from the bank account but directly increases the credit amount every three month.

(i know this is a stupid credit calculation, don't know if this is common practice)