IO-764 Added cost to parts return.

This commit is contained in:
Patrick Fic
2021-03-18 10:19:02 -07:00
parent c01b57f7cc
commit 62738c50a9
19 changed files with 323 additions and 2 deletions

View File

@@ -98,6 +98,16 @@ export default function PartsOrderModalComponent({
>
<CurrencyInput />
</Form.Item>
{isReturn && (
<Form.Item
label={t("parts_orders.fields.cost")}
key={`${index}cost`}
name={[field.name, "cost"]}
>
<CurrencyInput />
</Form.Item>
)}
<Form.Item
label={t("parts_orders.fields.quantity")}
key={`${index}quantity`}