@extends('layout.mainlayout') @section('content')
@component('components.page-header') @slot('title') Doctor Shedule @endslot @slot('li_1') Schedule List @endslot @endcomponent
@component('components.table-header') @slot('title') Schedule List @endslot @slot('li_1') {{ url('add-schedule') }} @endslot @endcomponent
@php $json = file_get_contents(public_path('../public/assets/json/schedule.json')); $schedules = json_decode($json, true); @endphp @foreach ($schedules as $schedule) @endforeach
Doctor Name Department Available Days Available Time Status
{{ $schedule['DoctorName'] }} {{ $schedule['Department'] }} {{ $schedule['AvailableDays'] }} {{ $schedule['AvailableTime'] }}
@component('components.notification-box') @endcomponent
@endsection