Fix for bad variable name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815653 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -43,13 +43,13 @@ under the License.
|
||||
<#assign shipGroupAssoc = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("OrderItemShipGroupAssoc", {"orderId" : orderId}))/>
|
||||
<#assign shipGroup = delegator.findOne("OrderItemShipGroup", {"orderId" : orderId, "shipGroupSeqId" : shipGroupAssoc.shipGroupSeqId}, false)>
|
||||
<#assign shipGroupShipment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("Shipment", {"primaryOrderId" : shipGroup.orderId, "primaryShipGroupSeqId" : shipGroup.shipGroupSeqId}))/>
|
||||
<#assign shipmentRoutSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId" : shipGroupShipment.shipmentId}))>
|
||||
<#if "UPS" == shipmentRoutSegment.carrierPartyId>
|
||||
<#assign shipmentRouteSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId" : shipGroupShipment.shipmentId}))>
|
||||
<#if "UPS" == shipmentRouteSegment.carrierPartyId>
|
||||
<a href="javascript:document.upsEmailReturnLabel.submit();" class="buttontext">${uiLabelMap.ProductEmailReturnShippingLabelUPS}</a>
|
||||
<form name="upsEmailReturnLabel" method="post" action="<@ofbizUrl>upsEmailReturnLabelReturn</@ofbizUrl>">
|
||||
<input type="hidden" name="returnId" value="${returnId}"/>
|
||||
<input type="hidden" name="shipmentId" value="${shipGroupShipment.shipmentId}"/>
|
||||
<input type="hidden" name="shipmentRouteSegmentId" value=${shipmentRoutSegment.shipmentRouteSegmentId}>
|
||||
<input type="hidden" name="shipmentRouteSegmentId" value=${shipmentRouteSegment.shipmentRouteSegmentId}>
|
||||
</form>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
Reference in New Issue
Block a user