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

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

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