Merge pull request #14560 from ptibogxiv/patch-349

NEW display resiliate status in takepos for member
This commit is contained in:
Laurent Destailleur 2020-08-31 16:16:39 +02:00 committed by GitHub
commit 54c1be3717
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -817,6 +817,7 @@ $( document ).ready(function() {
if ($result > 0)
{
$adh->ref = $adh->getFullName($langs);
if (empty($adh->statut)) { $s .= "<s>"; }
$s .= $adh->getFullName($langs);
$s .= ' - '.$adh->type;
if ($adh->datefin)
@ -829,6 +830,7 @@ $( document ).ready(function() {
$s .= '<br>'.$langs->trans("SubscriptionNotReceived");
if ($adh->statut > 0) $s .= " ".img_warning($langs->trans("Late")); // displays delay Pictogram only if not a draft and not terminated
}
if (empty($adh->statut)) { $s .= "</s>"; }
} else {
$s .= '<br>'.$langs->trans("ThirdpartyNotLinkedToMember");
}