|
@@ -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');
|