@if (!Helper::checkRole(['REVIEWER', 'GUEST']))
@endif
{{-- Fonts --}}
@include('fontsStyle')
@yield('css')
@stack('css')
@yield('title')
@php
$rolename = [
App\Models\User::$SUPER_ADMIN => 'Admin',
App\Models\User::$ORG_ADMIN => 'Organisation Admin',
App\Models\User::$DIV_MANAGER => 'Division Manager',
App\Models\User::$DEP_MANAGER => 'Department Manager',
App\Models\User::$PROJECT_MANAGER => 'Project Manager',
App\Models\User::$GOVE_TEAM => 'Governance Team',
App\Models\User::$REVIEWER => 'Reviewer',
App\Models\User::$GUEST => 'Guest',
];
@endphp
{{-- loader --}}
@if (!Helper::checkRole(['REVIEWER', 'GUEST']))
{{-- Global Search --}}
@include('components.globalSearch')
@endif
{{-- quick alert --}}
{{-- side panel --}}
@include('org.layout.sidePanel')
{{-- header panel --}}
@include('org.layout.headerPanel')
{{-- floting alert --}}
{{-- @yield("floting-alert") --}}
{{-- main content --}}
@yield('content')
@php
// quick alert
// Session::flash("quickalert", ["status" => "success", "msg" => "Successfully update details"]);
// Session::flash("quickalert", ["status" => "fail", "msg" => "Failed, not update details"]);
// Session::flash("quickalert", ["status" => "warning", "msg" => "make sure you enter full name"]);
if (!empty(Session::get('quickalert'))) {
$quickAlert = Session::get('quickalert');
}
@endphp
{{-- !Helper::checkRole(['REVIEWER', 'GUEST']) --}}
@if (!Helper::checkRole(['REVIEWER', 'GUEST']))
@endif
@yield('js')