pluck('code') ->toArray(); $availableCurrencies = array_diff($supportedCurrencies, $storedCurrencies); return array_combine($availableCurrencies, $availableCurrencies); } public static function getDefaultCurrency(): ?string { $companyId = auth()->user()?->current_company_id; if ($companyId === null) { return 'USD'; } return CompanySettingsService::getDefaultCurrency($companyId); } }