refactor(FE-357): Make area/location/kandang filters multi-select

This commit is contained in:
rstubryan
2025-12-18 12:56:05 +07:00
parent f844c9ff2c
commit 843fa6ee7a
2 changed files with 129 additions and 93 deletions
+6 -9
View File
@@ -12,9 +12,9 @@ export class MarketingSaleReportService extends BaseApiService<
}
async getHppPerKandangReport(
area_id?: number,
location_id?: number,
kandang_id?: number,
area_id?: string,
location_id?: string,
kandang_id?: string,
weight_min?: number,
weight_max?: number,
period?: string,
@@ -48,9 +48,6 @@ export const SaleReportApi = new MarketingSaleReportService(
'reports/marketings'
);
/* For local testing purpose only
export const SaleReportApi = new MarketingSaleReportService(
'http://localhost:4010/api/reports/marketings'
'reports/marketings'
);
*/
// export const SaleReportApi = new MarketingSaleReportService(
// 'http://localhost:4010/api/reports/marketings'
// );