@extends('layouts.admin-new') @section('content')
Name | Loan | Method | Amount | Payday | Collection date | Status | Reciept | Remark |
---|---|---|---|---|---|---|---|---|
{{ optional($plan->loan->user)->name }} | {{$plan->loan->reference }} | {{ $plan->collection_mode == null ? 'No collection' : $plan->collection_mode }} | {{ number_format($plan->balance, 2) }} | {{$plan->payday}} | {{$plan->date_paid}} | @if($plan->status) Paid @else Not Paid @endif | @if($plan->status) Paid @else @if($plan->payday <= Carbon\Carbon::today() && !$plan->status) Issue Debit Order @elseif($plan->payday <= Carbon\Carbon::today() && $plan->status) Paid @else Not Due @endif @endif | {{$plan->status_message}} |
Data Unavailable |