@extends('layouts.affiliates') @section('content')

Eligible for Top up Loans

@forelse($loans as $loan) @php $staff = $loan->collector_type == 'AppModelsUser' ? 'no staff' : $loan->collector @endphp @empty @endforelse
Reference # Borrower Amount Staff Tenure Loan Status Manage
{{ $loan->reference}} {{ $loan->user->name}} ₦{{ number_format($loan->amount, 2)}} {{$staff->name ?? 'No staff'}} {{$loan->due_date->diffInMonths($loan->created_at)}} Months ({{$loan->due_date->diffForHumans()}}) @component('components.admin-loan-status', ['loan' => $loan]) @endcomponent @if($loan->is_top_up) Top up @endif View
No Top up loans
@endsection @section('page-js') @endsection