@extends('layouts.admin.layout') @section('title') {{ $websiteLang->where('lang_key','schedule')->first()->custom_lang }} @endsection @section('admin-content')

{{ $websiteLang->where('lang_key','create')->first()->custom_lang }}

{{ $websiteLang->where('lang_key','schedule_table')->first()->custom_lang }}
@foreach ($schedules as $index => $item) @endforeach
{{ $websiteLang->where('lang_key','serial')->first()->custom_lang }} {{ $websiteLang->where('lang_key','doc_name')->first()->custom_lang }} {{ $websiteLang->where('lang_key','day')->first()->custom_lang }} {{ $websiteLang->where('lang_key','time')->first()->custom_lang }} {{ $websiteLang->where('lang_key','sit_qty')->first()->custom_lang }} {{ $websiteLang->where('lang_key','status')->first()->custom_lang }} {{ $websiteLang->where('lang_key','action')->first()->custom_lang }}
{{ ++$index }} {{ ucfirst($item->doctor->name)}} {{ ucfirst($item->day->day) }} {{ strtoupper($item->start_time) }} - {{ strtoupper($item->end_time) }} {{ $item->quantity }} @if ($item->status==1) @else @endif @php $count=$appointments->where('schedule_id',$item->id)->count(); @endphp @if ($count==0) @endif
@endsection