refactor(FE): Remove date_type filter and hardcode filter_by

This commit is contained in:
rstubryan
2026-01-09 15:08:21 +07:00
parent 6643fe5a60
commit d478ef5e22
2 changed files with 10 additions and 33 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ export class FinanceApiService extends BaseApiService<
async getCustomerPaymentReport(
customer_id?: string,
sales?: string,
date_type?: 'do_date' | 'payment_date',
filter_by?: 'do_date',
start_date?: string,
end_date?: string,
page?: number,
@@ -27,7 +27,7 @@ export class FinanceApiService extends BaseApiService<
params: {
customer_id: customer_id,
sales: sales,
date_type: date_type,
filter_by: filter_by,
start_date: start_date,
end_date: end_date,
page: page,