Skip to content

Commit

Permalink
Merge branch 'integrationTesting' into INT-B-21480
Browse files Browse the repository at this point in the history
  • Loading branch information
samaysofo committed Jan 31, 2025
2 parents 7ecf13e + 3d1bfde commit 372b4ce
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pkg/services/mto_service_item/mto_service_item_updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,20 +186,6 @@ func (p *mtoServiceItemUpdater) findEstimatedPrice(appCtx appcontext.AppContext,
return 0, err
}
}
if serviceItem.ReService.Code == models.ReServiceCodeDUPK {
domesticServiceArea, err := fetchDomesticServiceArea(appCtx, contractCode, mtoShipment.DestinationAddress.PostalCode)
if err != nil {
return 0, err
}

serviceScheduleDestination := domesticServiceArea.ServicesSchedule

price, _, err = p.unpackPricer.Price(appCtx, contractCode, *pickupDate, shipmentWeight, serviceScheduleDestination, isPPM)
if err != nil {
return 0, err
}
}

// linehaul
if serviceItem.ReService.Code == models.ReServiceCodeDLH {
domesticServiceArea, err := fetchDomesticServiceArea(appCtx, contractCode, mtoShipment.PickupAddress.PostalCode)
Expand Down

0 comments on commit 372b4ce

Please sign in to comment.