Automatically search for claim number on supplement as a part of BOD-41
This commit is contained in:
@@ -16,7 +16,6 @@ export default function JobsAvailableSupplementComponent({
|
||||
data,
|
||||
refetch,
|
||||
deleteJob,
|
||||
updateJob,
|
||||
onModalOk,
|
||||
onModalCancel,
|
||||
modalVisible,
|
||||
@@ -27,6 +26,7 @@ export default function JobsAvailableSupplementComponent({
|
||||
loadEstData,
|
||||
estData,
|
||||
importOptionsState,
|
||||
modalSearchState,
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
@@ -131,7 +131,7 @@ export default function JobsAvailableSupplementComponent({
|
||||
{
|
||||
title: t("general.labels.actions"),
|
||||
key: "actions",
|
||||
render: (text, record) => (
|
||||
render: (text, record, index) => (
|
||||
<span>
|
||||
<Button
|
||||
onClick={() => {
|
||||
@@ -147,14 +147,13 @@ export default function JobsAvailableSupplementComponent({
|
||||
<Button
|
||||
onClick={() => {
|
||||
loadEstData({ variables: { id: record.id } });
|
||||
modalSearchState[1](record.clm_no);
|
||||
setModalVisible(true);
|
||||
}}>
|
||||
<PlusCircleFilled />
|
||||
</Button>
|
||||
</span>
|
||||
),
|
||||
//width: "12%",
|
||||
//ellipsis: true
|
||||
},
|
||||
];
|
||||
|
||||
@@ -186,6 +185,7 @@ export default function JobsAvailableSupplementComponent({
|
||||
visible={modalVisible}
|
||||
onOk={onModalOk}
|
||||
onCancel={onModalCancel}
|
||||
modalSearchState={modalSearchState}
|
||||
/>
|
||||
<Table
|
||||
loading={loading}
|
||||
|
||||
Reference in New Issue
Block a user