@@ -7257,26 +7257,28 @@ Then Loan Repayment schedule has 4 periods, with the following data for periods:
72577257 | 01 April 2024 | Chargeback | 12.0 | 11.42 | 0.58 | 0.0 | 0.0 | 144.99 | false | false |
72587258
72597259 # --- undo last disbursement --- #
7260- # When Admin successfully undo last disbursal
7261- # Then Loan Repayment schedule has 8 periods, with the following data for periods:
7262- # | Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
7263- # | | | 01 January 2024 | | 100.0 | | | 0.0 | | 0.0 | 0.0 | | | |
7264- # | 1 | 31 | 01 February 2024 | 01 February 2024 | 83.57 | 16.43 | 0.58 | 0.0 | 0.0 | 17.01 | 17.01 | 0.0 | 0.0 | 0.0 |
7265- # | 2 | 29 | 01 March 2024 | 15 March 2024 | 83.57 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
7266- # | 3 | 14 | 15 March 2024 | | 69.64 | 13.93 | 0.25 | 0.0 | 0.0 | 14.18 | 0.0 | 0.0 | 0.0 | 14.18 |
7267- # | 4 | 31 | 15 April 2024 | | 55.71 | 13.93 | 0.25 | 0.0 | 0.0 | 14.18 | 0.0 | 0.0 | 0.0 | 14.18 |
7268- # | 5 | 30 | 15 May 2024 | | 41.78 | 13.93 | 0.25 | 0.0 | 0.0 | 14.18 | 0.0 | 0.0 | 0.0 | 14.18 |
7269- # | 6 | 31 | 15 June 2024 | | 27.85 | 13.93 | 0.25 | 0.0 | 0.0 | 14.18 | 0.0 | 0.0 | 0.0 | 14.18 |
7270- # | 7 | 30 | 15 July 2024 | | 13.92 | 13.93 | 0.25 | 0.0 | 0.0 | 14.18 | 0.0 | 0.0 | 0.0 | 14.18 |
7271- # | 8 | 31 | 15 August 2024 | | 0.0 | 13.92 | 0.26 | 0.0 | 0.0 | 14.18 | 0.0 | 0.0 | 0.0 | 14.18 |
7272- # Then Loan Repayment schedule has the following data in Total row:
7273- # | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
7274- # | 100.0 | 2.09 | 0.0 | 0.0 | 102.09 | 17.01 | 0.0 | 0.0 | 85.08 |
7275- # Then Loan Transactions tab has the following data:
7276- # | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed |
7277- # | 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
7278- # | 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
7279- # | 15 March 2024 | Re-age | 85.08 | 83.57 | 1.51 | 0.0 | 0.0 | 0.0 | false | false |
7260+ When Admin successfully undo last disbursal
7261+ Then Loan Repayment schedule has 9 periods, with the following data for periods:
7262+ | Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
7263+ | | | 01 January 2024 | | 100.0 | | | 0.0 | | 0.0 | 0.0 | | | |
7264+ | 1 | 31 | 01 February 2024 | 01 February 2024 | 83.57 | 16.43 | 0.58 | 0.0 | 0.0 | 17.01 | 17.01 | 0.0 | 0.0 | 0.0 |
7265+ | 2 | 29 | 01 March 2024 | 15 March 2024 | 83.57 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
7266+ | 3 | 14 | 15 March 2024 | 15 March 2024 | 83.57 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
7267+ | 4 | 17 | 01 April 2024 | | 70.25 | 13.32 | 0.98 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
7268+ | 5 | 30 | 01 May 2024 | | 56.43 | 25.24 | 1.06 | 0.0 | 0.0 | 26.3 | 0.0 | 0.0 | 0.0 | 26.3 |
7269+ | 6 | 31 | 01 June 2024 | | 42.46 | 13.97 | 0.33 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
7270+ | 7 | 30 | 01 July 2024 | | 28.41 | 14.05 | 0.25 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
7271+ | 8 | 31 | 01 August 2024 | | 14.28 | 14.13 | 0.17 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
7272+ | 9 | 31 | 01 September 2024 | | 0.0 | 14.28 | 0.08 | 0.0 | 0.0 | 14.36 | 0.0 | 0.0 | 0.0 | 14.36 |
7273+ Then Loan Repayment schedule has the following data in Total row:
7274+ | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
7275+ | 111.42 | 3.45 | 0.0 | 0.0 | 114.87 | 17.01 | 0.0 | 0.0 | 97.86 |
7276+ Then Loan Transactions tab has the following data:
7277+ | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed |
7278+ | 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
7279+ | 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
7280+ | 15 March 2024 | Re-age | 84.28 | 83.57 | 0.71 | 0.0 | 0.0 | 0.0 | false | true |
7281+ | 01 April 2024 | Chargeback | 12.0 | 11.42 | 0.58 | 0.0 | 0.0 | 94.99 | false | false |
72807282
72817283 When Loan Pay-off is made on "01 April 2024"
72827284 Then Loan is closed with zero outstanding balance and it's all installments have obligations met
@@ -9173,8 +9175,7 @@ Then Loan Repayment schedule has 4 periods, with the following data for periods:
91739175 When Loan Pay-off is made on "02 April 2024"
91749176 Then Loan is closed with zero outstanding balance and it's all installments have obligations met
91759177
9176- # TODO check and unSkip when PS-2938 is done
9177- @Skip @TestRailId:C4290
9178+ @TestRailId:C4290
91789179 Scenario: Verify Re-aging with loan reschedule: UC2.1: Interest handling: DEFAULT, reschedule - adjustedDueDate
91799180 When Admin sets the business date to "01 January 2024"
91809181 And Admin creates a client with random data
@@ -9285,31 +9286,30 @@ Then Loan Repayment schedule has 4 periods, with the following data for periods:
92859286 When Admin creates and approves Loan reschedule with the following data:
92869287 | rescheduleFromDate | submittedOnDate | adjustedDueDate | graceOnPrincipal | graceOnInterest | extraTerms | newInterestRate |
92879288 | 01 May 2024 | 02 April 2024 | 15 June 2024 | | | | |
9288- # TODO check numbers
92899289 Then Loan Repayment schedule has 8 periods, with the following data for periods:
92909290 | Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
92919291 | | | 01 January 2024 | | 100.0 | | | 0.0 | | 0.0 | 0.0 | | | |
92929292 | 1 | 31 | 01 February 2024 | 01 February 2024 | 83.57 | 16.43 | 0.58 | 0.0 | 0.0 | 17.01 | 17.01 | 0.0 | 0.0 | 0.0 |
92939293 | 2 | 43 | 15 March 2024 | 15 March 2024 | 83.57 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
92949294 | 3 | 17 | 01 April 2024 | | 70.25 | 13.32 | 0.98 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
9295- | 4 | 31 | 15 June 2024 | | 42.39 | 13.97 | 0.33 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
9296- | 5 | 30 | 15 July 2024 | | 28.34 | 14.05 | 0.25 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
9297- | 6 | 31 | 15 August 2024 | | 14.21 | 14.13 | 0.17 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
9298- | 7 | 31 | 15 September 2024 | | 0.0 | 14.21 | 0.08 | 0.0 | 0.0 | 14.29 | 0.0 | 0.0 | 0.0 | 14.29 |
9299- | 8 | 31 | 15 October 2024 | | 0.0 | 14.21 | 0.08 | 0.0 | 0.0 | 14.29 | 0.0 | 0.0 | 0.0 | 14.29 |
9295+ | 4 | 75 | 15 June 2024 | | 56.96 | 13.29 | 1.01 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
9296+ | 5 | 30 | 15 July 2024 | | 42.99 | 13.97 | 0.33 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
9297+ | 6 | 31 | 15 August 2024 | | 28.94 | 14.05 | 0.25 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
9298+ | 7 | 31 | 15 September 2024 | | 14.81 | 14.13 | 0.17 | 0.0 | 0.0 | 14.3 | 0.0 | 0.0 | 0.0 | 14.3 |
9299+ | 8 | 30 | 15 October 2024 | | 0.0 | 14.81 | 0.09 | 0.0 | 0.0 | 14.9 | 0.0 | 0.0 | 0.0 | 14.9 |
93009300 And Loan Repayment schedule has the following data in Total row:
9301- | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
9302- | 100.0 | 2.8 | 0.0 | 0.0 | 102.8 | 17.01 | 0.0 | 0.0 | 85.79 |
9301+ | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
9302+ | 100.0 | 3.41 | 0.0 | 0.0 | 103.41 | 17.01 | 0.0 | 0.0 | 86.4 |
93039303 And Loan Transactions tab has the following data:
93049304 | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed |
93059305 | 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false |
93069306 | 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 | false | false |
9307- | 15 March 2024 | Re-age | 84.28 | 83.57 | 0.71 | 0.0 | 0.0 | 0.0 | false | false |
9307+ | 15 March 2024 | Re-age | 84.27 | 83.57 | 0.7 | 0.0 | 0.0 | 0.0 | false | false |
93089308# --- Close loan ---
93099309 When Loan Pay-off is made on "02 April 2024"
93109310 Then Loan is closed with zero outstanding balance and it's all installments have obligations met
93119311
9312- # TODO check and unSkip when PS-2938 is done
9312+ # TODO check and unSkip when WAIVE_INTEREST strategy is implemented
93139313 @Skip @TestRailId:C4291
93149314 Scenario: Verify Re-aging with loan reschedule: UC2.2: Interest handling: WAIVE_INTEREST, reschedule - adjustedDueDate
93159315 When Admin sets the business date to "01 January 2024"
0 commit comments