fixes 0007843: Print record and email option icons are visible in Trial Balance Report page
authorGorka Mauleon <gorka.mauleon@openbravo.com>
Tue, 03 Mar 2009 10:13:01 +0100
changeset 3331 969fe2e5a25a
parent 3330 702342e826ed
child 3332 1500d679e578
fixes 0007843: Print record and email option icons are visible in Trial Balance Report page
src/org/openbravo/erpCommon/utility/ToolBar.java
--- a/src/org/openbravo/erpCommon/utility/ToolBar.java	Tue Mar 03 10:04:21 2009 +0100
+++ b/src/org/openbravo/erpCommon/utility/ToolBar.java	Tue Mar 03 10:13:01 2009 +0100
@@ -258,9 +258,9 @@
         "ExportCsv", language), getButtonScript("GRIDCSV")));
     buttons.put("GRIDPDF", new ToolBar_Button(base_direction, "ExportPDF", Utility.messageBD(conn,
         "ExportPDF", language), getButtonScript("GRIDPDF")));
+    buttons.put("PRINT", new ToolBar_Button(base_direction, "Print", Utility.messageBD(conn,
+        "Print", language), getButtonScript("PRINT")));
     if (pdf != null && !pdf.equals("") && !pdf.equals("..")) {
-      buttons.put("PRINT", new ToolBar_Button(base_direction, "Print", Utility.messageBD(conn,
-          "Print", language), getButtonScript("PRINT")));
       buttons.put("EMAIL", new ToolBar_Button(base_direction, "Email", Utility.messageBD(conn,
           "Email", language), getButtonScript("EMAIL")));
     }