mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 05:45:46 +00:00
refactor(FE): Remove date_type filter and hardcode filter_by
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user