@extends($activeTemplate . 'user.loan.layout') @section('loan-content')
@if (request()->date || request()->search) @lang('Download PDF') @endif
@forelse($loans as $loan) @empty @endforelse
@lang('Loan No.') @lang('Rate') @lang('Amount') @lang('Installment') @lang('Given') @lang('Total') @lang('Next Installment') @lang('Total Payable') @lang('Status') @lang('Action')
#{{ $loan->loan_number }} {{ getAmount($loan->interestRate()) }}% {{ showAmount($loan->amount) }} {{ showAmount($loan->per_installment) }} {{ $loan->given_installment }} {{ $loan->total_installment }} @if ($loan->nextInstallment) {{ showDateTime($loan->nextInstallment->installment_date, 'd M, Y') }} @else @lang('N/A') @endif {{ showAmount($loan->payable_amount) }} @php echo $loan->statusBadge; @endphp @if ($loan->status == 3) @endif
{{ __($emptyMessage) }}
@if ($loans->hasPages()) @endif
@endsection @push('script') @endpush @push('modal') @endpush @push('style') @endpush