diff --git a/htdocs/compta/facture/apercu.php b/htdocs/compta/facture/apercu.php index 67f8532e115..e66455ec074 100644 --- a/htdocs/compta/facture/apercu.php +++ b/htdocs/compta/facture/apercu.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2002-2005 Rodolphe Quiedeville * Copyright (C) 2004 Éric Seigne * Copyright (C) 2004 Laurent Destailleur * @@ -77,6 +77,14 @@ if ($_GET["facid"] > 0) $head[$h][1] = $langs->trans("Apercu"); $hselected = $h; $h++; + + if ($fac->mode_reglement == 3) + { + $head[$h][0] = DOL_URL_ROOT.'/compta/facture/prelevement.php?facid='.$fac->id; + $head[$h][1] = $langs->trans("Prélèvement"); + $h++; + } + $head[$h][0] = DOL_URL_ROOT.'/compta/facture/note.php?facid='.$fac->id; $head[$h][1] = $langs->trans("Note"); $h++;