diff --git a/client/src/components/bill-line-search-select/bill-line-search-select.component.jsx b/client/src/components/bill-line-search-select/bill-line-search-select.component.jsx index b13dad1c2..66a67c7d5 100644 --- a/client/src/components/bill-line-search-select/bill-line-search-select.component.jsx +++ b/client/src/components/bill-line-search-select/bill-line-search-select.component.jsx @@ -13,6 +13,7 @@ const BillLineSearchSelect = ({ options, disabled, ...restProps }, ref) => { ref={ref} showSearch optionFilterProp="line_desc" + notFoundContent={"Removed."} {...restProps} > @@ -21,14 +22,18 @@ const BillLineSearchSelect = ({ options, disabled, ...restProps }, ref) => { {options ? options.map((item) => ( diff --git a/client/src/graphql/jobs-lines.queries.js b/client/src/graphql/jobs-lines.queries.js index 6aadff627..ef68fe3be 100644 --- a/client/src/graphql/jobs-lines.queries.js +++ b/client/src/graphql/jobs-lines.queries.js @@ -160,7 +160,8 @@ export const UPDATE_JOB_LINE = gql` export const GET_JOB_LINES_TO_ENTER_BILL = gql` query GET_JOB_LINES_TO_ENTER_BILL($id: uuid!) { - joblines(where: { jobid: { _eq: $id }, removed: { _eq: false } }) { + joblines(where: { jobid: { _eq: $id } }) { + removed id line_desc part_type