@extends('layout.mainlayout') @section('content')
@component('components.page-header') @slot('title') Appointment @endslot @slot('li_1') Appointment List @endslot @endcomponent
@component('components.table-header') @slot('title') Appointment @endslot @slot('li_1') {{ url('add-appointment') }} @endslot @endcomponent
@php $json = file_get_contents(public_path('../public/assets/json/appointments.json')); $appointments = json_decode($json, true); @endphp @foreach ($appointments as $appointment) @endforeach
Name Consulting Doctor Treatment Mobile Email Date Time
{{ $appointment['Name'] }} {{ $appointment['ConsultingDoctor'] }} {{ $appointment['Treatment'] }} {{ $appointment['Mobile'] }} {{ $appointment['Email'] }} {{ $appointment['Date'] }} {{ $appointment['Time'] }}
@component('components.notification-box') @endcomponent
@endsection