diff --git a/client/src/components/jobs-detail-header/jobs-detail-header.component.jsx b/client/src/components/jobs-detail-header/jobs-detail-header.component.jsx index 694fea5d7..4d737ee67 100644 --- a/client/src/components/jobs-detail-header/jobs-detail-header.component.jsx +++ b/client/src/components/jobs-detail-header/jobs-detail-header.component.jsx @@ -5,6 +5,7 @@ import { WarningFilled, } from "@ant-design/icons"; import { Card, Col, Divider, Row, Space, Tag, Tooltip } from "antd"; +import moment from "moment"; import React, { useState } from "react"; import { useTranslation } from "react-i18next"; import { connect } from "react-redux"; @@ -26,7 +27,6 @@ import ProductionListColumnComment from "../production-list-columns/production-l import ProductionListColumnProductionNote from "../production-list-columns/production-list-columns.productionnote.component"; import VehicleVinDisplay from "../vehicle-vin-display/vehicle-vin-display.component"; import "./jobs-detail-header.styles.scss"; -import moment from "moment"; const mapStateToProps = createStructuredSelector({ jobRO: selectJobReadOnly, @@ -101,7 +101,11 @@ export function JobsDetailHeader({ job, bodyshop, disabled }) { {job.status === bodyshop.md_ro_statuses.default_scheduled && job.scheduled_in ? ( - + {job.scheduled_in} @@ -221,6 +225,12 @@ export function JobsDetailHeader({ job, bodyshop, disabled }) { {job.owner?.tax_number || ""} )} + + {job.owner?.note || ""} + diff --git a/client/src/graphql/jobs.queries.js b/client/src/graphql/jobs.queries.js index 1379535e1..31f9be07c 100644 --- a/client/src/graphql/jobs.queries.js +++ b/client/src/graphql/jobs.queries.js @@ -704,6 +704,7 @@ export const GET_JOB_BY_PK = gql` other_amount_payable owner { id + note ownr_fn ownr_ln ownr_co_nm