mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-14 08:54:21 +01:00
Merge pull request #19186 from ptibogxiv/patch-448
Fix excluded member display in takepos
This commit is contained in:
@@ -1159,7 +1159,7 @@ $( document ).ready(function() {
|
||||
$result = $adh->fetch('', '', $invoice->socid);
|
||||
if ($result > 0) {
|
||||
$adh->ref = $adh->getFullName($langs);
|
||||
if (empty($adh->statut)) {
|
||||
if (empty($adh->statut) || $adh->statut == Adherent::STATUS_EXCLUDED ) {
|
||||
$s .= "<s>";
|
||||
}
|
||||
$s .= $adh->getFullName($langs);
|
||||
@@ -1175,7 +1175,7 @@ $( document ).ready(function() {
|
||||
$s .= " ".img_warning($langs->trans("Late")); // displays delay Pictogram only if not a draft and not terminated
|
||||
}
|
||||
}
|
||||
if (empty($adh->statut)) {
|
||||
if (empty($adh->statut) || $adh->statut == Adherent::STATUS_EXCLUDED) {
|
||||
$s .= "</s>";
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user