@extends('layout.mainlayout') @section('content')
@component('components.page-header') @slot('title') Staffs @endslot @slot('li_1') Holidays @endslot @endcomponent
@component('components.table-header') @slot('title') Holidays @endslot @slot('li_1') @endslot @endcomponent
@php $json = file_get_contents(public_path('../public/assets/json/staff-holiday.json')); $staffs = json_decode($json, true); @endphp @foreach ($staffs as $staff) @endforeach
Title Holiday Date Day Description
{{ $staff['Title'] }} {{ $staff['HolidayDate'] }} {{ $staff['Day'] }} {{ $staff['Description'] }}
@component('components.notification-box') @endcomponent
@endsection