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