refactor(FE): Disable sales and filter_by until backend ready

This commit is contained in:
rstubryan
2026-01-14 14:29:40 +07:00
parent 01e94b57c1
commit 66fa65e4bb
3 changed files with 55 additions and 44 deletions
+7 -3
View File
@@ -13,8 +13,11 @@ export class FinanceApiService extends BaseApiService<
async getCustomerPaymentReport(
customer_id?: string,
// TODO: Uncomment when BE is ready
// sales_id?: string,
// filter_by?: 'do_date',
sales_id?: string,
filter_by?: 'do_date',
filter_by?: 'do_date' | undefined,
start_date?: string,
end_date?: string,
page?: number,
@@ -26,8 +29,9 @@ export class FinanceApiService extends BaseApiService<
method: 'GET',
params: {
customer_id: customer_id,
sales_id: sales_id,
filter_by: filter_by,
// TODO: Uncomment when BE is ready
// sales_id: sales_id,
// filter_by: filter_by,
start_date: start_date,
end_date: end_date,
page: page,