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 187cf29bf..6481a6737 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
@@ -25,31 +25,27 @@ const BillLineSearchSelect = ({ options, disabled, allowRemoved, ...restProps },
);
}}
notFoundContent={"Removed."}
- {...restProps}
- >
-
- {t("billlines.labels.other")}
-
- {options
- ? options.map((item) => (
-
- ))
- : null}
-
+ >
+ )
+ }))
+ ]}
+ {...restProps}
+ >
);
};
export default forwardRef(BillLineSearchSelect);
diff --git a/client/src/components/parts-order-list-table/parts-order-list-table.component.jsx b/client/src/components/parts-order-list-table/parts-order-list-table.component.jsx
index a18d2b4ba..b407964ed 100644
--- a/client/src/components/parts-order-list-table/parts-order-list-table.component.jsx
+++ b/client/src/components/parts-order-list-table/parts-order-list-table.component.jsx
@@ -101,7 +101,7 @@ export function PartsOrderListTableComponent({
} else {
const fetchData = async () => {
const result = await billQuery({
- variables: { billid: returnfrombill },
+ variables: { billid: returnfrombill }
});
setBillData(result.data);
};
@@ -203,7 +203,7 @@ export function PartsOrderListTableComponent({
is_credit_memo: record.return,
billlines: record.parts_order_lines.map((pol) => {
return {
- joblineid: pol.job_line_id,
+ joblineid: pol.job_line_id || "noline",
line_desc: pol.line_desc,
quantity: pol.quantity,