From 8cc1b6ac6e1a34783cb54d59c18a18aefc023927 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 7 Jan 2005 14:08:57 +0000 Subject: [PATCH] Ajout onglet prelevement --- htdocs/compta/facture/apercu.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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++;