svn commit: r1816369 - /ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml

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

svn commit: r1816369 - /ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml

jleroux@apache.org
Author: jleroux
Date: Sun Nov 26 08:12:04 2017
New Revision: 1816369

URL: http://svn.apache.org/viewvc?rev=1816369&view=rev
Log:
Fixed: UI Issue with Account Limit at Find Billing Account(s)
(OFBIZ-9899)

Steps:
1. Open https://demo-trunk.ofbiz.apache.org/accounting/control/FindBillingAccount
2. Navigate to Find Billing account
3. Check for Search Results
Actual: At Account Limit section, symbol is been displayed
Expected: Currency Symbols should be displayed

Actual issue in the code is, Billing Account rendering logic is using browser's
locale(Due to Null BillingAccount object passed) to render currency symbol but
the code should use BillingAcccount.accountCurrencyUomId that get's set by User
on BillingAccount creation.
Fixed the logic to use accountCurrencyUomId as currency to render currency symbol.

Thanks: Aayush jain for report, Ankush Upadhyay for patch

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml?rev=1816369&r1=1816368&r2=1816369&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml Sun Nov 26 08:12:04 2017
@@ -36,7 +36,7 @@ under the License.
             </hyperlink>
         </field>
         <field name="accountLimit">
-            <display type="currency" currency="${billingAccount.accountCurrencyUomId}"/>
+            <display type="currency" currency="${accountCurrencyUomId}"/>
         </field>
         <field name="description"><display/></field>
         <field name="fromDate"><display/></field>