Class: HrLite::LoanRepayment

Inherits:
ApplicationRecord show all
Includes:
EncryptedMoney
Defined in:
app/models/hr_lite/loan_repayment.rb

Overview

One month's deduction actually taken. Written when the run is finalized, so recomputing a draft never books a repayment twice — and the unique index on [loan, month] means a retry cannot either.