@routes {{-- Check Authentication --}} @if (Auth::check())
@endif
@stack('additional_styles')
@auth @include('layouts.sidebar')
@auth
roles }} route={{ Route::is('home') || Route::is('akaun.home') || Route::is('audit.index') ? 'ada' : 'tiada' }} akaun={{ Route::is('akaun.home') || Route::is('audit.index') ? 'yes' : 'no' }}>
{{Auth::user()->roles}} : {{Auth::user()->name}}
@endauth
@guest @if (Route::has('login'))
Log In
@endif @if (Route::has('register'))
Register
@endif @else @if (Auth::user()->roles == 'operasi') {{--
--}} @endif
{{--
--}} @csrf
@endguest
@endauth
@yield('content')
SUCCESS TOAST MESSAGE PLACEHOLDER
Close
FAIL TOAST MESSAGE PLACEHOLDER
Close
@stack('additional_scripts')