Skip to content

Commit

Permalink
LIMS-832: Trim post code & email for shipping service
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPrit committed Jul 18, 2023
1 parent 5d66310 commit b99b6f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/Page/Shipment.php
Original file line number Diff line number Diff line change
Expand Up @@ -2657,10 +2657,10 @@ function _book_shipment_in_shipping_service($user, $shipment, $dewars, $journey_
"address_line3" => isset($address_lines[2]) ? $address_lines[2] : null,
"city" => $user["city"],
"country" => $user["country"],
"post_code" => $user["postcode"],
"post_code" => rtrim($user["postcode"]),
"contact_name" => $user["name"],
"contact_phone_number" => $user["phone"],
"contact_email" => $user["email"]
"contact_email" => rtrim($user["email"])
);
$shipment_data = array(
"shipment_reference" => $shipment["PROP"],
Expand Down

0 comments on commit b99b6f2

Please sign in to comment.