IO-2327 parts ordering send by email
This commit is contained in:
@@ -74,7 +74,7 @@ export function PartsOrderModalComponent({
|
||||
);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div data-cy="parts-order-modal">
|
||||
<Form.Item name="returnfrombill" style={{ display: "none" }}>
|
||||
<Input />
|
||||
</Form.Item>
|
||||
@@ -98,6 +98,7 @@ export function PartsOrderModalComponent({
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
name="deliver_by"
|
||||
id="deliver_by"
|
||||
rules={[
|
||||
{
|
||||
required: true,
|
||||
@@ -122,7 +123,7 @@ export function PartsOrderModalComponent({
|
||||
label={t("parts_orders.labels.removefrompartsqueue")}
|
||||
valuePropName="checked"
|
||||
>
|
||||
<Checkbox />
|
||||
<Checkbox data-cy="part-order-checkbox-remove" />
|
||||
</Form.Item>
|
||||
)}
|
||||
{OEConnection.treatment === "on" && !isReturn && (
|
||||
@@ -131,7 +132,7 @@ export function PartsOrderModalComponent({
|
||||
label={t("parts_orders.labels.is_quote")}
|
||||
valuePropName="checked"
|
||||
>
|
||||
<Checkbox />
|
||||
<Checkbox data-cy="part-order-checkbox-quote" />
|
||||
</Form.Item>
|
||||
)}
|
||||
|
||||
|
||||
@@ -358,7 +358,7 @@ export function PartsOrderModalContainer({
|
||||
}
|
||||
onCancel={() => toggleModalVisible()}
|
||||
onOk={() => form.submit()}
|
||||
okButtonProps={{ loading: saving }}
|
||||
okButtonProps={{ loading: saving, "data-cy": "order-part-submit" }}
|
||||
cancelButtonProps={{ loading: saving }}
|
||||
destroyOnClose
|
||||
width="75%"
|
||||
|
||||
Reference in New Issue
Block a user