mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-23 15:36:33 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user