feat(FE-361,363): Add product category filter and API params

This commit is contained in:
rstubryan
2025-12-16 10:26:31 +07:00
parent 31b2a5a548
commit 68437b3b7e
2 changed files with 93 additions and 59 deletions
+6
View File
@@ -15,10 +15,13 @@ export class LogisticApiService extends BaseApiService<
area_id?: number,
supplier_id?: number,
product_id?: number,
product_category_id?: number,
received_date?: string,
po_date?: string,
start_date?: string,
end_date?: string,
sort_by?: string,
filter_by?: string,
page?: number,
limit?: number
): Promise<BaseApiResponse<LogisticPurchasePerSupplierReport> | undefined> {
@@ -30,10 +33,13 @@ export class LogisticApiService extends BaseApiService<
area_id: area_id,
supplier_id: supplier_id,
product_id: product_id,
product_category_id: product_category_id,
received_date: received_date,
po_date: po_date,
start_date: start_date,
end_date: end_date,
sort_by: sort_by,
filter_by: filter_by,
page: page,
limit: limit,
},