svn commit: r565719 - /ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r565719 - /ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl

jonesde
Author: jonesde
Date: Tue Aug 14 04:48:49 2007
New Revision: 565719

URL: http://svn.apache.org/viewvc?view=rev&rev=565719
Log:
Added template changes for serial numbers, assuming they are filled in properly of course

Modified:
    ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl

Modified: ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl?view=diff&rev=565719&r1=565718&r2=565719
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl (original)
+++ ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ReceiveDelivery.ftl Tue Aug 14 04:48:49 2007
@@ -86,7 +86,8 @@
                     <of:UOM>EACH</of:UOM>
                 </os:QUANTITY>
                 <#list returnItems as returnItem>
-                    <#assign returnReason = returnItem.getRelatedOne("ReturnReason")>
+                    <#assign returnReason = returnItem.getRelatedOne("ReturnReason")/>
+                    <#assign serialNumberList = serialNumberListByReturnItemSeqIdMap.get(returnItem.returnItemSeqId)/>
                 <n:RECEIPTITM>
                     <os:QUANTITY>
                         <of:VALUE>${returnItem.returnQuantity?if_exists}</of:VALUE>
@@ -101,10 +102,11 @@
                         <of:DOCUMENTID>${returnId?if_exists}</of:DOCUMENTID>
                         <of:LINENUM>${returnItem.returnItemSeqId}</of:LINENUM>
                     </os:DOCUMNTREF>
-                    <#-- TODO: fill this in if available -->
+                    <#list serialNumberList?if_exists as serialNumber>
                     <n:INVDETAIL>
-                        <of:SERIALNUM></of:SERIALNUM>
+                        <of:SERIALNUM>${serialNumber}</of:SERIALNUM>
                     </n:INVDETAIL>
+                    </#list>
                 </n:RECEIPTITM>
                 </#list>
             </n:RECEIPTUNT>