You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2010/02/03 11:01:58 UTC
svn commit: r905966 -
/ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml
Author: hansbak
Date: Wed Feb 3 10:01:56 2010
New Revision: 905966
URL: http://svn.apache.org/viewvc?rev=905966&view=rev
Log:
slightly better solution: leave disbursement null if no payment
Modified:
ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml
Modified: ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml?rev=905966&r1=905965&r2=905966&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml Wed Feb 3 10:01:56 2010
@@ -391,7 +391,7 @@
<menu name="PaymentSubTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
menu-container-style="button-bar button-style-2">
<actions>
- <set field="isDisbursement" value="${bsh:payment!=void?org.ofbiz.accounting.util.UtilAccounting.isDisbursement(payment):false}"/>
+ <set field="isDisbursement" value="${bsh:if(payment!=void)org.ofbiz.accounting.util.UtilAccounting.isDisbursement(payment)}"/>
</actions>
<menu-item name="createNew" title="${uiLabelMap.CommonCreateNew}" widget-style="buttontext create" >
<condition>