Skip to content

Commit

Permalink
LIMS-996: Trim empty space around courier name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Williams committed Sep 14, 2023
1 parent 0568e32 commit 3f07d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/js/templates/shipment/shipment.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1 data-testid="shipment-header">Shipment: <span class="SHIPPINGNAME"><%-SHIPPI
<a class="button send" href="#"><i class="fa fa-plane"></i> Mark as Sent</a>
<% } %>

<% if (!DELIVERYAGENT_AGENTNAME || (DHL_ENABLE && DELIVERYAGENT_AGENTNAME.toLowerCase() == 'dhl')) { %>
<% if (!DELIVERYAGENT_AGENTNAME || (DHL_ENABLE && DELIVERYAGENT_AGENTNAME.toLowerCase().trim() == 'dhl')) { %>
<% if (DELIVERYAGENT_HAS_LABEL == '1') { %>
<a class="button pdf" href="<%-APIURL%>/pdf/awb/sid/<%-SHIPPINGID%>"><i class="fa fa-print"></i> Print Air Waybill</a>
<!-- <a class="button cancel" href="#"><i class="fa fa-truck"></i> Cancel Pickup</a> -->
Expand Down

0 comments on commit 3f07d6e

Please sign in to comment.