Fix RepaymentService
Add loanWriteOff command
Add loanQuery::orderByRand
Register artisan command
Add default value in settings
Fix fake new command
Add total_amount in loans table
Add getters and Setters for TotalAmount
set TotalAmount in loanService::disburseLoan
Add paid_amount to database
Add Getters and Setter for PaidAmount
Add paid_percentage to loans table
Set paid percentage when setting paidAmount
Add LenderMailer::sendLoanDefaultedMail
Add LoanService::writeOffLoans
Add loanService::defaultLoan
Add calculate Paid amount in RepaymentService::addRepayment
Add loan-defaulted email template
Merge pull request #167 from bhargavjoshi/feature/loan-write-off

Feature/loan write off