[Kmymoney-devel] [Bug 237964] 2 payments shown in payments overview

Ian Neal iann_bugzilla at blueyonder.co.uk
Tue May 25 23:54:42 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=237964


Ian Neal <iann_bugzilla at blueyonder.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #8 from Ian Neal <iann_bugzilla blueyonder co uk>  2010-05-25 23:54:41 ---
SVN commit 1130652 by iann:

BUG: 237964
2 payments shown in payments overview
This patch:
* Splits the existing mymoneyscheduled method transactionsRemaining into two
methods:
** transactionsRemainingUntil which takes an endDate parameter and counts the
number of transactions until that endDate;
** transactionsRemaining now calls transactionsRemainingUntil with m_endDate as
an argument.
* Additional checks are in transactionsRemainingUntil to make sure the start
and end date passed to paymentDates are valid;
* khomeview's showPayment function uses the new transactionsRemainingUntil
method with an argument of the day before the current date.

 M  +8 -3      mymoney/mymoneyscheduled.cpp  
 M  +9 -0      mymoney/mymoneyscheduled.h  
 M  +2 -10     views/khomeview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1130652

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the KMyMoney-devel mailing list