@extends('layouts.admin') @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
All Loans
@forelse($loans as $loan) @empty @endforelse
Reference Amount Return Amount Interest % Due Date Loan Status
{{$loop->iteration}}
{{$loan->reference}}
₦ {{$loan->amount}}
₦ {{($loan->amount + ($loan->amount * $loan->interest_percentage / 100))}}
{{$loan->interest_percentage}}
{{$loan->due_date}} ({{$loan->due_date->diffForHumans()}})
@if($loan->status == 1) Active @elseif($loan->status == 2) Up For Transfer @elseif($loan->status == 3) Transferred @elseif($loan->status == 4) Fulfilled @else Due We are on it @endif
You have not given out any loans yet
@endsection @section('page-js') @endsection