Original Loan schedule is the same as modified schedule

Description

After diplaying Original schedule by using 'View Original schedule' link, original schedule dates are the same as dates in repayment schedule generated with changed disbursal date.

Repro:
1. Login to Mifos.
2. Go to 'Clients & accounts' tab and click on 'Create new Loan account' link.
3. Select any client with weekly meetings and select monthly loan product with variable installments.
4. On 'Enter Loan accunt information' page, fill all necessary data and leave disbursal date set by default to next meeting date.
5. Click 'Continue' button.
6. On 'Review installments' page, check dates in schedule.
7. Click preview button and then submit button.
8. Approve Loan and click on 'Disburse loan' link.
9. Set disbursal date to today's date.
10. Submit disbursal.
11. View repayment schedule and check that dates have been moved because of changed disbursal date.
12. Click on 'View Original schedule' link.

Expected result:
On 'Original schedule' page, dates are the same as before disbursal.

Actual result:
Dates on 'Repayment schedule' page are the same as dates on 'Original schedule' page.

Environment

None

Assignee

mifosdeveloperqueue

Reporter

Lukasz Chudy

Labels

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure