whisper-money/resources/js/utils
Ideal bd0481486d
feat(currency): add THB (Thai Baht) (#740)
## What
Add the Thai Baht as a supported currency.

## Compatibility
Provider covers `thb` (standard ISO 4217). The conversion service
lowercases codes and fetches `thb.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` — THB entry (`allows_primary` +
`allows_account`)
- `lang/es.json` — Spanish translation
- `lang/fr.json` — French translation
- `resources/js/utils/currency.ts` — short symbol (฿) for THB

Follows the RSD addition (#567) exactly; no code changes needed.
2026-08-09 14:24:58 +00:00
..
currency.test.ts fix: preserve cents in chart amounts (#270) 2026-04-10 15:41:24 +02:00
currency.ts feat(currency): add THB (Thai Baht) (#740) 2026-08-09 14:24:58 +00: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