@extends('layouts.staff-new') @section('content')

My Loan Requests

@include('layouts.shared.error-display')
@if(count($loanRequests)) @foreach($loanRequests as $loanRequest)
{{strtoupper($loanRequest->reference)}}

₦ {{ number_format($loanRequest->amount, 2) }} @ {{ $loanRequest->interest_percentage}}%

by {{$loanRequest->user->reference}} for {{ $loanRequest->duration }} {{str_plural('month', $loanRequest->duration)}}

{{ $loanRequest->comment}}

@component('components.lr-status', ['loanRequest' => $loanRequest]) @endcomponent

Monthly Return

{{$loanRequest->emi()}}

Borrower : {{$loanRequest->user->name}}

Funds Responses

{{ $loanRequest->funds()->count() }}

@endforeach @else

No requests available

@endif
@endsection @section('page-js') @endsection