whisper-money/resources/js/utils
Ideal 22835fa31b
feat(currency): add SGD (Singapore Dollar) (#794)
## What
Add the Singapore Dollar as a supported currency.

## Compatibility
Provider covers `sgd` (standard ISO 4217). The conversion service
lowercases codes and fetches `sgd.min.json` — same path RSD/NZD use.
`exchange_rates` stores rates as JSON, so any 3-letter code works.
Validation rules and Inertia currency props auto-derive from config.

## Changes
- `config/currencies.php` — SGD entry (`allows_primary` +
`allows_account`)
- `lang/es.json` — Spanish translation
- `lang/fr.json` — French translation
- `resources/js/utils/currency.ts` — short symbol (S$) for SGD

Follows the RSD addition (#567) exactly; no code changes needed.
2026-08-13 15:55:09 +02:00
..
currency.test.ts fix: preserve cents in chart amounts (#270) 2026-04-10 15:41:24 +02:00
currency.ts feat(currency): add SGD (Singapore Dollar) (#794) 2026-08-13 15:55:09 +02:00
date.ts fix(accounts): translate update button in edit account modal (#455) 2026-05-30 16:09:30 +02:00
i18n.ts feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00