@vite('resources/css/app.css')
@include('CMS.sidebar')
Employee List
Add Employee
@if ($errors->any())
{{ $errors->first('error') }}
@endif
Name
Position
Date Created
Date updated
Edit
Delete
@foreach ($employees as $employee)
{{ $employee->employee_name }}
{{ $employee->position }}
{{ $employee->created_at }}
{{ $employee->updated_at }}
@csrf @method('DELETE')
@endforeach
@if ($employees->currentPage() > 1)
«
@endif @for ($i = 1; $i <= $employees->lastPage(); $i++)
{{ $i }}
@endfor @if ($employees->currentPage() < $employees->lastPage())
»
@endif
Close modal
Add
@csrf
Add Employee
Employee Name
Position
Close modal
Update Employee Info
@csrf
Employee Name
Position
@include('calendarjs')