feat(FE): Closing Finance and adjust reports expense filter request

This commit is contained in:
randy-ar
2025-12-16 17:52:59 +07:00
parent 9c09395677
commit b02b458034
15 changed files with 1476 additions and 254 deletions
+4 -6
View File
@@ -12,10 +12,9 @@ const ReportExpense = () => {
locationId: null,
supplierId: null,
kandangId: null,
startDate: null,
endDate: null,
nonstockId: null,
realizationDate: null,
category: null,
period: '',
search: '',
});
@@ -23,10 +22,9 @@ const ReportExpense = () => {
location_id: params.locationId ?? '',
supplier_id: params.supplierId ?? '',
kandang_id: params.kandangId ?? '',
start_date: params.startDate ?? '',
end_date: params.endDate ?? '',
nonstock_id: params.nonstockId ?? '',
realization_date: params.realizationDate ?? '',
category: params.category ?? '',
period: params.period.toString(),
search: params.search,
})}`;
const { data: reportExpenses } = useSWR(reportUrl, () =>