{{ $websiteLang->where('lang_key','patient_table')->first()->custom_lang }}
@foreach ($patients as $index => $item) @endforeach
{{ $websiteLang->where('lang_key','serial')->first()->custom_lang }} {{ $websiteLang->where('lang_key','name')->first()->custom_lang }} {{ $websiteLang->where('lang_key','email')->first()->custom_lang }} {{ $websiteLang->where('lang_key','app')->first()->custom_lang }} {{ $websiteLang->where('lang_key','reg_date')->first()->custom_lang }} {{ $websiteLang->where('lang_key','status')->first()->custom_lang }} {{ $websiteLang->where('lang_key','action')->first()->custom_lang }}
{{ ++$index }} {{ ucfirst($item->name) }} {{ $item->email }} {{ $item->appointment->count() }} {{ $item->created_at->format('m-d-Y') }} @if ($item->status==0) {{ $websiteLang->where('lang_key','inactive')->first()->custom_lang }} @else {{ $websiteLang->where('lang_key','active')->first()->custom_lang }} @endif