@extends('admin.layouts.app') @section('panel')
@if (can('admin.fdr.due.pay') || can('admin.fdr.installments')) @endif @forelse($data as $fdr) @if (can('admin.fdr.due.pay') || can('admin.fdr.installments')) @endif @empty @endforelse
@lang('S.N.') @lang('FDR No.') | @lang('Plan') @lang('User') @lang('Amount') @lang('Profit') @lang('Created') | @lang('Next Installment') @lang('Lock-In Period') @lang('Status')@lang('Action')
{{ $loop->index + $data->firstItem() }} {{ __($fdr->fdr_number) }} {{ __(@$fdr->plan->name) }} {{ __(@$fdr->user->fullname) }} @if ($fdr->user) @can('admin.users.detail') @{{ $fdr->user->username }} @else @{{ $fdr->user->username }} @endcan @endif {{ $general->cur_sym . showAmount($fdr->amount) }} @lang('Profit') {{ getAmount($fdr->interest_rate) }}% {{ $general->cur_sym . showAmount($fdr->per_installment) }} @lang('Per') {{ $fdr->installment_interval }} @lang('Days') {{ showDateTime($fdr->created_at, 'd M, Y') }} @if ($fdr->status != 2) {{ showDateTime($fdr->next_installment_date, 'd M, Y') }} @else @lang('N/A') @endif {{ showDateTime($fdr->locked_date, 'd M, Y') }} {{ diffForHumans($fdr->locked_date, 'd M, Y') }} @php echo $fdr->statusBadge; @endphp
@if ($fdr->next_installment_date < today()) @can('admin.fdr.due.pay') @endcan @endif @can('admin.fdr.installments') @lang('Installments') @endcan
{{ __($emptyMessage) }}
@if ($data->hasPages()) @endif
@endsection @push('breadcrumb-plugins') @endpush @push('script') @endpush