@extends($activeTemplate . 'layouts.master') @section('content')
@if (request()->date || request()->search) @lang('Download PDF') @endif
@forelse($loans as $loan) @empty @endforelse
@lang('S.N.') @lang('Loan No. | Plan') @lang('Amount') @lang('Installment Amount') @lang('Installment') @lang('Next Installment') @lang('Paid') @lang('Status') @lang('Action')
{{ __($loop->index + $loans->firstItem()) }}
{{ __($loan->loan_number) }}
{{ __($loan->plan->name) }}
{{ $general->cur_sym . showAmount($loan->amount) }}
{{ $general->cur_sym . showAmount($loan->payable_amount) }} @lang('Need to pay')
{{ $general->cur_sym . showAmount($loan->per_installment) }}
@lang('In Every') {{ __($loan->installment_interval) }} @lang('Days')
@lang('Total') : {{ __($loan->total_installment) }}
@lang('Given') : {{ __($loan->given_installment) }}
@if ($loan->nextInstallment) {{ showDateTime($loan->nextInstallment->installment_date, 'd M, Y') }} @endif
{{ $general->cur_sym . showAmount($loan->paid_amount) }}
@php $remainingAmount = $loan->payableAmount - $loan->paid_amount; @endphp {{ $general->cur_sym . showAmount($remainingAmount) }} @lang('Remaining')
@php echo $loan->statusBadge; @endphp @if ($loan->status == 3) @endif
@lang('Installments')
{{ __($emptyMessage) }}
@if ($loans->hasPages())
{{ paginateLinks($loans) }}
@endif @endsection @push('script') @endpush @push('bottom-menu')
@endpush @push('modal') @endpush @push('style') @endpush