@extends('admin.pdf.layouts.master') @section('main-content') @forelse($loans as $loan) @empty @endforelse
@lang('Loan No. | Plan') @lang('Amount') @lang('Installment Amount') @lang('Installment') @lang('Next Installment') @lang('Paid') @lang('Status')
{{ __($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
{{ __($emptyMessage) }}
@endsection