diff --git a/config/currencies.php b/config/currencies.php index 13e5f44b..76fc241d 100644 --- a/config/currencies.php +++ b/config/currencies.php @@ -44,6 +44,12 @@ return [ 'allows_primary' => true, 'allows_account' => true, ], + [ + 'code' => 'NZD', + 'name' => 'New Zealand Dollar', + 'allows_primary' => true, + 'allows_account' => true, + ], [ 'code' => 'CNY', 'name' => 'Chinese Yuan', diff --git a/lang/es.json b/lang/es.json index bcc994c6..4d0c63ee 100644 --- a/lang/es.json +++ b/lang/es.json @@ -976,6 +976,7 @@ "Neutral": "Neutro", "Never": "Nunca", "New": "Nuevo", + "New Zealand Dollar": "Dólar neozelandés", "New password": "Nueva contraseña", "New transactions from connected banks": "Nuevas transacciones de bancos conectados", "New transactions synced, :name!": "¡Nuevas transacciones sincronizadas, :name!", diff --git a/resources/js/utils/currency.ts b/resources/js/utils/currency.ts index 47526853..739a6cdf 100644 --- a/resources/js/utils/currency.ts +++ b/resources/js/utils/currency.ts @@ -23,6 +23,7 @@ export function getCurrencySymbol(currencyCode: string): string { EUR: '€', GBP: '£', JPY: '¥', + NZD: 'NZ$', DOP: 'RD$', }; return symbols[currencyCode] || currencyCode;