@stack('styles')
@stack('stylesheets')
{{-- After theme: overrides AdminLTE @media print { @page { size: a3 } } and similar --}}
@stack('styles_after_adminlte')
@if (request()->is('csr-costing*'))
@endif
@include('partials.app-preloader')
@include('sweetalert::alert')
@php
$pageBreadcrumb = page_breadcrumb_state();
$breadcrumbTitle = $pageBreadcrumb['title'];
$breadcrumbItems = $pageBreadcrumb['items'];
$showWorkstationPage = request()->routeIs('mec-sims.workflow-dashboard*')
|| (request()->routeIs('dashboard') && user_can_use_dashboard_workstation());
$showPageHeader = $showWorkstationPage
|| (
! (is_mec_role() && request()->routeIs('meeting-workspace.dashboard'))
&& ! request()->routeIs('dashboard')
);
@endphp
@include('partials.header')
@include('partials.sidebar')
@if ($showPageHeader)
@hasSection('page-header')
@yield('page-header')
@else
@endif
@endif
@yield('contents')
@include('partials.control-sidebar')
@include('partials.footer')
@stack('modals')
@if (!empty($showFirstLoginPasswordPrompt))
@include('partials.first-login-password-prompt-modal')
@endif
@include('partials.session-flash-swal')
@unless (request()->routeIs('dashboard'))
@endunless
@include('partials.scheme-table-name-mode')
@stack('scripts')
@if (request()->is('csr-costing*'))
@endif
@auth
@endauth