@stack('styles')
{{-- Include Loading Screen (Fixed Version) --}} @include('components.loading-screen')
@if(file_exists(public_path('logo.png')))
@else
@endif
PT Putra Taro Paloma
Audit System
@auth
Dashboard
@if(auth()->user()->role === 'auditor')
New Report
@endif
Reports
@if(auth()->user()->role === 'super_admin')
Management
Departments
Audit Types
Users
@endif
{{ strtoupper(substr(auth()->user()->name, 0, 1)) }}
{{ auth()->user()->name }}
{{ strtoupper(substr(auth()->user()->name, 0, 1)) }}
{{ auth()->user()->name }}
{{ auth()->user()->email }}
@if(auth()->user()->role === 'super_admin') Super Admin @elseif(auth()->user()->role === 'auditor') Auditor @elseif(auth()->user()->role === 'staff_departemen') Staff Departemen @elseif(auth()->user()->role === 'dept_qc') QC @endif
Profil
Ubah Password
@csrf
Logout
@endauth
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if(session('warning'))
{{ session('warning') }}
@endif @yield('content')
@auth
Home
@if(auth()->user()->role === 'auditor')
New
@endif
Reports
@if(auth()->user()->role === 'super_admin')
Admin
@endif
Profil
@endauth {{-- ═══════════════════════════════════════════════ AUTO LOGOUT setelah 5 MENIT IDLE ═══════════════════════════════════════════════ --}} @stack('scripts')