@if ($title_group && $title_group != '-')
  1. {{ $title_group }}
  2. @endif
  3. {{ $title_menu }}
{{ $title }} {{ $title_menu }}
@php $activeTab = session('global_active_tab', 'ALL'); @endphp
{{-- Tab ALL dengan warna berbeda dan icon --}} {{-- Tab SPUNBOND --}} {{-- Tab SAPSHEET --}}
    • @php $safePeriod = getActiveYearMonth(); try { // Gunakan format Ymd dengan hari '01' agar tanggal valid $period = \Carbon\Carbon::createFromFormat('Ymd', $safePeriod . '01'); $periodLabel = $period->translatedFormat('F Y'); } catch (\Exception $e) { $periodLabel = 'Invalid Period'; } $maxYearMonth = \DB::table('data_report')->max('YEARMONTH_BUDAT'); @endphp
    • Periode

      {{ $periodLabel }}
      @if ($maxYearMonth && $safePeriod !== $maxYearMonth) Reset ke periode terbaru @endif
    • {{ $user_login->firstname }}
      • Akun Saya
      • Ganti Password
      • @csrf Log out