fixup! Implement LoanPay (untested)

This commit is contained in:
Ed Hennis
2025-05-08 10:48:23 -04:00
parent cc8d36892a
commit b3c23de0ad
2 changed files with 1 additions and 5 deletions

View File

@@ -80,13 +80,9 @@ LoanPay::preclaim(PreclaimContext const& ctx)
auto const principalOutstanding = loanSle->at(sfPrincipalOutstanding);
TenthBips32 const interestRate{loanSle->at(sfInterestRate)};
auto const paymentInterval = loanSle->at(sfPaymentInterval);
auto const paymentRemaining = loanSle->at(sfPaymentRemaining);
TenthBips32 const lateInterestRate{loanSle->at(sfLateInterestRate)};
auto const latePaymentFee = loanSle->at(sfLatePaymentFee);
auto const prevPaymentDate = loanSle->at(sfPreviousPaymentDate);
auto const startDate = loanSle->at(sfStartDate);
auto const nextDueDate = loanSle->at(sfNextPaymentDueDate);
if (loanSle->at(sfBorrower) != account)
{