svn commit: r827730 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl

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

svn commit: r827730 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl

doogie-3
Author: doogie
Date: Tue Oct 20 16:49:13 2009
New Revision: 827730

URL: http://svn.apache.org/viewvc?rev=827730&view=rev
Log:
Freemarker does not reset values each time thru a loop, so reset billTo
and billFrom to empty.

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl?rev=827730&r1=827729&r2=827730&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl Tue Oct 20 16:49:13 2009
@@ -172,9 +172,13 @@
                 <#assign billToPartyNameResult = dispatcher.runSync("getPartyNameForDate", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", billToParty.partyId, "compareDate", orderHeader.orderDate, "userLogin", userLogin))/>
                 <#assign billTo = billToPartyNameResult.fullName?default("[${uiLabelMap.OrderPartyNameNotFound}]")/>
                 <#-- <#assign billTo = Static["org.ofbiz.party.party.PartyHelper"].getPartyName(billToParty, true)?if_exists> -->
+            <#else>
+              <#assign billTo = ''/>
             </#if>
             <#if billFromParty?has_content>
               <#assign billFrom = Static["org.ofbiz.party.party.PartyHelper"].getPartyName(billFromParty, true)?if_exists>
+            <#else>
+              <#assign billFrom = ''/>
             </#if>
             <tr>
               <td>${orderHeader.orderDate.toString()}</td>