diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel
index 5c8b43a92..c23acfa76 100644
--- a/bodyshop_translations.babel
+++ b/bodyshop_translations.babel
@@ -3939,6 +3939,27 @@
+
+ returnfrombill
+ false
+
+
+
+
+
+ en-US
+ false
+
+
+ es-MX
+ false
+
+
+ fr-CA
+ false
+
+
+
savewithdiscrepancy
false
@@ -40798,6 +40819,27 @@
labels
+
+ notyetdispatched
+ false
+
+
+
+
+
+ en-US
+ false
+
+
+ es-MX
+ false
+
+
+ fr-CA
+ false
+
+
+
parts_dispatch
false
diff --git a/client/src/components/job-detail-lines/job-lines-expander.component.jsx b/client/src/components/job-detail-lines/job-lines-expander.component.jsx
index 53ca81457..22f0f8616 100644
--- a/client/src/components/job-detail-lines/job-lines-expander.component.jsx
+++ b/client/src/components/job-detail-lines/job-lines-expander.component.jsx
@@ -12,6 +12,7 @@ import { createStructuredSelector } from "reselect";
import { selectBodyshop } from "../../redux/user/user.selectors";
import { QUERY_JOBLINE_TASKS_PAGINATED } from "../../graphql/tasks.queries.js";
import TaskListContainer from "../task-list/task-list.container.jsx";
+import FeatureWrapper from "../feature-wrapper/feature-wrapper.component.jsx";
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop
@@ -98,55 +99,59 @@ export function JobLinesExpander({ jobline, jobid, bodyshop }) {
)
}))
- : {
- key: "dispatch-lines",
- children: t("parts_orders.labels.notyetordered")
- }
- }
- />
-
-
- {t("bills.labels.bills")}
- 0
- ? data.billlines.map((line) => ({
- key: line.id,
- children: (
-
-
-
- {line.bill.invoice_number}
-
-
-
-
- {`${t("billlines.fields.actual_price")}: `}
- {line.actual_price}
-
-
-
-
- {`${t("billlines.fields.actual_cost")}: `}
- {line.actual_cost}
-
-
-
- {line.bill.date}
-
- {line.bill.vendor.name}
-
- )
- }))
: [
{
- key: "no-orders",
- children: t("bills.labels.nobilllines")
+ key: "dispatch-lines",
+ children: t("parts_dispatch.labels.notyetdispatched")
}
]
}
/>
+ null}>
+
+ {t("bills.labels.bills")}
+ 0
+ ? data.billlines.map((line) => ({
+ key: line.id,
+ children: (
+
+
+
+ {line.bill.invoice_number}
+
+
+
+
+ {`${t("billlines.fields.actual_price")}: `}
+ {line.actual_price}
+
+
+
+
+ {`${t("billlines.fields.actual_cost")}: `}
+ {line.actual_cost}
+
+
+
+ {line.bill.date}
+
+ {line.bill.vendor.name}
+
+ )
+ }))
+ : [
+ {
+ key: "no-orders",
+ children: t("bills.labels.nobilllines")
+ }
+ ]
+ }
+ />
+
+