-
+
+
-
+
diff --git a/client/src/components/job-employee-assignments/job-employee-assignments.component.jsx b/client/src/components/job-employee-assignments/job-employee-assignments.component.jsx
index 86eadafd7..40ee4dc45 100644
--- a/client/src/components/job-employee-assignments/job-employee-assignments.component.jsx
+++ b/client/src/components/job-employee-assignments/job-employee-assignments.component.jsx
@@ -1,5 +1,5 @@
import { DeleteFilled, PlusCircleFilled } from "@ant-design/icons";
-import { Button, Popover, Select, Spin } from "antd";
+import { Button, Col, Popover, Row, Select, Space, Spin } from "antd";
import React, { useState } from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
@@ -40,35 +40,42 @@ export function JobEmployeeAssignments({
};
const popContent = (
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
);
return (
diff --git a/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx b/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx
index 43b581252..b301bc6f3 100644
--- a/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx
+++ b/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx
@@ -1,5 +1,13 @@
import { useMutation } from "@apollo/client";
-import { Button, Form, notification, Popover, Select, Switch } from "antd";
+import {
+ Button,
+ Form,
+ notification,
+ Popover,
+ Select,
+ Space,
+ Switch,
+} from "antd";
import React, { useState } from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
@@ -100,12 +108,14 @@ export function JobsConvertButton({ bodyshop, job, refetch, jobRO }) {
>
-
-
+
+
+
+
);
diff --git a/client/src/components/jobs-documents-gallery/jobs-documents-gallery.component.jsx b/client/src/components/jobs-documents-gallery/jobs-documents-gallery.component.jsx
index 80c75af77..9f41556dd 100644
--- a/client/src/components/jobs-documents-gallery/jobs-documents-gallery.component.jsx
+++ b/client/src/components/jobs-documents-gallery/jobs-documents-gallery.component.jsx
@@ -117,7 +117,9 @@ function JobsDocumentsComponent({
galleryImages={galleryImages}
deletionCallback={billsCallback || refetch}
/>
-
+ {!billId && (
+
+ )}
diff --git a/client/src/components/jobs-notes/jobs.notes.component.jsx b/client/src/components/jobs-notes/jobs.notes.component.jsx
index 1629ac560..e8354b026 100644
--- a/client/src/components/jobs-notes/jobs.notes.component.jsx
+++ b/client/src/components/jobs-notes/jobs.notes.component.jsx
@@ -5,7 +5,7 @@ import {
EyeInvisibleFilled,
WarningFilled,
} from "@ant-design/icons";
-import { Button, Card, Table } from "antd";
+import { Button, Card, Space, Table } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
@@ -82,7 +82,7 @@ export function JobNotesComponent({
key: "actions",
width: 150,
render: (text, record) => (
-
+
-
+
),
},
];
diff --git a/client/src/components/note-upsert-modal/note-upsert-modal.component.jsx b/client/src/components/note-upsert-modal/note-upsert-modal.component.jsx
index 564421cf8..28e824bdd 100644
--- a/client/src/components/note-upsert-modal/note-upsert-modal.component.jsx
+++ b/client/src/components/note-upsert-modal/note-upsert-modal.component.jsx
@@ -1,4 +1,4 @@
-import { Form, Input, Switch } from "antd";
+import { Col, Form, Input, Row, Switch } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";
import NotesPresetButton from "../notes-preset-button/notes-preset-button.component";
@@ -7,37 +7,45 @@ export default function NoteUpsertModalComponent({ form }) {
const { t } = useTranslation();
return (
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
);
}
diff --git a/client/src/components/note-upsert-modal/note-upsert-modal.container.jsx b/client/src/components/note-upsert-modal/note-upsert-modal.container.jsx
index e74bc992e..9d732ea40 100644
--- a/client/src/components/note-upsert-modal/note-upsert-modal.container.jsx
+++ b/client/src/components/note-upsert-modal/note-upsert-modal.container.jsx
@@ -90,7 +90,12 @@ export function NoteUpsertModalContainer({
}}
destroyOnClose
>
-
diff --git a/client/src/components/scoreboard-chart/scoreboard-chart.component.jsx b/client/src/components/scoreboard-chart/scoreboard-chart.component.jsx
index a5360b19f..ec7c8fd37 100644
--- a/client/src/components/scoreboard-chart/scoreboard-chart.component.jsx
+++ b/client/src/components/scoreboard-chart/scoreboard-chart.component.jsx
@@ -1,3 +1,4 @@
+import { Card } from "antd";
import moment from "moment";
import React from "react";
import { connect } from "react-redux";
@@ -68,7 +69,7 @@ export function ScoreboardChart({ sbEntriesByDate, bodyshop }) {
}, []);
return (
-
+
-
+
);
}
diff --git a/client/src/components/scoreboard-day-stats/scoreboard-day-stats.component.jsx b/client/src/components/scoreboard-day-stats/scoreboard-day-stats.component.jsx
index 7475e7fd9..36b4a028b 100644
--- a/client/src/components/scoreboard-day-stats/scoreboard-day-stats.component.jsx
+++ b/client/src/components/scoreboard-day-stats/scoreboard-day-stats.component.jsx
@@ -26,18 +26,22 @@ export function ScoreboardDayStats({ bodyshop, date, entries }) {
}, 0);
return (
-
-
- bodyHrs ? "red" : "green" }}
- value={bodyHrs.toFixed(1)}
- />
- paintHrs ? "red" : "green" }}
- value={paintHrs.toFixed(1)}
- />
-
-
+
+ bodyHrs ? "red" : "green" }}
+ label="B"
+ value={bodyHrs.toFixed(1)}
+ />
+ paintHrs ? "red" : "green" }}
+ label="P"
+ value={paintHrs.toFixed(1)}
+ />
+
);
}
export default connect(mapStateToProps, mapDispatchToProps)(ScoreboardDayStats);
diff --git a/client/src/components/scoreboard-display/scoreboard-display.component.jsx b/client/src/components/scoreboard-display/scoreboard-display.component.jsx
index 8cd6655d4..6c126c736 100644
--- a/client/src/components/scoreboard-display/scoreboard-display.component.jsx
+++ b/client/src/components/scoreboard-display/scoreboard-display.component.jsx
@@ -1,6 +1,6 @@
+import { Col, Row } from "antd";
import React from "react";
import ScoreboardChart from "../scoreboard-chart/scoreboard-chart.component";
-import ScoreboardJobsList from "../scoreboard-jobs-list/scoreboard-jobs-list.component";
import ScoreboardLastDays from "../scoreboard-last-days/scoreboard-last-days.component";
import ScoreboardTargetsTable from "../scoreboard-targets-table/scoreboard-targets-table.component";
@@ -20,11 +20,18 @@ export default function ScoreboardDisplayComponent({ scoreboardSubscription }) {
});
return (
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
);
}
diff --git a/client/src/components/scoreboard-targets-table/scoreboard-targets-table.component.jsx b/client/src/components/scoreboard-targets-table/scoreboard-targets-table.component.jsx
index 99ed3773e..9b96febaf 100644
--- a/client/src/components/scoreboard-targets-table/scoreboard-targets-table.component.jsx
+++ b/client/src/components/scoreboard-targets-table/scoreboard-targets-table.component.jsx
@@ -1,11 +1,13 @@
import { CalendarOutlined } from "@ant-design/icons";
-import { Col, Row, Statistic } from "antd";
+import { Card, Col, Row, Statistic } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";
import { selectBodyshop } from "../../redux/user/user.selectors";
+import ScoreboardJobsList from "../scoreboard-jobs-list/scoreboard-jobs-list.component";
import * as Util from "./scoreboard-targets-table.util";
+
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
});
@@ -16,11 +18,14 @@ const mapDispatchToProps = (dispatch) => ({
const rowGutter = [16, 16];
const statSpans = { xs: 24, sm: 6 };
-export function ScoreboardTargetsTable({ bodyshop }) {
+export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
const { t } = useTranslation();
return (
-
+ }
+ >
@@ -70,7 +75,7 @@ export function ScoreboardTargetsTable({ bodyshop }) {
@@ -100,7 +105,7 @@ export function ScoreboardTargetsTable({ bodyshop }) {
-
+
);
}
export default connect(
diff --git a/client/src/components/vendors-form/vendors-form.component.jsx b/client/src/components/vendors-form/vendors-form.component.jsx
index 3118ae96c..f934b6b3a 100644
--- a/client/src/components/vendors-form/vendors-form.component.jsx
+++ b/client/src/components/vendors-form/vendors-form.component.jsx
@@ -1,9 +1,11 @@
import { DeleteFilled } from "@ant-design/icons";
import {
Button,
+ Divider,
Form,
Input,
InputNumber,
+ PageHeader,
Select,
Space,
Switch,
@@ -27,18 +29,31 @@ export default function VendorsFormComponent({
const { getFieldValue } = form;
return (
-
-
-
-
+
+
+
+
+
+
+
+ }
+ />
-
-
-
+
-
+
@@ -125,16 +133,14 @@ export default function VendorsFormComponent({
-
- {t("vendors.labels.preferredmakes")}
-
+ {t("vendors.labels.preferredmakes")}
{(fields, { add, remove }) => {
return (
{fields.map((field, index) => (
-
+
-
+
))}
diff --git a/client/src/components/vendors-form/vendors-form.container.jsx b/client/src/components/vendors-form/vendors-form.container.jsx
index 2f3b9f1f4..746b875b5 100644
--- a/client/src/components/vendors-form/vendors-form.container.jsx
+++ b/client/src/components/vendors-form/vendors-form.container.jsx
@@ -119,6 +119,7 @@ function VendorsFormContainer({ refetch, bodyshop }) {
if (loading) return ;
if (error) return ;
+
return (