@extends('header') @section('title', 'All Roles') @section('content')
@if(session('status'))
{{ session('status') }}
@endif
Insert Employee
@csrf
Employee Details
@error('userId')
{{ $message }}
@enderror
@error('startdate')
{{ $message }}
@enderror
@error('enddate')
{{ $message }}
@enderror
@error('role')
{{ $message }}
@enderror
@error('Description')
{{ $message }}
@enderror
{{--
--}}
@if(Session::has('success'))
{{ Session::get('success') }}
@endif @if(Session::has('error'))
{{ Session::get('error') }}
@endif
@php $sn = 1; @endphp @foreach($addworkesEmployees as $employee) @endforeach
#
Name
Start Date
End Date
Role
Description
Actions
{{ $employee->id }} {{ $employee->name }} {{ $employee->startdate }} {{ $employee->enddate }} {{ $employee->role }} {{ $employee->Description }}
@csrf @method('DELETE')
@endsection