@extends('layout.app') @section('title') Repayment Report @endsection @section('pagetitle') Repayment Report @endsection @section('content')
| S/N | Account Name | Repayment Date | Description | Principal | Interest | Fee | Penalty | Total Due |
|---|---|---|---|---|---|---|---|---|
| {{ $i+1 }} | @if(!empty($key->customer)) {{$key->customer->first_name}} {{$key->customer->last_name}} @endif | {{date("d M, Y",strtotime($key->due_date))}} | {{$key->description}} | {{number_format($key->principal,2)}} | {{number_format($key->interest,2)}} | {{number_format($key->fees,2)}} | {{number_format($key->penalty,2)}} | {{number_format(($key->principal+$key->interest+$key->fees+$key->penalty),2)}} |