@extends('layout.mainlayout') @section('content')
@component('components.page-header') @slot('title') Patients @endslot @slot('li_1') Patient List @endslot @endcomponent
@component('components.table-header') @slot('title') Patient List @endslot @slot('li_1') {{ url('add-patient') }} @endslot @endcomponent
@php $json = file_get_contents(public_path('../public/assets/json/patients.json')); $patients = json_decode($json, true); @endphp @foreach ($patients as $patient) @endforeach
Name Department Specialization Degree Mobile Email Joining Date
{{ $patient['Name'] }} {{ $patient['Department'] }} {{ $patient['Specialization'] }} {{ $patient['Degree'] }} {{ $patient['Mobile'] }} {{ $patient['Email'] }} {{ $patient['JoiningDate'] }}
@component('components.notification-box') @endcomponent
@endsection