feat(F-088): completed feature

This commit is contained in:
chattie
2026-08-20 21:29:14 +02:00
parent 63fdc775d9
commit 699c01ade5
40 changed files with 996 additions and 381 deletions

View File

@@ -244,7 +244,7 @@ export interface TaxRate {
}
export const taxApi = {
list: () => api.get<{ items: TaxRate[] }>('/api/admin/tax-rates'),
update: (id: string, data: Partial<{ name: string; ratePercent: number; active: boolean }>) =>
update: (id: string, data: Partial<{ name: string; ratePercent: number; active: boolean; appliesTo: 'general' | 'reduced' | 'super-reduced' }>) =>
api.patch('/api/admin/tax-rates/' + id, data),
};

File diff suppressed because one or more lines are too long