diff --git a/addon/controllers/settings/accounting.js b/addon/controllers/settings/accounting.js index 3270e84..810303a 100644 --- a/addon/controllers/settings/accounting.js +++ b/addon/controllers/settings/accounting.js @@ -144,7 +144,7 @@ export default class SettingsAccountingController extends Controller { @action onSelectCurrency(currency) { // CurrencySelect passes the full currency object; store the ISO code. // Clearing the selection (null/undefined) resets to company default. - this.base_currency = currency?.code ?? null; + this.base_currency = currency ?? null; } @action onSelectFiscalYearMonth(option) { diff --git a/addon/controllers/settings/invoice.js b/addon/controllers/settings/invoice.js index 873e2b1..d76b617 100644 --- a/addon/controllers/settings/invoice.js +++ b/addon/controllers/settings/invoice.js @@ -138,7 +138,7 @@ export default class SettingsInvoiceController extends Controller { @action onSelectCurrency(currency) { // CurrencySelect passes the full currency object; store the ISO code. // Clearing the selection (null/undefined) resets to company default. - this.default_currency = currency?.code ?? null; + this.default_currency = currency ?? null; } @action onSelectPaymentTerms(option) {