Add TODO
Remove unnecessary code
We already skip those installments in the outer loop
Remove unnecessary condition
$installmentPaymentPaidDate is never null
Fix $totalEarlyPaidAmount
Remove unnecessary code
$installmentPaymentPaidDate is never null
Rename $totalEarlyPaidAmount
Rename $missedInstallmentAmount
Rename $totalPaidInstallmentAmount
Rename  $dueInstallmentAmount
Fix $isTodayInstallment