Prevent NPE when order item's item issuance does not have a ship group seqid, such as from a POS order. Based on suggestion from Vikrant Rathorpe
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -506,7 +506,7 @@ under the License.
|
||||
<#assign inventoryItem = itemIssuance.getRelatedOne("InventoryItem")/>
|
||||
<b><i>${uiLabelMap.FacilityInventory}</i>:</b>
|
||||
<a href="/facility/control/EditInventoryItem?inventoryItemId=${itemIssuance.inventoryItemId}&externalLoginKey=${externalLoginKey}" class="buttontext" style="font-size: xx-small;">${itemIssuance.inventoryItemId}</a>
|
||||
<b><i>${uiLabelMap.OrderShipGroup}</i>:</b> ${itemIssuance.shipGroupSeqId}
|
||||
<b><i>${uiLabelMap.OrderShipGroup}</i>:</b> ${itemIssuance.shipGroupSeqId?if_exists}
|
||||
<#if (inventoryItem.serialNumber?has_content)><br><b><i>${uiLabelMap.ProductSerialNumber}</li>:</b> ${inventoryItem.serialNumber} </#if>
|
||||
|
||||
</#if>
|
||||
|
||||
Reference in New Issue
Block a user