@yield('title')
Notifications
{{ $notification->title }}
{{ $notification->message }}
{{ $notification->created_at->diffForHumans() }}
No notifications
@php $user = Auth::guard('employee')->user(); @endphp
{{ $user->first_name }} {{ $user->last_name }}
{{ $user->employee_id ?? 'Employee' }}
{{ substr($user->first_name, 0, 1) }}{{ substr($user->last_name, 0, 1) }}
@if(session('success'))
@endif
@if(session('error'))
{{ session('success') }}
@endif
@if($errors->any())
Something went wrong
-
@foreach($errors->all() as $error)
- {{ $error }} @endforeach
{{ session('error') }}
@endif
@yield('content')