mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
BIG-3: add filtering non-zero items.
This commit is contained in:
@@ -11,6 +11,8 @@ import {
|
||||
Col,
|
||||
FieldHint,
|
||||
} from '../../../components';
|
||||
import { filterInventoryValuationOptions } from '../common';
|
||||
|
||||
import {
|
||||
momentFormatter,
|
||||
tansformDateValue,
|
||||
@@ -21,6 +23,7 @@ import {
|
||||
InventoryValuationGeneralPanelProvider,
|
||||
useInventoryValuationGeneralPanelContext,
|
||||
} from './InventoryValuationHeaderGeneralPanelProvider';
|
||||
import FinancialStatementsFilter from '../FinancialStatementsFilter';
|
||||
|
||||
/**
|
||||
* Inventory valuation - Drawer Header - General panel.
|
||||
@@ -66,6 +69,11 @@ function InventoryValuationHeaderGeneralPanelContent() {
|
||||
</FastField>
|
||||
</Col>
|
||||
</Row>
|
||||
<FinancialStatementsFilter
|
||||
items={filterInventoryValuationOptions}
|
||||
label={<T id={'items.label_filter_items'} />}
|
||||
initialSelectedItem={'all-items'}
|
||||
/>
|
||||
|
||||
<Row>
|
||||
<Col xs={5}>
|
||||
|
||||
Reference in New Issue
Block a user