Trek_CN/server/src
Maurice aa91f009ad fix(costs): freeze the FX rate so settled expenses don't reopen when rates drift (#1335)
Settle-up transfers are stored as fixed amounts, but a foreign-currency expense was re-converted with live rates on every settlement calc. When the rate drifted, the fixed transfer no longer cancelled the re-valued expense and a few-cent residual re-opened the settled position. Foreign-currency expenses now freeze the live rate at entry time into the existing budget_items.exchange_rate column, and the settlement converts with that frozen rate when working in the trip currency. Legacy rows (exchange_rate = 1) keep using live rates, so historical data is unchanged until re-edited; rate fetch failures fall back to live rates.
2026-06-27 20:14:52 +02:00
..
db Use Google Maps feature IDs for place map links 2026-06-27 20:14:52 +02:00
demo v2.6.2 — TREK Rebrand, OSM Enrichment, File Management, Hotel Bookings & Bug Fixes 2026-03-28 16:38:08 +01:00
mcp Use Google Maps feature IDs for place map links 2026-06-27 20:14:52 +02:00
middleware feat(maps): add MapLibre OpenFreeMap support (#1317) 2026-06-27 20:14:52 +02:00
nest fix(costs): freeze the FX rate so settled expenses don't reopen when rates drift (#1335) 2026-06-27 20:14:52 +02:00
services fix(costs): freeze the FX rate so settled expenses don't reopen when rates drift (#1335) 2026-06-27 20:14:52 +02:00
systemNotices Bug fixes - May 2nd 2026 (#941) 2026-05-03 17:39:45 +02:00
typings Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
utils Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
addons.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
bootstrap.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
config.ts v3.1.1 bug fixes (#1228) 2026-06-18 20:13:30 +02:00
index.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
scheduler.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
types.ts Use Google Maps feature IDs for place map links 2026-06-27 20:14:52 +02:00
websocket.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00