details:   /erp/stable/2.50/rev/fb681af935ee
changeset: 9334:fb681af935ee
user:      Egoitz Castillo <egoitz.castillo <at> openbravo.com>
date:      Mon Apr 04 10:02:29 2011 +0200
summary:   Fixes issue 0015901: The field initial balance should not appear 
when printing
Solved a compilation problem

diffstat:

 src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.java |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 3238ef00f767 -r fb681af935ee 
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.java
--- a/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.java    Fri Apr 
01 18:11:32 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.java    Mon Apr 
04 10:02:29 2011 +0200
@@ -80,8 +80,6 @@
           "ReportTrialBalance|C_ElementValue_IDTO", 
ReportTrialBalanceData.selectLastAccount(this,
               Utility.getContext(this, vars, "#AccessibleOrgTree", "Account"), 
Utility.getContext(
                   this, vars, "#User_Client", "Account")));
-      String strNotInitialBalance = 
vars.getGlobalVariable("inpNotInitialBalance",
-          "ReportTrialBalance|notInitialBalance", "Y");
       String strNotInitialBalance = 
vars.getRequestGlobalVariable("inpNotInitialBalance",
           "ReportTrialBalance|notInitialBalance");
       String strcElementValueFromDes = "", strcElementValueToDes = "";
@@ -120,6 +118,8 @@
           "ReportTrialBalance|C_ElementValue_IDFROM");
       String strcElementValueTo = 
vars.getRequestGlobalVariable("inpcElementValueIdTo",
           "ReportTrialBalance|C_ElementValue_IDTO");
+      String strNotInitialBalance = 
vars.getGlobalVariable("inpNotInitialBalance",
+          "ReportTrialBalance|notInitialBalance", "Y");
       String strcElementValueFromDes = "", strcElementValueToDes = "";
       if (!strcElementValueFrom.equals(""))
         strcElementValueFromDes = 
ReportTrialBalanceData.selectSubaccountDescription(this,

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to