L'onglet budget tresorerie mis en experimental

This commit is contained in:
Laurent Destailleur 2007-10-03 20:26:58 +00:00
parent 6e332864e4
commit f71b157dd0

View File

@ -1,5 +1,5 @@
<?php <?php
/* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net> /* Copyright (C) 2006-2007 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -63,11 +63,14 @@ function bank_prepare_head($obj)
$head[$h][2] = 'graph'; $head[$h][2] = 'graph';
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT."/compta/bank/treso.php?account=".$obj->id; if ($conf->global->MAIN_FEATURES_LEVEL >= 1)
$head[$h][1] = $langs->trans("CashBudget"); {
$head[$h][2] = 'cash'; $head[$h][0] = DOL_URL_ROOT."/compta/bank/treso.php?account=".$obj->id;
$h++; $head[$h][1] = $langs->trans("CashBudget");
$head[$h][2] = 'cash';
$h++;
}
if ($obj->courant != 2) if ($obj->courant != 2)
{ {
$head[$h][0] = DOL_URL_ROOT."/compta/bank/releve.php?account=".$obj->id; $head[$h][0] = DOL_URL_ROOT."/compta/bank/releve.php?account=".$obj->id;