refactor(budget): money arithmetic lives in shared and the settlement uses it

toMinor, sumMinor, splitEqualShares and currencyDecimals move to
shared/src/money. The budget service and its MCP tools call them instead of
private copies, and the share table both sides were pinned to becomes the
spec of the shared function. Stored values and every computed figure stay
the same.
This commit is contained in:
Maurice
2026-10-10 14:43:02 +02:00
parent e5a2af5999
commit 8d716aec2f
9 changed files with 177 additions and 94 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
"src/nest/atlas/atlas-geo.ts": 1005,
"src/nest/atlas/atlas.service.ts": 1182,
"src/nest/auth/auth.service.ts": 1143,
"src/nest/budget/budget.service.ts": 1702,
"src/nest/budget/budget.service.ts": 1668,
"src/nest/collections/collections.service.ts": 1483,
"src/nest/doc-sync/doc-sync.service.ts": 1060,
"src/nest/doc-sync/providers/synology-drive.client.ts": 1160,