diff --git a/html/admin_repo.php b/html/admin_repo.php
index aaf46cdf8..9797caf39 100644
--- a/html/admin_repo.php
+++ b/html/admin_repo.php
@@ -93,3 +93,4 @@ if ( isset ($_REQUEST["action"]) )
html_page_stop();
?>
+>
\ No newline at end of file
diff --git a/html/commercial.php b/html/commercial.php
index 367adb40b..ca76b22f9 100644
--- a/html/commercial.php
+++ b/html/commercial.php
@@ -137,9 +137,6 @@ echo '';
$cn=new Database($gDossier);
-echo JS_LEDGER;
-echo JS_AJAX_FICHE;
-
//-----------------------------------------------------
// p_action == pref
//-----------------------------------------------------
diff --git a/html/extension.php b/html/extension.php
index d6b78fc9f..958be1eab 100644
--- a/html/extension.php
+++ b/html/extension.php
@@ -44,7 +44,6 @@ $only_plugin=$user->check_dossier(dossier::id());
/* javascript file */
echo load_all_script();
-echo JS_INFOBULLE;
/* show button to return to access */
echo "
';
diff --git a/include/class_acc_payment.php b/include/class_acc_payment.php
index 29634f819..bf34ecb23 100644
--- a/include/class_acc_payment.php
+++ b/include/class_acc_payment.php
@@ -414,7 +414,7 @@ class Acc_Payment
*/
static function test_me()
{
- echo JS_LEDGER;
+
$cn=new Database(dossier::id());
$ac=new Acc_Payment($cn);
$ac->set_parameter('type','ACH');
diff --git a/include/class_acc_reconciliation.php b/include/class_acc_reconciliation.php
index 5d60f76b3..01fa9035b 100644
--- a/include/class_acc_reconciliation.php
+++ b/include/class_acc_reconciliation.php
@@ -37,7 +37,7 @@ class Acc_Reconciliation
{
var $db; /*!< database connection */
var $jr_id; /*!< jr_id */
- public static $javascript=JS_LEDGER;
+
function __construct($cn)
{
$this->db=$cn;
@@ -300,12 +300,7 @@ class Acc_Reconciliation
}
return $ret;
}
- /*!\brief return the javascript function (static method)
- *
- static function javascript() {
- return JS_LEDGER;
- }
- */
+
static function test_me()
{
$cn=new Database(dossier::id());
diff --git a/include/class_anc_operation.php b/include/class_anc_operation.php
index 9c3a4f6b8..d24baf1f8 100644
--- a/include/class_anc_operation.php
+++ b/include/class_anc_operation.php
@@ -183,7 +183,7 @@ class Anc_Operation
$gDossier=dossier::id();
$ret="";
$ret.=$bar;
- $ret.=JS_LEDGER;
+
$count=0;
$group=0;
$oldgroup=0;
diff --git a/include/class_contact.php b/include/class_contact.php
index 2593d5041..6209ca0f5 100644
--- a/include/class_contact.php
+++ b/include/class_contact.php
@@ -106,7 +106,7 @@ class contact extends Fiche
$back_url=urlencode($_SERVER['REQUEST_URI']);
if ( sizeof ($step_contact ) == 0 )
return $r;
- echo JS_LEDGER;
+
foreach ($step_contact as $contact )
{
$l_company=new Fiche($this->cn);
diff --git a/include/contact.inc.php b/include/contact.inc.php
index 6d09d75dc..ae31ecc1f 100644
--- a/include/contact.inc.php
+++ b/include/contact.inc.php
@@ -133,7 +133,7 @@ if ( $sub_action == "list" )
name='qcode';
$w->value=$qcode;
diff --git a/include/detail_adm.inc.php b/include/detail_adm.inc.php
index cb48b15c8..5e5adc1dd 100644
--- a/include/detail_adm.inc.php
+++ b/include/detail_adm.inc.php
@@ -50,7 +50,7 @@ echo '
';
if ( isset($_POST['mod'])) echo hb('Information sauvée');
$adm=new Fiche($cn,$f_id);
-echo JS_INFOBULLE;
+
echo '