Author: jaz
Date: Wed May 2 12:56:44 2007
New Revision: 534603
URL:
http://svn.apache.org/viewvc?view=rev&rev=534603Log:
now will display a hex value if the soft identifier is a number
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/SerializedInventorySummary.ftl
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/SerializedInventorySummary.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/SerializedInventorySummary.ftl?view=diff&rev=534603&r1=534602&r2=534603==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/SerializedInventorySummary.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/SerializedInventorySummary.ftl Wed May 2 12:56:44 2007
@@ -50,7 +50,13 @@
</#if>
</td>
<td>${inventoryItem.serialNumber?if_exists}</td>
- <td>${inventoryItem.softIdentifier?if_exists}</td>
+ <td>
+ ${inventoryItem.softIdentifier?if_exists}
+ <#if (inventoryItem.softIdentifier?matches("\\d+"))>
+ <#assign sid = Static["java.lang.Long"].decode(inventoryItem.softIdentifier)/>
+ (0x${Static["java.lang.Long"].toHexString(sid)})
+ </#if>
+ </td>
<td>${inventoryItem.activationNumber?if_exists}</td>
<td>${inventoryItem.activationValidThru?if_exists}</td>
</tr>