@extends('admin.layouts.app') @section('panel')
@if (can('admin.loan.details') || can('admin.loan.installments')) @endif @forelse($loans as $loan) @if (can('admin.loan.details') || can('admin.loan.installments')) @endif @empty @endforelse
@lang('S.N.') @lang('Loan No.') | @lang('Plan') @lang('User') @lang('Amount') @lang('Installment Amount') @lang('Installment') @lang('Created') |
@lang('Next Installment')
@lang('Status')@lang('Action')
{{ __($loop->index + $loans->firstItem()) }} {{ __($loan->loan_number) }} {{ __($loan->plan->name) }} {{ $loan->user->account_number }} @can('admin.users.detail') @{{ $loan->user->username }} @else @{{ $loan->user->username }} @endcan {{ $general->cur_sym . showAmount($loan->amount) }} {{ $general->cur_sym . showAmount($loan->payable_amount) }} @lang('Receivable') {{ $general->cur_sym . showAmount($loan->per_installment) }} @lang('Per') {{ $loan->installment_interval }} @lang('days') @lang('Total') : {{ $loan->total_installment }} @lang('Given') : {{ $loan->given_installment }} {{ showDateTime($loan->created_at, 'd M, Y') }} @if ($loan->nextInstallment) {{ showDateTime($loan->nextInstallment->installment_date, 'd M, Y') }} @else @lang('N\A') @endif @php echo $loan->status_badge; @endphp
@can('admin.loan.details') @lang('Details') @endcan @can('admin.loan.installments') @lang('Installments') @endcan
{{ __($emptyMessage) }}
@if ($loans->hasPages()) @endif
@endsection @push('breadcrumb-plugins') @endpush