@extends('layouts.admin') @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Loans Received
@if(count($loans)) @foreach($loans as $loan) @endforeach @else @endif
Reference Amount Interest % Tenure Loan Request Loan Status Manage
{{$loop->iteration}}
{{$loan->reference}}
₦ {{$loan->amount}}
{{$loan->interest_percentage}}
{{$loan->due_date->diffInMonths($loan->created_at)}} Months ({{$loan->due_date->diffForHumans()}})
View Request @if($loan->status == 1) @elseif($loan->status == 2) @else @endif View Loan
{{$loans->links()}}
There are no received loans
@endsection @section('page-js') @endsection