After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 647532 - [Patch] Enter APR as interest rate in Loan Druid
[Patch] Enter APR as interest rate in Loan Druid
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
2.4.x
Other Linux
: Normal enhancement
: ---
Assigned To: Christian Stimming
Depends on:
Blocks:
 
 
Reported: 2011-04-12 06:57 UTC by Nick
Modified: 2018-06-29 22:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
svn diff including changes to sched-xact.glade and druid-loan.c (33.60 KB, patch)
2011-04-12 07:06 UTC, Nick
committed Details | Review

Description Nick 2011-04-12 06:57:17 UTC
This patch allows the user to enter the APR for a loan rather than the simple interest rate and then the druid will calculate the correct interest rate for the scheduled transaction that it produces. 

It includes a small change to the shed-xact.glade file which provides a dropdown box to select the rate that has been entered and changes to druid-loan.c which calculate the simple interest rate as the scheduled transaction strings are generated.
Comment 1 Nick 2011-04-12 07:06:33 UTC
Created attachment 185776 [details] [review]
svn diff including changes to sched-xact.glade and druid-loan.c
Comment 2 Christian Stimming 2011-04-15 11:47:36 UTC
Comment on attachment 185776 [details] [review]
svn diff including changes to sched-xact.glade and druid-loan.c

I think the patch can go into trunk.
Comment 3 Christian Stimming 2011-05-15 19:22:28 UTC
Comment on attachment 185776 [details] [review]
svn diff including changes to sched-xact.glade and druid-loan.c

r20646 (with minor changes to adapt in the intermediate code changes in druid-loan.c), thanks a lot!

On my system with glade3-3.6.7 this assistant pages still look like a mess, but this patch doesn't add extra problems so it can go in.
Comment 4 Nick 2011-05-15 22:01:48 UTC
I'm working on a conversion to GTKBuilder/GTKAssistant at the moment so will tidy things up a little as I go along. Was there anything you particularly disliked?
Comment 5 Christian Stimming 2011-05-16 06:13:18 UTC
> Was there anything you particularly disliked?

Some examples from memory: The account chooser widgets were twice as high as normal; the checkbox choices on the second or third pages are centered as opposed to left-aligned so that the checkboxes are not aligned horizontally with each other. There were more things but I forgot about them.
Comment 6 John Ralls 2017-09-24 22:44:56 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 7 John Ralls 2018-06-29 22:56:43 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=647532. Please update any external references or bookmarks.