Author: mor
Date: Wed Oct 14 13:48:42 2009
New Revision: 825136

URL: http://svn.apache.org/viewvc?rev=825136&view=rev
Log:
Applied fix from trunk for revision: 825135 
 Update button was displayed on the create billing account screen but it should 
be Create. Applied patch from Brajesh Patel,

Modified:
    
ofbiz/branches/release09.04/applications/accounting/widget/BillingAccountForms.xml

Modified: 
ofbiz/branches/release09.04/applications/accounting/widget/BillingAccountForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/accounting/widget/BillingAccountForms.xml?rev=825136&r1=825135&r2=825136&view=diff
==============================================================================
--- 
ofbiz/branches/release09.04/applications/accounting/widget/BillingAccountForms.xml
 (original)
+++ 
ofbiz/branches/release09.04/applications/accounting/widget/BillingAccountForms.xml
 Wed Oct 14 13:48:42 2009
@@ -148,8 +148,8 @@
         <field name="availableBalance" 
title="${uiLabelMap.AccountingBillingAvailableBalance}" 
tooltip="${uiLabelMap.AccountingBillingAvailableBalanceMessage}">
             <display type="currency" 
currency="${billingAccount.accountCurrencyUomId}"/>
         </field>
-
-        <field name="submitButton" title="${uiLabelMap.CommonUpdate}" 
widget-style="smallSubmit"><submit button-type="button"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonCreate}" 
use-when="billingAccount == null" widget-style="smallSubmit"><submit 
button-type="button"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonUpdate}" 
use-when="billingAccount!=null" widget-style="smallSubmit"><submit 
button-type="button"/></field>
     </form>
 
     <form name="ListBillingAccountRoles" type="list"  
list-name="billingAccountRoleList" target="updateBillingAccountRole"


Reply via email to