Bug 514075

Summary: Credit calculation - "Calculate" function not working when "one-time-payment" not contains numeric value
Product: [Applications] kmymoney Reporter: Michael Knöfler <michael_knoefler>
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED NOT A BUG    
Severity: major    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Button default
one-time-payment cleared, button disabled

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)