Files
edr-platform/apps/edr-freight-api/src
ghost2023 21dc28a708 feat(exchange-settings): one fallback rate per currency
exchange_settings was a single row holding the USD->ETB fallback only.
Restructured to one row per foreign currency (adds a currency column,
migration 3850000000000) so DJF gets its own fallback rate, source and
sync timestamp instead of a parallel column. Service/controller/DTO
follow: get/loadFallbackRate/saveFallbackRate/setManualRate all take a
currency now, GET /exchange-settings returns the list, and
PATCH /exchange-settings/:currency sets one. Per-currency manual-rate
ceiling (USD ~10,000, DJF ~100) replaces the old fixed bound.

Adds a spec exercising the multi-currency CBE parse and the USD<->DJF
pivot against a fixture payload.

Claude-Session: https://claude.ai/code/session_01CZy77vCWhka3pnmVF9NDkL
2026-09-04 11:52:18 +03:00
..
2026-09-02 07:17:01 +03:00
2026-09-02 22:35:18 +00:00
2026-09-02 22:35:18 +00:00
2026-08-12 06:44:30 +00:00