diff --git a/src/components/CustomerHeader/index.module.scss b/src/components/CustomerHeader/index.module.scss index 17fd1d887c5..fdb6197478a 100644 --- a/src/components/CustomerHeader/index.module.scss +++ b/src/components/CustomerHeader/index.module.scss @@ -33,6 +33,9 @@ display: flex; align-items: center; } + :global(.usa-tag) { + line-height: normal; + } } .verticalBar { color: $mm-periwinkle; diff --git a/src/components/Office/DefinitionLists/PPMShipmentInfoList.jsx b/src/components/Office/DefinitionLists/PPMShipmentInfoList.jsx index 921b354a4ad..7032cf46561 100644 --- a/src/components/Office/DefinitionLists/PPMShipmentInfoList.jsx +++ b/src/components/Office/DefinitionLists/PPMShipmentInfoList.jsx @@ -238,33 +238,29 @@ const PPMShipmentInfoList = ({ ); const aoaPacketElement = ( -
+
AOA Packet
-

- -

+
); const paymentPacketElement = ( -
+
Payment Packet
-

- -

+
); diff --git a/src/components/Office/EvaluationReportShipmentDisplay/EvaluationReportShipmentDisplay.jsx b/src/components/Office/EvaluationReportShipmentDisplay/EvaluationReportShipmentDisplay.jsx index 4192870fb32..4c0eb550603 100644 --- a/src/components/Office/EvaluationReportShipmentDisplay/EvaluationReportShipmentDisplay.jsx +++ b/src/components/Office/EvaluationReportShipmentDisplay/EvaluationReportShipmentDisplay.jsx @@ -53,13 +53,19 @@ const EvaluationReportShipmentDisplay = ({
- {displayInfo.isDiversion && diversion} - {displayInfo.shipmentStatus === shipmentStatuses.CANCELED && canceled} - {displayInfo.shipmentStatus === shipmentStatuses.DIVERSION_REQUESTED && diversion requested} - {displayInfo.shipmentStatus === shipmentStatuses.CANCELLATION_REQUESTED && ( - cancellation requested - )} - {displayInfo.usesExternalVendor && external vendor} +
+ {displayInfo.isDiversion && diversion} + {displayInfo.shipmentStatus === shipmentStatuses.CANCELED && ( + canceled + )} + {displayInfo.shipmentStatus === shipmentStatuses.DIVERSION_REQUESTED && ( + diversion requested + )} + {displayInfo.shipmentStatus === shipmentStatuses.CANCELLATION_REQUESTED && ( + cancellation requested + )} + {displayInfo.usesExternalVendor && external vendor} +
Shipment ID: {displayInfo.shipmentLocator}
diff --git a/src/components/Office/EvaluationReportShipmentDisplay/EvaluationReportShipmentDisplay.module.scss b/src/components/Office/EvaluationReportShipmentDisplay/EvaluationReportShipmentDisplay.module.scss index b7e5ea25755..b589f7affe1 100644 --- a/src/components/Office/EvaluationReportShipmentDisplay/EvaluationReportShipmentDisplay.module.scss +++ b/src/components/Office/EvaluationReportShipmentDisplay/EvaluationReportShipmentDisplay.module.scss @@ -92,14 +92,31 @@ background-color: $error-light; } + .tagWrapper { + display: flex; + flex-wrap: wrap; + row-gap: .5rem; + } + .headingTagWrapper { display: flex; align-items: center; flex-grow: 1; + flex-wrap: wrap; + h5 { @include u-margin-top(0); @include u-margin-bottom(0); } + + label { + @include u-margin-right(1); + } + + :global(.usa-tag) { + display: inline-block; + line-height: normal; + } } :global(.usa-checkbox__label) { diff --git a/src/components/Office/ShipmentDisplay/ShipmentDisplay.jsx b/src/components/Office/ShipmentDisplay/ShipmentDisplay.jsx index 1555a642390..573c5edc984 100644 --- a/src/components/Office/ShipmentDisplay/ShipmentDisplay.jsx +++ b/src/components/Office/ShipmentDisplay/ShipmentDisplay.jsx @@ -95,23 +95,25 @@ const ShipmentDisplay = ({ {displayInfo.heading} -
+
{displayInfo.isActualExpenseReimbursement && ( actual expense reimbursement )} - {displayInfo.isDiversion && diversion} + {displayInfo.isDiversion && diversion} {(displayInfo.shipmentStatus === shipmentStatuses.CANCELED || displayInfo.status === shipmentStatuses.CANCELED || displayInfo.ppmShipment?.status === ppmShipmentStatuses.CANCELED) && ( - canceled + canceled + )} + {displayInfo.shipmentStatus === shipmentStatuses.DIVERSION_REQUESTED && ( + diversion requested )} - {displayInfo.shipmentStatus === shipmentStatuses.DIVERSION_REQUESTED && diversion requested} {displayInfo.shipmentStatus === shipmentStatuses.CANCELLATION_REQUESTED && ( - cancellation requested + cancellation requested )} {displayInfo.usesExternalVendor && external vendor} {displayInfo.ppmShipment?.status && ( - + {ppmShipmentStatusLabels[displayInfo.ppmShipment?.status]} )} diff --git a/src/components/Office/ShipmentDisplay/ShipmentDisplay.module.scss b/src/components/Office/ShipmentDisplay/ShipmentDisplay.module.scss index 2f615a13376..e797efd31dd 100644 --- a/src/components/Office/ShipmentDisplay/ShipmentDisplay.module.scss +++ b/src/components/Office/ShipmentDisplay/ShipmentDisplay.module.scss @@ -14,12 +14,8 @@ @include u-padding(2); :global(.usa-tag) { - @include u-font-size('body', 3xs); + font-size: .88rem; background-color: $info-light; - &.ppmStatus { - @include u-font-size('body', 'sm'); - background-color: $base-lightest; - } } :global(.usa-tag--red) { @@ -27,6 +23,12 @@ background-color: $error-light; } + .tagWrapper { + display: flex; + flex-wrap: wrap; + row-gap: .5rem; + } + .headingTagWrapper { display: flex; align-items: center; @@ -103,6 +105,8 @@ justify-content: flex-start; align-items: center; flex-wrap: wrap; + @include u-margin-bottom(.45rem); + row-gap: .45rem; label { @include u-margin-right(1); diff --git a/src/components/Office/ShipmentHeading/ShipmentHeading.jsx b/src/components/Office/ShipmentHeading/ShipmentHeading.jsx index a5279fd7740..2c70891dd12 100644 --- a/src/components/Office/ShipmentHeading/ShipmentHeading.jsx +++ b/src/components/Office/ShipmentHeading/ShipmentHeading.jsx @@ -23,11 +23,13 @@ function ShipmentHeading({ shipmentInfo, handleShowCancellationModal, isMoveLock
{shipmentInfo.marketCode}

{shipmentInfo.shipmentType}

- {shipmentStatus === shipmentStatuses.CANCELED && canceled} - {shipmentInfo.isDiversion && diversion} - {!shipmentInfo.isDiversion && shipmentStatus === shipmentStatuses.DIVERSION_REQUESTED && ( - diversion requested - )} +
+ {shipmentStatus === shipmentStatuses.CANCELED && canceled} + {shipmentInfo.isDiversion && diversion} + {!shipmentInfo.isDiversion && shipmentStatus === shipmentStatuses.DIVERSION_REQUESTED && ( + diversion requested + )} +

#{shipmentInfo.shipmentLocator}

@@ -48,7 +50,7 @@ function ShipmentHeading({ shipmentInfo, handleShowCancellationModal, isMoveLock )} - {isCancellationRequested && Cancellation Requested} + {isCancellationRequested && Cancellation Requested}
); diff --git a/src/components/Office/ShipmentHeading/shipmentHeading.module.scss b/src/components/Office/ShipmentHeading/shipmentHeading.module.scss index 97a5430644e..de59dcfc192 100644 --- a/src/components/Office/ShipmentHeading/shipmentHeading.module.scss +++ b/src/components/Office/ShipmentHeading/shipmentHeading.module.scss @@ -46,13 +46,6 @@ padding: 2px 8px; font-size: 13px; } - - span { - background-color: $base-dark; - text-transform: uppercase; - border-radius: 2px; - color: #ffffff; - } } .marketCodeIndicator { diff --git a/src/components/Office/ShipmentSITDisplay/ShipmentSITDisplay.jsx b/src/components/Office/ShipmentSITDisplay/ShipmentSITDisplay.jsx index 13f6f8c79cc..0d529e8ffab 100644 --- a/src/components/Office/ShipmentSITDisplay/ShipmentSITDisplay.jsx +++ b/src/components/Office/ShipmentSITDisplay/ShipmentSITDisplay.jsx @@ -162,8 +162,11 @@ const SitStatusTables = ({ shipment, sitExtensions, sitStatus, openModalButton, return ( <>
-

SIT (STORAGE IN TRANSIT){pendingSITExtension && SIT EXTENSION REQUESTED}

- {!pendingSITExtension && isConvertedToCustomerExpense && Converted To Customer Expense} +

+ SIT (STORAGE IN TRANSIT){pendingSITExtension && SIT EXTENSION REQUESTED} + {!pendingSITExtension && isConvertedToCustomerExpense && Converted To Customer Expense} +

+ {sitStatus.currentSIT && !pendingSITExtension && showConvertToCustomerExpense && diff --git a/src/pages/Office/ServicesCounselingMoveDetails/ServicesCounselingMoveDetails.jsx b/src/pages/Office/ServicesCounselingMoveDetails/ServicesCounselingMoveDetails.jsx index 1a2507dd9cb..9cbe2fa5f85 100644 --- a/src/pages/Office/ServicesCounselingMoveDetails/ServicesCounselingMoveDetails.jsx +++ b/src/pages/Office/ServicesCounselingMoveDetails/ServicesCounselingMoveDetails.jsx @@ -757,7 +757,7 @@ const ServicesCounselingMoveDetails = ({
)} - +