Repare overwritten changes with the commit 3390
authorCarlos Romero <carlos.romero@openbravo.com>
Wed, 07 May 2008 15:55:39 +0000
changeset 831 1b998f76522e
parent 830 6ec249eac0ec
child 832 2090f49a85a0
Repare overwritten changes with the commit 3390
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html
--- a/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html	Wed May 07 15:26:34 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html	Wed May 07 15:55:39 2008 +0000
@@ -13,7 +13,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SL
- * All portions are Copyright (C) 2001-2006 Openbravo SL
+ * All portions are Copyright (C) 2001-2008 Openbravo SL
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -21,7 +21,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<TITLE>Generate Invoices manual</TITLE>
+<TITLE>Balance Sheet</TITLE>
     <link rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
     <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Main_Manual.css" id="paramCSS" />
     <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Client/DataGrid/DataGrid.css" id="paramCSS" />
@@ -112,7 +112,25 @@
   return true;
 }
 
+
+function refreshAccounts() {
+  var cmbAccountSchema = document.frmMain.inpcAcctSchemaId;  
+  var cmbAccountFrom = document.frmMain.inpAccountFrom;  
+  var cmbAccountTo = document.frmMain.inpAccountTo;  
+  cambiarListaCombo(cmbAccountFrom, arrAccountFrom, cmbAccountSchema.options[cmbAccountSchema.selectedIndex].value, false);
+  cambiarListaCombo(cmbAccountTo, arrAccountTo, cmbAccountSchema.options[cmbAccountSchema.selectedIndex].value, false);  
+  return true;
+}
 </SCRIPT>
+
+<script language="JavaScript" type="text/javascript" id="paramArrayAccountFrom">
+var arrAccountFrom=null;
+</script>
+
+<script language="JavaScript" type="text/javascript" id="paramArrayAccountTo">
+var arrAccountTo=null;
+</script>
+
 	<SCRIPT language="JavaScript" type="text/javascript">
 	function onLoadDo(){
 		this.windowTables = new Array(
@@ -320,7 +338,7 @@
             </TR>
             <TR>
               <TD class="TitleCell"> <SPAN class="LabelText">Accounting schema</SPAN></TD>
-              <TD class="Combo_ContentCell" colspan="2"> <SELECT name="inpcAcctSchemaId" id="inpcAcctSchemaId" class="ComboKey Combo_TwoCells_width" required="true" onchange="submitCommandForm('DEFAULT',true);">
+              <TD class="Combo_ContentCell" colspan="2"> <SELECT name="inpcAcctSchemaId" id="inpcAcctSchemaId" class="ComboKey Combo_TwoCells_width" required="true" onchange="refreshAccounts();">
                   <OPTION value=""> <DIV id="reportC_ACCTSCHEMA_ID"></DIV></OPTION>
                 </SELECT>
               </TD>