feat(F-088): completed feature
This commit is contained in:
@@ -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
Reference in New Issue
Block a user