mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 13:55:45 +00:00
feat(FE): Closing Finance and adjust reports expense filter request
This commit is contained in:
@@ -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, () =>
|
||||
|
||||
Reference in New Issue
Block a user