Add test case to reproduce RIPD-3459

- Improve a few loan test helper functions.
- Make Loan.GracePeriod a default field.
This commit is contained in:
Ed Hennis
2025-11-08 19:04:32 -05:00
parent ffc0d26d20
commit e3ea23cff5
2 changed files with 117 additions and 27 deletions

View File

@@ -540,7 +540,7 @@ LEDGER_ENTRY(ltLOAN, 0x0089, Loan, loan, ({
{sfOverpaymentInterestRate, soeDEFAULT},
{sfStartDate, soeREQUIRED},
{sfPaymentInterval, soeREQUIRED},
{sfGracePeriod, soeREQUIRED},
{sfGracePeriod, soeDEFAULT},
{sfPreviousPaymentDate, soeDEFAULT},
{sfNextPaymentDueDate, soeOPTIONAL},
// The loan object tracks these values: