@extends('layout.mainlayout') @section('content')
@component('components.page-header') @slot('title') Payroll @endslot @slot('li_1') Empoyee Salary @endslot @endcomponent
@component('components.table-header') @slot('title') Empoyee Salary @endslot @slot('li_1') {{ url('add-salary') }} @endslot @endcomponent
@livewire('select-role')
@livewire('select-leave-status')
@php $json = file_get_contents(public_path('../public/assets/json/salary.json')); $salaries = json_decode($json, true); @endphp @foreach ($salaries as $salary) @endforeach
Employee ID Employee Name Email Joining Date Role Salary Status
{{ $salary['EmployeeID'] }} {{ $salary['EmployeeName'] }} {{ $salary['Email'] }} {{ $salary['JoiningDate'] }} {{ $salary['Salary'] }} {{ $salary['Status'] }}
@component('components.notification-box') @endcomponent
@endsection