diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index 7ebea2ac3..3e10e64ec 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -6392,6 +6392,48 @@ + + availablenew + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + + + availablesupplements + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + cards diff --git a/client/src/components/audit-trail-list/audit-trail-list.component.jsx b/client/src/components/audit-trail-list/audit-trail-list.component.jsx index 3fd0b0b39..c897a18db 100644 --- a/client/src/components/audit-trail-list/audit-trail-list.component.jsx +++ b/client/src/components/audit-trail-list/audit-trail-list.component.jsx @@ -16,7 +16,7 @@ export default function AuditTrailListComponent({ loading, data }) { title: t("audit.fields.created"), dataIndex: " created", key: " created", - + width: "10%", render: (text, record) => ( {record.created} ), @@ -28,6 +28,7 @@ export default function AuditTrailListComponent({ loading, data }) { title: t("audit.fields.operation"), dataIndex: "operation", key: "operation", + width: "10%", sorter: (a, b) => alphaSort(a.operation, b.operation), sortOrder: state.sortedInfo.columnKey === "operation" && state.sortedInfo.order @@ -36,6 +37,7 @@ export default function AuditTrailListComponent({ loading, data }) { title: t("audit.fields.values"), dataIndex: " old_val", key: " old_val", + width: "10%", render: (text, record) => ( alphaSort(a.useremail, b.useremail), sortOrder: state.sortedInfo.columnKey === "useremail" && state.sortedInfo.order diff --git a/client/src/components/audit-trail-values/audit-trail-values.component.jsx b/client/src/components/audit-trail-values/audit-trail-values.component.jsx index 5064fe19c..bccc5485b 100644 --- a/client/src/components/audit-trail-values/audit-trail-values.component.jsx +++ b/client/src/components/audit-trail-values/audit-trail-values.component.jsx @@ -9,7 +9,7 @@ export default function AuditTrailValuesComponent({ oldV, newV }) { if (!oldV && newV) return ( - + {Object.keys(newV).map((key, idx) => ( {key}: {JSON.stringify(newV[key])} @@ -19,7 +19,7 @@ export default function AuditTrailValuesComponent({ oldV, newV }) { ); return ( - + {Object.keys(oldV).map((key, idx) => ( {key}: {oldV[key]} diff --git a/client/src/components/jobs-available-new/jobs-available-new.component.jsx b/client/src/components/jobs-available-new/jobs-available-new.component.jsx index 7c5d08dba..7a91e4555 100644 --- a/client/src/components/jobs-available-new/jobs-available-new.component.jsx +++ b/client/src/components/jobs-available-new/jobs-available-new.component.jsx @@ -1,15 +1,11 @@ -import { Button, Input, notification, Table } from "antd"; -import { - PlusCircleFilled, - DeleteFilled, - SyncOutlined -} from "@ant-design/icons"; +import { DeleteFilled, PlusCircleFilled, SyncOutlined } from "@ant-design/icons"; +import { Button, notification, Table } from "antd"; import React, { useState } from "react"; import { useTranslation } from "react-i18next"; +import CurrencyFormatter from "../../utils/CurrencyFormatter"; import { DateTimeFormatter } from "../../utils/DateFormatter"; import { alphaSort } from "../../utils/sorters"; import OwnerFindModalContainer from "../owner-find-modal/owner-find-modal.container"; -import CurrencyFormatter from "../../utils/CurrencyFormatter"; export default function JobsAvailableComponent({ loading, @@ -174,13 +170,7 @@ export default function JobsAvailableComponent({ title={() => { return (
- { - console.log(value); - }} - enterButton - /> + {t("jobs.labels.availablenew")}