Include exported jobs for payment modal IO-541

This commit is contained in:
Patrick Fic
2021-01-14 15:55:53 -08:00
parent 39bc20a2cb
commit ffbe670499
2 changed files with 4 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ export function PaymentFormComponent({
}, },
]} ]}
> >
<JobSearchSelect disabled={disabled} /> <JobSearchSelect disabled={disabled} notExported={false} />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
label={t("payments.fields.amount")} label={t("payments.fields.amount")}

View File

@@ -9,17 +9,17 @@ import { createStructuredSelector } from "reselect";
import { logImEXEvent } from "../../firebase/firebase.utils"; import { logImEXEvent } from "../../firebase/firebase.utils";
import { import {
INSERT_NEW_PAYMENT, INSERT_NEW_PAYMENT,
UPDATE_PAYMENT, UPDATE_PAYMENT
} from "../../graphql/payments.queries"; } from "../../graphql/payments.queries";
import { setEmailOptions } from "../../redux/email/email.actions"; import { setEmailOptions } from "../../redux/email/email.actions";
import { toggleModalVisible } from "../../redux/modals/modals.actions"; import { toggleModalVisible } from "../../redux/modals/modals.actions";
import { selectPayment } from "../../redux/modals/modals.selectors"; import { selectPayment } from "../../redux/modals/modals.selectors";
import { import {
selectBodyshop, selectBodyshop,
selectCurrentUser, selectCurrentUser
} from "../../redux/user/user.selectors"; } from "../../redux/user/user.selectors";
import RenderTemplate, { import RenderTemplate, {
displayTemplateInWindow, displayTemplateInWindow
} from "../../utils/RenderTemplate"; } from "../../utils/RenderTemplate";
import { TemplateList } from "../../utils/TemplateConstants"; import { TemplateList } from "../../utils/TemplateConstants";
import PaymentForm from "../payment-form/payment-form.component"; import PaymentForm from "../payment-form/payment-form.component";
@@ -190,7 +190,6 @@ function BillEnterModalContainer({
loading: loading, loading: loading,
}} }}
> >
<button onClick={() => form.resetFields()}>reste</button>
<Form <Form
onFinish={handleFinish} onFinish={handleFinish}
autoComplete={"off"} autoComplete={"off"}