From 0239ce6b72576ff1f3ebfa4c76e93be2d8cd090e Mon Sep 17 00:00:00 2001 From: JamesHawks224 <146897935+JamesHawks224@users.noreply.github.com> Date: Mon, 29 Apr 2024 10:21:04 -0500 Subject: [PATCH 1/4] code changes --- .../shipment_summary_worksheet/shipment_summary_worksheet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/shipment_summary_worksheet/shipment_summary_worksheet.go b/pkg/services/shipment_summary_worksheet/shipment_summary_worksheet.go index bcc9825735c..5a23bc4f2a3 100644 --- a/pkg/services/shipment_summary_worksheet/shipment_summary_worksheet.go +++ b/pkg/services/shipment_summary_worksheet/shipment_summary_worksheet.go @@ -586,7 +586,7 @@ func FormatSITNumberAndType(i int) string { func FormatPPMWeight(ppm models.PPMShipment) string { if ppm.EstimatedWeight != nil { wtg := FormatWeights(unit.Pound(*ppm.EstimatedWeight)) - return fmt.Sprintf("%s lbs - FINAL", wtg) + return fmt.Sprintf("%s lbs - Estimated", wtg) } return "" } From 608bd0746acd0b0a54b26a6cbb53b9f6ce12c431 Mon Sep 17 00:00:00 2001 From: JamesHawks224 <146897935+JamesHawks224@users.noreply.github.com> Date: Tue, 7 May 2024 10:07:10 -0500 Subject: [PATCH 2/4] fix failing tests --- .../shipment_summary_worksheet_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/services/shipment_summary_worksheet/shipment_summary_worksheet_test.go b/pkg/services/shipment_summary_worksheet/shipment_summary_worksheet_test.go index 2808a68d90c..ab5946d478b 100644 --- a/pkg/services/shipment_summary_worksheet/shipment_summary_worksheet_test.go +++ b/pkg/services/shipment_summary_worksheet/shipment_summary_worksheet_test.go @@ -313,7 +313,7 @@ func (suite *ShipmentSummaryWorksheetServiceSuite) TestFormatValuesShipmentSumma suite.Equal("01 - PPM", sswPage1.ShipmentNumberAndTypes) suite.Equal("11-Jan-2019", sswPage1.ShipmentPickUpDates) - suite.Equal("4,000 lbs - FINAL", sswPage1.ShipmentWeights) + suite.Equal("4,000 lbs - Estimated", sswPage1.ShipmentWeights) suite.Equal("Waiting On Customer", sswPage1.ShipmentCurrentShipmentStatuses) suite.Equal("17,500", sswPage1.TotalWeightAllotmentRepeat) @@ -574,7 +574,7 @@ func (suite *ShipmentSummaryWorksheetServiceSuite) TestFormatPPMWeight() { ppm := models.PPMShipment{EstimatedWeight: £s} noWtg := models.PPMShipment{EstimatedWeight: nil} - suite.Equal("1,000 lbs - FINAL", FormatPPMWeight(ppm)) + suite.Equal("1,000 lbs - Estimated", FormatPPMWeight(ppm)) suite.Equal("", FormatPPMWeight(noWtg)) } From 15eb370a41c0c1acf30fbca6b3be2022ae472535 Mon Sep 17 00:00:00 2001 From: JamesHawks224 <146897935+JamesHawks224@users.noreply.github.com> Date: Wed, 8 May 2024 12:30:15 -0500 Subject: [PATCH 3/4] applying main branch changes to int branch. --- .../PPM/ReviewDocumentsSidePanel/ReviewDocumentsSidePanel.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Office/PPM/ReviewDocumentsSidePanel/ReviewDocumentsSidePanel.jsx b/src/components/Office/PPM/ReviewDocumentsSidePanel/ReviewDocumentsSidePanel.jsx index b7632c786ba..66c707a9ee2 100644 --- a/src/components/Office/PPM/ReviewDocumentsSidePanel/ReviewDocumentsSidePanel.jsx +++ b/src/components/Office/PPM/ReviewDocumentsSidePanel/ReviewDocumentsSidePanel.jsx @@ -231,7 +231,7 @@ export default function ReviewDocumentsSidePanel({