@php $statusOptions = \App\Models\AccountingPeriod::statusOptions(); $statusLabel = $statusOptions[$accountingPeriod->status] ?? ucfirst($accountingPeriod->status); $durationDays = $accountingPeriod->start_date->diffInDays($accountingPeriod->end_date) + 1; @endphp

View Accounting Period: {{ $accountingPeriod->name }}

status === \App\Models\AccountingPeriod::STATUS_OPEN ? 'checked' : '' }} disabled>