@extends('layouts.instructor') @push('title', get_phrase('Manage Schedules')) @push('meta') @endpush @push('css') @endpush @section('content')

{{ get_phrase('Schedules By Date').' - '.$selected_date }}

{{ get_phrase('Back') }}
@if ($schedules->count() > 0)

{{ get_phrase('Showing') . ' ' . count($schedules) . ' ' . get_phrase('of') . ' ' . $schedules->total() . ' ' . get_phrase('data') }}

@foreach ($schedules as $key => $schedule) @php $check = total_booked_schedule_by_schedule_id($schedule->id); if($check > 0) { $status = 'active'; $slot_status = 'Booked'; } else { $status = 'primary'; $slot_status = 'Available'; } @endphp @php $categoryName = $schedule->schedule_to_tutorCategory->name; $subjectName = $schedule->schedule_to_tutorSubjects->name; @endphp @endforeach

{{ get_phrase('Showing') . ' ' . count($schedules) . ' ' . get_phrase('of') . ' ' . $schedules->total() . ' ' . get_phrase('data') }}

{{ $schedules->links() }}
@else @include('instructor.no_data') @endif
@endsection @push('js') @endpush