Show withdraw tab when module is enabled
This commit is contained in:
parent
a4d771aa1c
commit
53b95f75ff
@ -50,7 +50,8 @@ function facture_prepare_head($fac)
|
|||||||
$h++;
|
$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][0] = DOL_URL_ROOT.'/compta/facture/prelevement.php?facid='.$fac->id;
|
||||||
$head[$h][1] = $langs->trans('StandingOrders');
|
$head[$h][1] = $langs->trans('StandingOrders');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user