From 66cdb1dad0ebe7b2d16b2da6589d46811d9d5e9a Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Wed, 26 Aug 2020 11:44:35 +0200 Subject: [PATCH] NEW display resiliate status in takepos for member --- htdocs/takepos/invoice.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()) {