@@ -2623,7 +2623,6 @@ Feature: LoanReAging
26232623 When Loan Pay-off is made on "15 February 2025"
26242624 Then Loan is closed with zero outstanding balance and it's all installments have obligations met
26252625
2626- @Skip
26272626 @TestRailId:C4060 @AdvancedPaymentAllocation
26282627 Scenario: Verify that Loan re-aging transaction with multiple disbursements: 2nd disb after re-aging - before maturity date and removes additional installments - UC6
26292628 When Admin sets the business date to "01 January 2025"
@@ -2672,13 +2671,14 @@ Feature: LoanReAging
26722671 When Admin creates a Loan re-aging preview by Loan external ID with the following data:
26732672 | frequencyNumber | frequencyType | startDate | numberOfInstallments |
26742673 | 1 | MONTHS | 15 February 2025 | 2 |
2675- Then Loan Re-Aged Repayment schedule preview has 3 periods, with the following data for periods:
2674+ Then Loan Re-Aged Repayment schedule preview has 4 periods, with the following data for periods:
26762675 | Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
26772676 | | | 01 January 2025 | | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
2678- | 1 | 31 | 01 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2679- | | | 10 February 2025 | | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
2680- | 2 | 14 | 15 February 2025 | | 750.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2681- | 3 | 28 | 15 March 2025 | | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2677+ | 1 | 31 | 01 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2678+ | 2 | 9 | 10 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2679+ | | | 10 February 2025 | | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | | | |
2680+ | 3 | 5 | 15 February 2025 | | 750.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2681+ | 4 | 28 | 15 March 2025 | | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
26822682 Then Loan Re-Aged Repayment schedule preview has the following data in Total row:
26832683 | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
26842684 | 1500.0 | 0.0 | 0.0 | 0.0 | 1500.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
@@ -2687,29 +2687,28 @@ Feature: LoanReAging
26872687 When Admin creates a Loan re-aging transaction by Loan external ID with the following data:
26882688 | frequencyNumber | frequencyType | startDate | numberOfInstallments |
26892689 | 1 | MONTHS | 15 February 2025 | 2 |
2690- Then Loan Repayment schedule has 4 periods, with the following data for periods:
2690+ Then Loan Repayment schedule has 4 periods, with the following data for periods:
26912691 | Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
26922692 | | | 01 January 2025 | | 1000.0 | | | 0.0 | | 0.0 | 0.0 | | | |
2693- | 1 | 31 | 01 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2694- | | | 10 February 2025 | | 500 .0 | | | 0.0 | | 0.0 | 0.0 | | | |
2695- | 2 | 9 | 10 February 2025 | 10 February 2025 | 1500 .0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2696- | 3 | 5 | 15 February 2025 | | 750.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2697- | 4 | 28 | 15 March 2025 | | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2693+ | 1 | 31 | 01 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2694+ | 2 | 9 | 10 February 2025 | 10 February 2025 | 1000 .0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2695+ | | | 10 February 2025 | | 500 .0 | | | 0.0 | | 0.0 | 0.0 | | | |
2696+ | 3 | 5 | 15 February 2025 | | 750.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2697+ | 4 | 28 | 15 March 2025 | | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
26982698 Then Loan Repayment schedule has the following data in Total row:
26992699 | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
27002700 | 1500.0 | 0.0 | 0.0 | 0.0 | 1500.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
27012701 Then Loan Transactions tab has the following data:
27022702 | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted |
27032703 | 01 January 2025 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 | false |
2704- | 10 February 2025 | Disbursement | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1500.0 | false |
2704+ | 10 February 2025 | Disbursement | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1500.0 | false |
27052705 | 10 February 2025 | Re-age | 1500.0 | 1500.0 | 0.0 | 0.0 | 0.0 | 0.0 | false |
27062706
27072707 When Loan Pay-off is made on "10 February 2025"
27082708 Then Loan is closed with zero outstanding balance and it's all installments have obligations met
27092709
2710- @Skip
2711- @TestRailId:C4324 @AdvancedPaymentAllocation
2712- Scenario: Verify that Loan re-aging transaction with multiple disbursements: 2nd disb before re-aging - before maturity date and removes additional installments - UC6.1
2710+ @TestRailId:C4596 @AdvancedPaymentAllocation
2711+ Scenario: Verify that Loan re-aging transaction with multiple disbursements: 2nd disb on the re-aging date - before maturity date and removes additional installments - UC6
27132712 When Admin sets the business date to "01 January 2025"
27142713 When Admin creates a client with random data
27152714 When Admin creates a fully customized loan with the following data:
@@ -2732,49 +2731,51 @@ Then Loan Repayment schedule has 4 periods, with the following data for periods:
27322731 Then Loan Transactions tab has the following data:
27332732 | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted |
27342733 | 01 January 2025 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 | false |
2735-
2736- # --- re-age loan on 2nd installment ---#
2734+ # --- add 2nd disbursement --- #
27372735 When Admin sets the business date to "10 February 2025"
2738- When Admin creates a Loan re-aging transaction by Loan external ID with the following data:
2739- | frequencyNumber | frequencyType | startDate | numberOfInstallments |
2740- | 1 | MONTHS | 15 February 2025 | 2 |
2741- Then Loan Repayment schedule has 4 periods, with the following data for periods:
2742- | Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
2743- | | | 01 January 2025 | | 1000.0 | | | 0.0 | | 0.0 | 0.0 | | | |
2744- | 1 | 31 | 01 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2745- | 2 | 9 | 10 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2746- | 3 | 5 | 15 February 2025 | | 500.0 | 500.0 | 0.0 | 0.0 | 0.0 | 500.0 | 0.0 | 0.0 | 0.0 | 500.0 |
2747- | 4 | 28 | 15 March 2025 | | 0.0 | 500.0 | 0.0 | 0.0 | 0.0 | 500.0 | 0.0 | 0.0 | 0.0 | 500.0 |
2736+ When Admin successfully disburse the loan on "10 February 2025" with "500" EUR transaction amount
2737+ Then Loan Repayment schedule has 6 periods, with the following data for periods:
2738+ | Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
2739+ | | | 01 January 2025 | | 1000.0 | | | 0.0 | | 0.0 | 0.0 | | | |
2740+ | 1 | 31 | 01 February 2025 | | 833.0 | 167.0 | 0.0 | 0.0 | 0.0 | 167.0 | 0.0 | 0.0 | 0.0 | 167.0 |
2741+ | | | 10 February 2025 | | 500.0 | | | 0.0 | | 0.0 | 0.0 | | | |
2742+ | 2 | 28 | 01 March 2025 | | 1066.0 | 267.0 | 0.0 | 0.0 | 0.0 | 267.0 | 0.0 | 0.0 | 0.0 | 267.0 |
2743+ | 3 | 31 | 01 April 2025 | | 799.0 | 267.0 | 0.0 | 0.0 | 0.0 | 267.0 | 0.0 | 0.0 | 0.0 | 267.0 |
2744+ | 4 | 30 | 01 May 2025 | | 532.0 | 267.0 | 0.0 | 0.0 | 0.0 | 267.0 | 0.0 | 0.0 | 0.0 | 267.0 |
2745+ | 5 | 31 | 01 June 2025 | | 265.0 | 267.0 | 0.0 | 0.0 | 0.0 | 267.0 | 0.0 | 0.0 | 0.0 | 267.0 |
2746+ | 6 | 30 | 01 July 2025 | | 0.0 | 265.0 | 0.0 | 0.0 | 0.0 | 265.0 | 0.0 | 0.0 | 0.0 | 265.0 |
27482747 Then Loan Repayment schedule has the following data in Total row:
27492748 | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
2750- | 1000 .0 | 0.0 | 0.0 | 0.0 | 1000 .0 | 0.0 | 0.0 | 0.0 | 1000 .0 |
2749+ | 1500 .0 | 0.0 | 0.0 | 0.0 | 1500 .0 | 0.0 | 0.0 | 0.0 | 1500 .0 |
27512750 Then Loan Transactions tab has the following data:
27522751 | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted |
27532752 | 01 January 2025 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 | false |
2754- | 10 February 2025 | Re-age | 1000.0 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | false |
2755- # --- add 2nd disbursement --- #
2756- When Admin successfully disburse the loan on "10 February 2025" with "500" EUR transaction amount
2753+ | 10 February 2025 | Disbursement | 500.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1500.0 | false |
2754+
2755+ # --- re-age loan on 2nd installment ---#
2756+ When Admin creates a Loan re-aging transaction by Loan external ID with the following data:
2757+ | frequencyNumber | frequencyType | startDate | numberOfInstallments |
2758+ | 1 | MONTHS | 10 February 2025 | 2 |
27572759 Then Loan Repayment schedule has 4 periods, with the following data for periods:
27582760 | Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
27592761 | | | 01 January 2025 | | 1000.0 | | | 0.0 | | 0.0 | 0.0 | | | |
2760- | 1 | 31 | 01 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2762+ | 1 | 31 | 01 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
27612763 | 2 | 9 | 10 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2762- | | | 10 February 2025 | | 500.0 | | | 0.0 | | 0.0 | 0.0 | | | |
2763- | 3 | 5 | 15 February 2025 | | 1000.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2764- | 4 | 28 | 15 March 2025 | | 500.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2764+ | | | 10 February 2025 | | 500.0 | | | 0.0 | | 0.0 | 0.0 | | | |
2765+ | 3 | 0 | 10 February 2025 | | 750.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2766+ | 4 | 28 | 10 March 2025 | | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
27652767 Then Loan Repayment schedule has the following data in Total row:
27662768 | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
27672769 | 1500.0 | 0.0 | 0.0 | 0.0 | 1500.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
27682770 Then Loan Transactions tab has the following data:
27692771 | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted |
27702772 | 01 January 2025 | Disbursement | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1000.0 | false |
2771- | 10 February 2025 | Re-age | 1000 .0 | 1000 .0 | 0.0 | 0.0 | 0.0 | 0.0 | false |
2772- | 10 February 2025 | Disbursement | 500 .0 | 0 .0 | 0.0 | 0.0 | 0.0 | 1500.0 | false |
2773+ | 10 February 2025 | Disbursement | 500 .0 | 0 .0 | 0.0 | 0.0 | 0.0 | 1500.0 | false |
2774+ | 10 February 2025 | Re-age | 1500 .0 | 1500 .0 | 0.0 | 0.0 | 0.0 | 0.0 | false |
27732775
27742776 When Loan Pay-off is made on "10 February 2025"
27752777 Then Loan is closed with zero outstanding balance and it's all installments have obligations met
27762778
2777- @Skip
27782779 @TestRailId:C4324 @AdvancedPaymentAllocation
27792780 Scenario: Verify that Loan re-aging transaction with multiple disbursements: 2nd disb before re-aging - before maturity date and removes additional installments - UC6.1
27802781 When Admin sets the business date to "01 January 2025"
@@ -2826,9 +2827,9 @@ Then Loan Repayment schedule has 4 periods, with the following data for periods:
28262827 | | | 01 January 2025 | | 1000.0 | | | 0.0 | | 0.0 | 0.0 | | | |
28272828 | 1 | 31 | 01 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
28282829 | 2 | 9 | 10 February 2025 | 10 February 2025 | 1000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2829- | | | 10 February 2025 | | 500.0 | | | 0.0 | | 0.0 | 0.0 | | | |
2830- | 3 | 5 | 15 February 2025 | | 1000.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2831- | 4 | 28 | 15 March 2025 | | 500.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2830+ | | | 10 February 2025 | | 500.0 | | | 0.0 | | 0.0 | 0.0 | | | |
2831+ | 3 | 5 | 15 February 2025 | | 750.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
2832+ | 4 | 28 | 15 March 2025 | | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 | 0.0 | 0.0 | 0.0 | 750.0 |
28322833 Then Loan Repayment schedule has the following data in Total row:
28332834 | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
28342835 | 1500.0 | 0.0 | 0.0 | 0.0 | 1500.0 | 0.0 | 0.0 | 0.0 | 1500.0 |
0 commit comments