diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 7819c28edb9..0ec346c01d0 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -818,7 +818,7 @@ $( document ).ready(function() { $adh->ref = $adh->getFullName($langs); $s .= $adh->getFullName($langs); $s .= ' - '.$adh->type; - if (empty($adh->statut)) { + if (empty($adh->statut) && $adh->datefin) { $s .= '
'.$langs->trans("MemberStatusResiliated"); } elseif ($adh->datefin)