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:
Si Chen
2007-06-04 23:36:33 +00:00
parent 0accad964c
commit bc1ea7fbf0
@@ -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}&amp;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}&nbsp;</#if>
</#if>