@extends('org.layout.adminPanel') @section('title', 'Organisation') @section('section', 'Dashboard') @section('css') {{-- css --}} @endsection @section('content') {{-- content --}} @php $monthArr = [ 1 => 'Jan', 2 => 'Feb', 3 => 'Mar', 4 => 'Apr', 5 => 'May', 6 => 'Jun', 7 => 'Jul', 8 => 'Aug', 9 => 'Sep', 10 => 'Oct', 11 => 'Nov', 12 => 'Dec', ]; $monthIndex = (int) date('m'); @endphp
@if (!Helper::checkRole(['SUPER_ADMIN', 'ORG_ADMIN', 'DIV_MANAGER', 'DEP_MANAGER']))

Reviews Overdue

{{--

View all

--}}
@endif @foreach ($sections as $key => $section) @if ($section['is_show']) @if ($key == 'item')
{{-- --}}

{{ $section['title'] }}

{{--

View all

--}}
@else
@if ($key == 'itemAll')

{{ $section['title'] }}

@else

{{ $section['title'] }}

{{--

View all

--}}
@endif
@endif @endif @endforeach @if (!Helper::checkRole(['SUPER_ADMIN']))

Next 12 months review due dates


@for ($i = 0; $i < 12; $i++) @php $monthIndex++; if ($monthIndex > 12) { $monthIndex = 1; } @endphp @endfor
{{ $monthArr[$monthIndex] }}
@endif


@endsection @section('js') {{-- js --}} @endsection