From 0f9cfaa3a5de8f4bb52401096fd6b99fb9f7bb3a Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 21 May 2013 18:14:36 +0000 Subject: [PATCH] remove debug info --- html/js/scripts.js | 1 - include/class_pre_op_ach.php | 7 ++++--- include/constant.php | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/html/js/scripts.js b/html/js/scripts.js index b2b65c8e8..cc1bc21b0 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -1747,7 +1747,6 @@ function filter_table(phrase, _id, colnr,start_row) { for (var col =0;col < aCol.length;col++) { var idx=aCol[col]; - console.log(r); if (table.rows[r].cells[idx]) { ele = table.rows[r].cells[idx].innerHTML.replace(/<[^>]+>/g, ""); diff --git a/include/class_pre_op_ach.php b/include/class_pre_op_ach.php index 229a26ad9..944085712 100644 --- a/include/class_pre_op_ach.php +++ b/include/class_pre_op_ach.php @@ -24,7 +24,7 @@ * \brief definition of the class pre_op_ach */ require_once ('class_pre_operation.php'); -//require_once 'class_acc_ledger_purchase.php'; + /*---------------------------------------------------------------------- */ /*!\brief concerns the predefined operation for ACH ledger */ @@ -54,7 +54,7 @@ class Pre_op_ach extends Pre_operation_detail } } - + /*! * \brief save the detail and op in the database * @@ -146,7 +146,7 @@ class Pre_op_ach extends Pre_operation_detail } function display($p_array) { - require_once 'class_acc_ledger_purchase.php'; + require_once('class_acc_ledger_purchase.php'); global $g_parameter,$g_user; extract($p_array); $ledger=new Acc_Ledger_Purchase($this->db,$this->jrn_def_id); @@ -180,6 +180,7 @@ class Pre_op_ach extends Pre_operation_detail $r.=dossier::hidden(); $f_legend=_("En-tête facture fournisseur"); $f_legend_detail=_("Détail articles acheté"); + // Ledger (p_jrn) //-- /* if we suggest the next pj, then we need a javascript */ diff --git a/include/constant.php b/include/constant.php index a7ba52f9e..a3f5f5f63 100644 --- a/include/constant.php +++ b/include/constant.php @@ -1,5 +1,4 @@ ✖"; $g_succeed=""; /*set to none for production */ /* uncomment for production */ -define ('SVNINFO',5900); +// define ('SVNINFO',5900); $version_phpcompta=SVNINFO; -define ("DEBUG",true); +define ("DEBUG",false); /* define ('SVNINFO',5015); * $version_phpcompta=SVNINFO; * define ("DEBUG",true);