Update loan details (only for DRAFT and PENDING_APPROVAL loans)
ADMIN, CREDIT_OFFICER
DAYWEEKMONTHDRAFTPENDING_APPROVALAPPROVED, ACTIVE, or any other status, it cannot be edited.
principalAmounttermCounttermUnitstartDateloanTypeId is changed, the principal amount must be within the new loan type’s limitsstartDate is changed, the endDate is automatically recalculated