mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
BIG-3: refactoring financial reports filtering.
This commit is contained in:
@@ -27,6 +27,7 @@ function InventoryValuation({
|
||||
}) {
|
||||
const [filter, setFilter] = useState({
|
||||
asDate: moment().endOf('day').format('YYYY-MM-DD'),
|
||||
filterByOption: 'with-transactions',
|
||||
});
|
||||
|
||||
// Handle filter form submit.
|
||||
@@ -54,7 +55,6 @@ function InventoryValuation({
|
||||
[toggleInventoryValuationFilterDrawer],
|
||||
);
|
||||
|
||||
|
||||
return (
|
||||
<InventoryValuationProvider query={filter}>
|
||||
<InventoryValuationActionsBar
|
||||
|
||||
Reference in New Issue
Block a user