fix: move and rename report to expense-report.ts

This commit is contained in:
ValdiANS
2026-04-20 00:29:55 +07:00
parent 5a668c469f
commit aa4da686c6
@@ -1,7 +1,10 @@
import { BaseApiService } from '@/services/api/base';
import { httpClientFetcher } from '@/services/http/client';
import { BaseApiResponse } from '@/types/api/api-general';
import { ReportExpense } from '@/types/api/report/report-expense';
import {
ReportDepreciation,
ReportExpense,
} from '@/types/api/report/report-expense';
export class ReportExpenseApiService extends BaseApiService<
ReportExpense,
@@ -20,3 +23,9 @@ export class ReportExpenseApiService extends BaseApiService<
}
export const ReportExpenseApi = new ReportExpenseApiService('/reports/expense');
export const DepreciationReportApi = new BaseApiService<
ReportDepreciation,
unknown,
unknown
>('/reports/expense/depreciation');