jsdump removed 3.28.1
authorKilian Saffran <ksaffran@dks.lu>
Thu, 7 Mar 2019 07:18:47 +0000 (08:18 +0100)
committerKilian Saffran <ksaffran@dks.lu>
Thu, 7 Mar 2019 07:18:47 +0000 (08:18 +0100)
app_v3/chrome/content/js/system.js
app_v3/chrome/content/modules/accounting/js/accounting.js

index 17b5e32..207051f 100644 (file)
@@ -1,10 +1,10 @@
 //Source-code licensed under EUPL v1.2 ( Copyright 2019 By DKS s.à r.l. - Kilian Saffran - Luxembourg ) 
 
- function jsdump(str) {
-   Components.classes['@mozilla.org/consoleservice;1']
-             .getService(Components.interfaces.nsIConsoleService)
-             .logStringMessage(str);
- }
+//  function jsdump(str) {
+//    Components.classes['@mozilla.org/consoleservice;1']
+//              .getService(Components.interfaces.nsIConsoleService)
+//              .logStringMessage(str);
+//  }
 
 Components.utils["import"]("resource://gre/modules/FileUtils.jsm");
 Components.utils["import"]("resource://gre/modules/Services.jsm");
index b96bdf0..7114f27 100644 (file)
@@ -190,7 +190,7 @@ function dlg_accounting(myuuid){
   //alert("TEST");
   var acc1sql = "SELECT acc.uuid,acc.accmonth,ch.uuid as childuuid,COALESCE( ch.prename, '' ) || ' ' || COALESCE( ch.surname, '' ) || '(' || ch.checkservicenumber || ')' AS childname,case when acc.invoicedate is not null then strftime('%d.%m.%Y',acc.invoicedate) else null end as invoicedate, case when acc.payeddate is not null then strftime('%d.%m.%Y',acc.payeddate) else null end as payeddate, payedamount, invoiceamount,benefitamount, case when acc.reminderdate1 is not null then strftime('%d.%m.%Y',acc.reminderdate1) else null end as reminderdate1, case when acc.reminderdate2 is not null then strftime('%d.%m.%Y',acc.reminderdate2) else null end as reminderdate2, case when acc.reminderdate3 is not null then strftime('%d.%m.%Y',acc.reminderdate3) else null end as reminderdate3, case when acc.invoicefile is not null and acc.invoicefile != '' then '"+ importpath.path + system.sep() +"' || acc.invoicefile else null end as invoicefile,'upd' as action FROM accounting acc join childs ch on (ch.uuid=acc.childuuid) where acc.uuid = '"+ myuuid+"';";
  
-  jsdump("ACC1SQL" + acc1sql);
+  //jsdump("ACC1SQL" + acc1sql);
   var acc1data = appdb.dbquery(acc1sql);
   
   if (!acc1data.sqldata) {