diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index d4274d90444..ac076a37993 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -818,7 +818,10 @@ $( document ).ready(function() { $adh->ref = $adh->getFullName($langs); $s .= $adh->getFullName($langs); $s .= ' - '.$adh->type; - if ($adh->datefin) + if (empty($adh->statut)) { + $s .= '
'.$langs->trans("MemberStatusResiliated"); + } + else if ($adh->datefin) { $s .= '
'.$langs->trans("SubscriptionEndDate").': '.dol_print_date($adh->datefin, 'day'); if ($adh->hasDelay()) {