details:   /erp/devel/pi/rev/4e251a8ddac6
changeset: 8760:4e251a8ddac6
user:      Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
date:      Wed Oct 27 17:22:50 2010 +0530
summary:   Fixes Issue 14889: Organization filter does not work properly in 
general ledger report

diffstat:

 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 741372ebe339 -r 4e251a8ddac6 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html   Wed Oct 
27 13:07:25 2010 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html   Wed Oct 
27 17:22:50 2010 +0530
@@ -74,7 +74,11 @@
     setWindowElementFocus(frm.inpDateTo);
     showJSMessage(7);
     return false;
-  } else if (frm.inpcAcctSchemaId.value == null || frm.inpcAcctSchemaId.value 
== ""){
+  }else if (inputValue(frm.inpOrg)==null || inputValue(frm.inpOrg)=="") {
+      setWindowElementFocus(frm.inpOrg);
+      showJSMessage(7);
+      return false;
+    } else if (frm.inpcAcctSchemaId.value == null || 
frm.inpcAcctSchemaId.value == ""){
     setWindowElementFocus(frm.inpcAcctSchemaId);
     showJSMessage(7);
     return false;
@@ -350,7 +354,7 @@
             </tr>
             <tr>
               <td class="TitleCell"><span 
class="LabelText">Organization</span></td>
-              <td class="Combo_ContentCell" colspan="2"> <select name="inpOrg" 
id="inpOrg" class="Combo Combo_TwoCells_width">
+              <td class="Combo_ContentCell" colspan="2"> <select name="inpOrg" 
id="inpOrg" class="ComboKey Combo_TwoCells_width">
                   <option value=""> <div id="reportAD_ORGID"></div></option>
                 </select>
               </td>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to