From 53b95f75ff8e4b6e6f9183401218620f2004b7f3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 14 Jun 2010 20:16:56 +0000 Subject: [PATCH] Show withdraw tab when module is enabled --- htdocs/lib/invoice.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/lib/invoice.lib.php b/htdocs/lib/invoice.lib.php index 04556933e2c..d2ed90a3883 100644 --- a/htdocs/lib/invoice.lib.php +++ b/htdocs/lib/invoice.lib.php @@ -50,7 +50,8 @@ function facture_prepare_head($fac) $h++; } - if ($fac->mode_reglement_code == 'PRE') + //if ($fac->mode_reglement_code == 'PRE') + if ($conf->prelevement->enabled) { $head[$h][0] = DOL_URL_ROOT.'/compta/facture/prelevement.php?facid='.$fac->id; $head[$h][1] = $langs->trans('StandingOrders');