NEW display resiliate status in takepos for member

This commit is contained in:
ptibogxiv 2020-08-26 11:44:35 +02:00 committed by GitHub
parent 23bb67873f
commit 66cdb1dad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 .= '<br>'.$langs->trans("MemberStatusResiliated");
}
else if ($adh->datefin)
{
$s .= '<br>'.$langs->trans("SubscriptionEndDate").': '.dol_print_date($adh->datefin, 'day');
if ($adh->hasDelay()) {