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
label={t("payments.fields.amount")}

View File

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