mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE): adding export xlsx for report expense, change report data fetching, adding progress bar
This commit is contained in:
@@ -17,8 +17,8 @@ export class ReportExpenseApiService extends BaseApiService<
|
||||
endpoint: string
|
||||
): Promise<BaseApiResponse<ReportExpense[]>> {
|
||||
// TODO: Remove this block when backend is ready
|
||||
// const { dummyGetAllFetcher } = await import('@/dummy/report/expense.dummy');
|
||||
// return await dummyGetAllFetcher();
|
||||
// const { getDummyExpense } = await import('@/dummy/reports-expense.dummy');
|
||||
// return await getDummyExpense();
|
||||
|
||||
// Uncomment this when backend is ready
|
||||
return await httpClientFetcher<BaseApiResponse<ReportExpense[]>>(endpoint);
|
||||
|
||||
Reference in New Issue
Block a user