@extends('layouts.user') @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Loans Received
@forelse($loans as $loan) @empty @endforelse
Reference Amount Interest % Tenure Loan Status Manage
{{$loop->iteration}}
{{$loan->reference}}
₦ {{$loan->amount}}
{{$loan->interest_percentage}}
{{$loan->due_date->diffInMonths($loan->created_at)}} Months ({{$loan->due_date->diffForHumans()}})
@component('components.loan-status', ['loan' => $loan]) @endcomponent View Loan
You have not received any loans yet
@endsection @section('page-js') @endsection