@extends('layout.mainlayout') @section('content')
@component('components.page-header') @slot('title') Staffs @endslot @slot('li_1') Leave Request @endslot @endcomponent
@component('components.table-header') @slot('title') Leave Request @endslot @slot('li_1') {{ url('add-leave') }} @endslot @endcomponent
@livewire('select-leave')
@livewire('select-staff-leave')
@php $json = file_get_contents(public_path('../public/assets/json/staff-leave.json')); $staffs = json_decode($json, true); @endphp @foreach ($staffs as $staff) @endforeach
Employee Name Leave Type From To No of days Reason Status
{{ $staff['EmployeeName'] }} {{ $staff['LeaveType'] }} {{ $staff['From'] }} {{ $staff['To'] }} {{ $staff['Noofdays'] }} {{ $staff['Reason'] }}
@component('components.notification-box') @endcomponent
@endsection