@extends('backend.layouts.layout') @section('content')

Employee Management

@foreach($employees as $employee)
{{ $employee->first_name }} {{ $employee->last_name }}

{{ $employee->email }}

{{ ucfirst($employee->status) }}
Role

{{ str_replace('-', ' ', $employee->role) }}

Type

{{ str_replace('-', ' ', $employee->employment_type) }}

@if($employee->phone)
Phone

{{ $employee->phone }}

@endif @if($employee->hire_date)
Hire Date

{{ $employee->hire_date->format('M d, Y') }}

@endif
@if($employee->notes)
Notes

{{ Str::limit($employee->notes, 100) }}

@endif
@endforeach @if($employees->count() == 0)

No Employees Found

Get started by adding your first employee.

@endif
@endsection @push('styles') @endpush @push('script') @endpush