@extends('layouts.staff-new') @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Funds Given Out
@forelse($loanFunds as $loan) @empty @endforelse
Reference Customer Amount Monthly Repayment Loan Status Manage
{{$loop->iteration}}
{{$loan->reference}}
{{ optional($loan->loanRequest)->user ? $loan->loanRequest->user->name : ''}}
₦ {{$loan->amount}}
{{$loan->emi()}} %
@if($loan->status == 1) Pending @elseif($loan->status == 2) Active @elseif($loan->status == 3) Cancelled @else Due @endif @if($loan->status == 1) @elseif($loan->status == 2) @elseif($loan->status == 3) @elseif($loan->status == 4) @elseif($loan->status == 5) @endif
You have not given out any loans yet
@endsection @section('page-js') @endsection