@@ -7835,4 +7835,59 @@ Feature: EMI calculation and repayment schedule checks for interest bearing loan
78357835 | 6 | 61 | 29 October 2023 | | 0.0 | 857.62 | 10.03 | 0.0 | 0.0 | 867.65 | 0.0 | 0.0 | 0.0 | 867.65 |
78367836 Then Loan Repayment schedule has the following data in Total row:
78377837 | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
7838- | 5000.0 | 206.05 | 0.0 | 0.0 | 5206.05 | 0.0 | 0.0 | 0.0 | 5206.05 |
7838+ | 5000.0 | 206.05 | 0.0 | 0.0 | 5206.05 | 0.0 | 0.0 | 0.0 | 5206.05 |
7839+
7840+ @TestRailId:C3622
7841+ Scenario: Verify that RecalculationRestFrequencyType SameAsRepaymentPeriod work as intended in case of minimal amount (0.05 cent) of payments
7842+ When Admin sets the business date to "01 January 2025"
7843+ And Admin creates a client with random data
7844+ And Admin creates a fully customized loan with the following data:
7845+ | LoanProduct | submitted on date | with Principal | ANNUAL interest rate % | interest type | interest calculation period | amortization type | loanTermFrequency | loanTermFrequencyType | repaymentEvery | repaymentFrequencyType | numberOfRepayments | graceOnPrincipalPayment | graceOnInterestPayment | interest free period | Payment strategy |
7846+ | LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALCULATION_SARP_TILL_PRECLOSE | 01 January 2025 | 8000 | 86.42 | DECLINING_BALANCE | DAILY | EQUAL_INSTALLMENTS | 6 | MONTHS | 1 | MONTHS | 6 | 0 | 0 | 0 | ADVANCED_PAYMENT_ALLOCATION |
7847+ And Admin successfully approves the loan on "01 January 2025" with "8000" amount and expected disbursement date on "01 January 2025"
7848+ And Admin successfully disburse the loan on "01 January 2025" with "8000" EUR transaction amount
7849+ When Admin runs inline COB job for Loan
7850+ Then Loan Repayment schedule has 6 periods, with the following data for periods:
7851+ | Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
7852+ | | | 01 January 2025 | | 8000.0 | | | 0.0 | | 0.0 | 0.0 | | | |
7853+ | 1 | 31 | 01 February 2025 | | 6887.3 | 1112.7 | 576.13 | 0.0 | 0.0 | 1688.83 | 0.0 | 0.0 | 0.0 | 1688.83 |
7854+ | 2 | 28 | 01 March 2025 | | 5694.47 | 1192.83 | 496.0 | 0.0 | 0.0 | 1688.83 | 0.0 | 0.0 | 0.0 | 1688.83 |
7855+ | 3 | 31 | 01 April 2025 | | 4415.74 | 1278.73 | 410.1 | 0.0 | 0.0 | 1688.83 | 0.0 | 0.0 | 0.0 | 1688.83 |
7856+ | 4 | 30 | 01 May 2025 | | 3044.92 | 1370.82 | 318.01 | 0.0 | 0.0 | 1688.83 | 0.0 | 0.0 | 0.0 | 1688.83 |
7857+ | 5 | 31 | 01 June 2025 | | 1575.37 | 1469.55 | 219.28 | 0.0 | 0.0 | 1688.83 | 0.0 | 0.0 | 0.0 | 1688.83 |
7858+ | 6 | 30 | 01 July 2025 | | 0.0 | 1575.37 | 113.45 | 0.0 | 0.0 | 1688.82 | 0.0 | 0.0 | 0.0 | 1688.82 |
7859+ And Loan Repayment schedule has the following data in Total row:
7860+ | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
7861+ | 8000.0 | 2132.97 | 0.0 | 0.0 | 10132.97 | 0.0 | 0.0 | 0.0 | 10132.97 |
7862+ And Loan Transactions tab has the following data:
7863+ | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed |
7864+ | 01 January 2025 | Disbursement | 8000.0 | 0.0 | 0.0 | 0.0 | 0.0 | 8000.0 | false | false |
7865+ When Admin sets the business date to "01 February 2025"
7866+ And Customer makes "AUTOPAY" repayment on "01 February 2025" with 0.01 EUR transaction amount
7867+ When Admin runs inline COB job for Loan
7868+ When Admin sets the business date to "01 March 2025"
7869+ And Customer makes "AUTOPAY" repayment on "01 March 2025" with 0.01 EUR transaction amount
7870+ When Admin runs inline COB job for Loan
7871+ When Admin sets the business date to "01 April 2025"
7872+ And Customer makes "AUTOPAY" repayment on "01 April 2025" with 0.01 EUR transaction amount
7873+ When Admin runs inline COB job for Loan
7874+ When Admin sets the business date to "01 May 2025"
7875+ And Customer makes "AUTOPAY" repayment on "01 May 2025" with 0.01 EUR transaction amount
7876+ When Admin runs inline COB job for Loan
7877+ When Admin sets the business date to "01 June 2025"
7878+ And Customer makes "AUTOPAY" repayment on "01 June 2025" with 0.01 EUR transaction amount
7879+ When Admin runs inline COB job for Loan
7880+ When Admin sets the business date to "02 July 2025"
7881+ When Admin runs inline COB job for Loan
7882+ Then Loan Repayment schedule has 6 periods, with the following data for periods:
7883+ | Nr | Days | Date | Paid date | Balance of loan | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
7884+ | | | 01 January 2025 | | 8000.0 | | | 0.0 | | 0.0 | 0.0 | | | |
7885+ | 1 | 31 | 01 February 2025 | | 6887.3 | 1112.7 | 576.13 | 0.0 | 0.0 | 1688.83 | 0.05 | 0.0 | 0.04 | 1688.78 |
7886+ | 2 | 28 | 01 March 2025 | | 5774.6 | 1112.7 | 576.13 | 0.0 | 0.0 | 1688.83 | 0.0 | 0.0 | 0.0 | 1688.83 |
7887+ | 3 | 31 | 01 April 2025 | | 4661.9 | 1112.7 | 576.13 | 0.0 | 0.0 | 1688.83 | 0.0 | 0.0 | 0.0 | 1688.83 |
7888+ | 4 | 30 | 01 May 2025 | | 3549.2 | 1112.7 | 576.13 | 0.0 | 0.0 | 1688.83 | 0.0 | 0.0 | 0.0 | 1688.83 |
7889+ | 5 | 31 | 01 June 2025 | | 2436.5 | 1112.7 | 576.13 | 0.0 | 0.0 | 1688.83 | 0.0 | 0.0 | 0.0 | 1688.83 |
7890+ | 6 | 30 | 01 July 2025 | | 0.0 | 2436.5 | 576.13 | 0.0 | 0.0 | 3012.63 | 0.0 | 0.0 | 0.0 | 3012.63 |
7891+ And Loan Repayment schedule has the following data in Total row:
7892+ | Principal due | Interest | Fees | Penalties | Due | Paid | In advance | Late | Outstanding |
7893+ | 8000.0 | 3456.78 | 0.0 | 0.0 | 11456.78 | 0.05 | 0.0 | 0.04 | 11456.73 |
0 commit comments