{{-- Header --}}
KPI Periods Manage year-based KPI periods with department assignments
Create New Period
{{-- Search --}}
{{-- Success Message --}} @if (session()->has('success')) {{ session('success') }} @endif {{-- KPI Periods Table --}}
@forelse ($kpiPeriods as $kpiPeriod) @empty @endforelse
Year Period Status Departments Created Actions
{{ $kpiPeriod->year }} @php $months = ['', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; $firstMonth = $months[$kpiPeriod->first_month] ?? 'Jan'; $lastMonth = $months[$kpiPeriod->last_month] ?? 'Dec'; @endphp {{ $firstMonth }} - {{ $lastMonth }} @if ($kpiPeriod->status === 'published') Published @elseif ($kpiPeriod->status === 'closed') Closed @else Draft @endif {{ $kpiPeriod->departments_count }} assigned {{ $kpiPeriod->created_at->format('M d, Y') }}
Edit Delete
No KPI Periods found. Create your first period to get started.
{{-- Delete Confirmation Modal --}} @if ($deleteId) Confirm Deletion Are you sure you want to delete this KPI Period? This will also delete all department assignments. This action cannot be undone.
Cancel Delete
@endif