diff --git a/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx b/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx index 682e19f94..b698a179f 100644 --- a/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx +++ b/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx @@ -1,5 +1,5 @@ import { useApolloClient, useMutation } from "@apollo/client"; -import { Button, Form, Modal, notification } from "antd"; +import { Button, Form, Modal, notification, Space } from "antd"; import _ from "lodash"; import React, { useEffect, useState, useMemo } from "react"; import { useTranslation } from "react-i18next"; @@ -227,7 +227,7 @@ function BillEnterModalContainer({ onCancel={handleCancel} afterClose={() => form.resetFields()} footer={ - + )} - + } destroyOnClose > @@ -255,7 +255,6 @@ function BillEnterModalContainer({ onFinishFailed={() => { setEnterAgain(false); }} - // initialValues={formValues} > {(formInput && formInput(record, record.key)) || children} diff --git a/client/src/components/courtesy-car-return-modal/courtesy-car-return-modal.container.jsx b/client/src/components/courtesy-car-return-modal/courtesy-car-return-modal.container.jsx index 98a6ebf9c..a1fcff8b7 100644 --- a/client/src/components/courtesy-car-return-modal/courtesy-car-return-modal.container.jsx +++ b/client/src/components/courtesy-car-return-modal/courtesy-car-return-modal.container.jsx @@ -20,7 +20,7 @@ const mapDispatchToProps = (dispatch) => ({ toggleModalVisible: () => dispatch(toggleModalVisible("courtesyCarReturn")), }); -export function BillEnterModalContainer({ +export function CCReturnModalContainer({ courtesyCarReturnModal, toggleModalVisible, bodyshop, @@ -85,4 +85,4 @@ export function BillEnterModalContainer({ export default connect( mapStateToProps, mapDispatchToProps -)(BillEnterModalContainer); +)(CCReturnModalContainer); diff --git a/client/src/components/job-search-select/job-search-select.component.jsx b/client/src/components/job-search-select/job-search-select.component.jsx index 36782ded0..c3d297637 100644 --- a/client/src/components/job-search-select/job-search-select.component.jsx +++ b/client/src/components/job-search-select/job-search-select.component.jsx @@ -36,10 +36,8 @@ const JobSearchSelect = ( } ); - const [ - callIdSearch, - { loading: idLoading, error: idError, data: idData }, - ] = useLazyQuery(SEARCH_JOBS_BY_ID_FOR_AUTOCOMPLETE); + const [callIdSearch, { loading: idLoading, error: idError, data: idData }] = + useLazyQuery(SEARCH_JOBS_BY_ID_FOR_AUTOCOMPLETE); const executeSearch = (v) => { callSearch(v); @@ -63,6 +61,7 @@ const JobSearchSelect = ( ], "id" ); + console.log("restProps", restProps); return (
@@ -81,7 +80,7 @@ const JobSearchSelect = ( > {theOptions ? theOptions.map((o) => ( -