mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
fix: move and rename report to expense-report.ts
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
import { BaseApiService } from '@/services/api/base';
|
import { BaseApiService } from '@/services/api/base';
|
||||||
import { httpClientFetcher } from '@/services/http/client';
|
import { httpClientFetcher } from '@/services/http/client';
|
||||||
import { BaseApiResponse } from '@/types/api/api-general';
|
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<
|
export class ReportExpenseApiService extends BaseApiService<
|
||||||
ReportExpense,
|
ReportExpense,
|
||||||
@@ -20,3 +23,9 @@ export class ReportExpenseApiService extends BaseApiService<
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const ReportExpenseApi = new ReportExpenseApiService('/reports/expense');
|
export const ReportExpenseApi = new ReportExpenseApiService('/reports/expense');
|
||||||
|
|
||||||
|
export const DepreciationReportApi = new BaseApiService<
|
||||||
|
ReportDepreciation,
|
||||||
|
unknown,
|
||||||
|
unknown
|
||||||
|
>('/reports/expense/depreciation');
|
||||||
Reference in New Issue
Block a user