From f5b3c23fe87859e704164f983a128e94c44d416c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 14 Feb 2004 01:49:20 +0000 Subject: [PATCH] =?UTF-8?q?Gestion=20du=20param=E8tre=20$conf->compta->mod?= =?UTF-8?q?e=20qui=20vaut=20'DEPENSES-RECETTES'=20par=20d=E9faut,=20sinon?= =?UTF-8?q?=20'CREANCES-DETTES'.=20Il=20d=E9termine=20le=20mode=20de=20cal?= =?UTF-8?q?cul=20du=20CA.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/main.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 0e244f22e28..798ec466964 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -235,6 +235,11 @@ else { define("MAIN_MONNAIE",'euros'); // TODO Virer cette ligne et remplacer dans le code le MAIN_MONNAIE par $conf->monnaie } +/* + * Defini le mode de calcul du CA + */ +$conf->compta->mode = 'RECETTES-DEPENSES'; // Mettre 'CREANCES-DETTES' pour un CA en creances-dettes + /* * SIZE_LISTE_LIMIT : constante de taille maximale des listes */