@extends('layouts.admin') @section('title', $fiscalPeriod->name) @section('content') @php $tone = match($fiscalPeriod->status) { 'open' => 'success', 'soft_closed' => 'warning', 'hard_closed' => 'muted', default => 'info' }; @endphp Back @if($fiscalPeriod->status === 'open')
@csrf
@endif @if(in_array($fiscalPeriod->status, ['open', 'soft_closed'], true))
@csrf
@endif
Status
{{ str($fiscalPeriod->status)->headline() }}
Range
{{ $fiscalPeriod->starts_on->format('d M Y') }} → {{ $fiscalPeriod->ends_on->format('d M Y') }}
Snapshot
{{ $fiscalPeriod->snapshot_hash ?: '—' }}
@forelse($fiscalPeriod->checklistItems as $item)
{{ $item->label }}
{{ $item->key }}
{{ $item->status }} @if($item->status !== 'done' && $fiscalPeriod->status === 'open')
@csrf
@endif
@empty

Checklist will be created on first open.

@endforelse
@endsection