Skip to content

Commit

Permalink
Merge pull request #13687 from transcom/20653-ShipmentCard-Kickback-INT
Browse files Browse the repository at this point in the history
20653 Mobile Home ShipmentCard destination Kickback
  • Loading branch information
KonstanceH authored Sep 11, 2024
2 parents b1cec9f + 4fab4f0 commit 7f42c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/mto_shipment/mto_shipment_creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (f mtoShipmentCreator) CreateMTOShipment(appCtx appcontext.AppContext, ship

// Populate the destination address fields with the new duty location's address when
// we have an HHG or Boat with no destination address, but don't copy over any street fields.
if (shipment.ShipmentType == models.MTOShipmentTypeHHG || isBoatShipment) && shipment.DestinationAddress == nil {
if (shipment.ShipmentType == models.MTOShipmentTypeHHG || isBoatShipment || isMobileHomeShipment) && shipment.DestinationAddress == nil {
err = appCtx.DB().Load(&move, "Orders.NewDutyLocation.Address")
if err != nil {
return nil, apperror.NewQueryError("Orders", err, "")
Expand Down

0 comments on commit 7f42c8c

Please sign in to comment.