Added vendor search in report center IO-688
This commit is contained in:
@@ -50,9 +50,11 @@ const VendorSearchSelect = (
|
||||
<Col span={4}>
|
||||
<HeartOutlined />
|
||||
</Col>
|
||||
<Col span={4}>
|
||||
<Tag color="green">{`${o.discount * 100}%`}</Tag>
|
||||
</Col>
|
||||
{o.discount && (
|
||||
<Col span={4}>
|
||||
<Tag color="green">{`${o.discount * 100}%`}</Tag>
|
||||
</Col>
|
||||
)}
|
||||
</Row>
|
||||
</Option>
|
||||
))
|
||||
@@ -62,9 +64,11 @@ const VendorSearchSelect = (
|
||||
<Option key={o.id} value={o.id} name={o.name} discount={o.discount}>
|
||||
<Row>
|
||||
<Col span={20}>{o.name}</Col>
|
||||
<Col span={4}>
|
||||
<Tag color="green">{`${o.discount * 100}%`}</Tag>
|
||||
</Col>
|
||||
{o.discount && (
|
||||
<Col span={4}>
|
||||
<Tag color="green">{`${o.discount * 100}%`}</Tag>
|
||||
</Col>
|
||||
)}
|
||||
</Row>
|
||||
</Option>
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user