diff --git a/client/src/App/App.styles.scss b/client/src/App/App.styles.scss
index bb4824cd0..2ed11cbc6 100644
--- a/client/src/App/App.styles.scss
+++ b/client/src/App/App.styles.scss
@@ -143,13 +143,16 @@
}
}
-
-//Update row highlighting on production board.
+//Update row highlighting on production board.
.ant-table-tbody > tr.ant-table-row:hover > td {
background: #eaeaea !important;
}
-.job-line-manual{
+.job-line-manual {
color: tomato;
font-style: italic;
}
+
+td.ant-table-column-sort {
+ background-color: transparent;
+}
diff --git a/client/src/components/jobs-documents-local-gallery/jobs-documents-local-gallery.external.component.jsx b/client/src/components/jobs-documents-local-gallery/jobs-documents-local-gallery.external.component.jsx
index 49fef085e..ce8622713 100644
--- a/client/src/components/jobs-documents-local-gallery/jobs-documents-local-gallery.external.component.jsx
+++ b/client/src/components/jobs-documents-local-gallery/jobs-documents-local-gallery.external.component.jsx
@@ -52,11 +52,15 @@ function JobDocumentsLocalGalleryExternal({
val.type.mime &&
val.type.mime.startsWith("image")
) {
- acc.push(val);
+ acc.push({ ...val, src: val.thumbnail });
}
return acc;
}, [])
: [];
+ console.log(
+ "🚀 ~ file: jobs-documents-local-gallery.external.component.jsx:48 ~ useEffect ~ documents:",
+ documents
+ );
setgalleryImages(documents);
}, [allMedia, jobId, setgalleryImages, t]);
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 84d73d401..ffb95adcc 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
@@ -201,6 +201,7 @@ export function PartsOrderListTableComponent({
subject: record.return
? Templates.parts_return_slip.subject
: Templates.parts_order.subject,
+ to: record.vendor.email,
}}
id={job.id}
/>
@@ -296,7 +297,6 @@ export function PartsOrderListTableComponent({
sortOrder:
state.sortedInfo.columnKey === "quantity" && state.sortedInfo.order,
},
-
{
title: t("parts_orders.fields.act_price"),
dataIndex: "act_price",
diff --git a/client/src/components/report-center-modal/report-center-modal.component.jsx b/client/src/components/report-center-modal/report-center-modal.component.jsx
index e0db4f516..913d27282 100644
--- a/client/src/components/report-center-modal/report-center-modal.component.jsx
+++ b/client/src/components/report-center-modal/report-center-modal.component.jsx
@@ -92,7 +92,11 @@ export function ReportCenterModalComponent({ reportCenterModal }) {
to: values.to,
subject: Templates[values.key]?.subject,
},
- values.sendby === "email" ? "e" : "p",
+ values.sendbyexcel === "excel"
+ ? "x"
+ : values.sendby === "email"
+ ? "e"
+ : "p",
id
);
setLoading(false);
@@ -250,15 +254,38 @@ export function ReportCenterModalComponent({ reportCenterModal }) {
ranges={DatePIckerRanges}
/>
-
-
- {t("general.labels.email")}
- {t("general.labels.print")}
-
+
+ {() => {
+ const key = form.getFieldValue("key");
+ //Kind of Id
+ const reporttype = Templates[key] && Templates[key].reporttype;
+
+ if (reporttype === "excel")
+ return (
+
+
+ {t("general.labels.excel")}
+
+
+ );
+ if (reporttype !== "excel")
+ return (
+
+
+ {t("general.labels.email")}
+ {t("general.labels.print")}
+
+
+ );
+ }}
+