Skip to content

Commit

Permalink
Merge pull request #12609 from transcom/b19764-int-20240506-fe-aoa-pa…
Browse files Browse the repository at this point in the history
…cket-change-text

B19764 int 20240506 fe aoa packet change text
  • Loading branch information
JamesHawks224 authored May 10, 2024
2 parents 605b601 + f305bf8 commit 4201dc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -574,7 +574,7 @@ func (suite *ShipmentSummaryWorksheetServiceSuite) TestFormatPPMWeight() {
ppm := models.PPMShipment{EstimatedWeight: &pounds}
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))
}

Expand Down

0 comments on commit 4201dc6

Please sign in to comment.