diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 0ec346c01d0..1bc43e604e4 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -821,7 +821,7 @@ $( document ).ready(function() { if (empty($adh->statut) && $adh->datefin) { $s .= '
'.$langs->trans("MemberStatusResiliated"); } - elseif ($adh->datefin) + else if ($adh->datefin) { $s .= '
'.$langs->trans("SubscriptionEndDate").': '.dol_print_date($adh->datefin, 'day'); if ($adh->hasDelay()) {