feat(FE): adding export xlsx for report expense, change report data fetching, adding progress bar

This commit is contained in:
randy-ar
2025-12-18 18:13:27 +07:00
parent a935ffd9f5
commit c8a834f84a
9 changed files with 70194 additions and 300 deletions
+2 -2
View File
@@ -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);