diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 566c1c46b8f..2fc580b31fb 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1048,11 +1048,16 @@ else print '-'; } } - elseif ($fac->statut == 1 && $fac->paye == 0) + elseif ($fac->statut == 1 && ($fac->paye == 0 || $user->admin)) { if ($user->rights->facture->creer) { - print "id&action=pdf\">Générer la facture"; + if ($fac->paye == 0) { + print "id&action=pdf\">Générer la facture"; + } + else { + print "id&action=pdf\">Regénérer la facture"; + } } else {