-
- @if (auth()->user()->role === 'Tuan_Kebun')
- @endif
-
{{ Auth::user()->name }}
@if (auth()->user()->role === 'Tuan_Kebun'||auth()->user()->role === 'Admin')
{{ Auth::user()->role }}
@elseif(auth()->user()->role === 'Pekerja')
{{ Auth::user()->job_type }}
@endif
Selamat Kembali !
@if (session('success'))
{{ session('success') }}
@endif
@if (session('error'))
{{ session('error') }}
@endif
@yield('content')