mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 13:54:02 +00:00
Stabilize purchase functionality: fix ID prefix, uniqueness, and split participant inclusion
This commit is contained in:
@@ -331,6 +331,11 @@ function createFinanceService(): FinanceCommandService {
|
||||
currency: (currencyArg ?? 'GEL') as 'GEL' | 'USD',
|
||||
period: '2026-03'
|
||||
}),
|
||||
addPurchase: async () => ({
|
||||
purchaseId: 'test-purchase',
|
||||
amount: Money.fromMinor(0n, 'GEL'),
|
||||
currency: 'GEL'
|
||||
}),
|
||||
updatePayment: async () => null,
|
||||
deletePayment: async () => false,
|
||||
generateDashboard: async () => ({
|
||||
|
||||
Reference in New Issue
Block a user