a) pay back a monthly installment
b) pay back a custom amount (this should default to the maximum possible repayment amount which will clear all debt)
for b)
for now the maximum possible amount can be taken from the loan.schedule.borrower_view.total_payments.remain
soon, I will add another field to the schedule: "complete_repayment" (https://github.com/ArboreumDev/swarmai/issues/187)
one should be able to choose to
a) pay back a monthly installment b) pay back a custom amount (this should default to the maximum possible repayment amount which will clear all debt)
for b) for now the maximum possible amount can be taken from the loan.schedule.borrower_view.total_payments.remain soon, I will add another field to the schedule: "complete_repayment" (https://github.com/ArboreumDev/swarmai/issues/187)