From 01f2d7669e8dc669e6e7dc8cca0b5f76f239cbd7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 9 Jan 2005 20:34:35 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Le=20bouton=20emettre=20paiement=20ne=20?= =?UTF-8?q?doit=20pas=20apparaitre=20sur=20une=20facture=20clotur=E9e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 43593353622..fa53df14ab8 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1177,7 +1177,7 @@ else } // Emettre paiement - if ($fac->statut == 1 && $user->rights->facture->paiement) + if ($fac->statut == 1 && $fac->paye == 0 && $user->rights->facture->paiement) { print " id."&action=create\">".$langs->trans("DoPaiement")."\n"; }