Added parts returning as a part of BOD-19

This commit is contained in:
Patrick Fic
2020-05-14 15:46:48 -07:00
parent cc47fd698a
commit 87146fa08d
34 changed files with 816 additions and 184 deletions

View File

@@ -7,6 +7,7 @@ import CurrencyInput from "../form-items-formatted/currency-form-item.component"
export default function PartsOrderModalComponent({
vendorList,
sendTypeState,
isReturn
}) {
const [sendType, setSendType] = sendTypeState;
@@ -24,7 +25,7 @@ export default function PartsOrderModalComponent({
},
]}
>
<VendorSearchSelect options={vendorList} />
<VendorSearchSelect options={vendorList} disabled={isReturn} />
</Form.Item>
<Form.Item
name="deliver_by"