{{ $website_lang->where('lang_key','client_table')->first()->custom_lang }}
@foreach ($patients as $index => $item) @endforeach
{{ $website_lang->where('lang_key','serial')->first()->custom_lang }} {{ $website_lang->where('lang_key','name')->first()->custom_lang }} {{ $website_lang->where('lang_key','email')->first()->custom_lang }} {{ $website_lang->where('lang_key','total_appointment')->first()->custom_lang }} {{ $website_lang->where('lang_key','reg_date')->first()->custom_lang }} {{ $website_lang->where('lang_key','status')->first()->custom_lang }} {{ $website_lang->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) {{ $website_lang->where('lang_key','pending')->first()->custom_lang }} @else {{ $website_lang->where('lang_key','success')->first()->custom_lang }} @endif