Fix 'Process scheduled transactions on the last day of the month'
Open issue:
- schedule dialog does not show the last day which is shown in the scheduled transaction list view
BUG:303976
Fix 'Process scheduled transactions on the last day of the month'
Open issue:
BUG:303976
tested on 4.8 branch
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
This new option should only be enabled in the UI and used in case the m_occurence ist based on months. I currently see this for the following schedules:
OCCUR_EVERYHALFMONTH OCCUR_MONTHLY OCCUR_EVERYOTHERMONTH OCCUR_EVERYTHREEMONTHS OCCUR_TWICEYEARLY OCCUR_QUARTERLY OCCUR_EVERYFOURMONTHS
For all others it must be disabled in the UI and not used.
Please also provide unit test cases in a new test method in MyMoneyScheduleTest for e.g. the following situations:
and verify that MyMoneySchedule::adjustedNextDueDate() returns the correct date for the given scenario. In case you can think of more scenarios worth to be tested, please feel free to add them also.