first(); } /** * Get the active accounting theme key. */ public static function accountingTheme(): string { return SystemSetting::getValue('accounting_theme', AccountingTheme::DEFAULT_KEY); } /** * Get available chapter/org position titles. */ public static function chapterPositions(): array { $value = SystemSetting::getValue('chapter_positions'); if (!$value) { return ['National Director', 'Regional Director', 'Provincial Coordinator', 'City/Municipal Officer', 'Barangay Captain', 'Secretary', 'Treasurer', 'Auditor', 'Member']; } return is_string($value) ? (json_decode($value, true) ?? []) : (array) $value; } }