Fix #39559 Invisible Reject check icon in cheque deposit slips (#39562)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Aymeric Cucherousset 2026-08-17 15:34:58 +02:00 committed by GitHub
parent cc9cb8958c
commit 62e0c30d65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -777,7 +777,7 @@ if ($action == 'new') {
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=remove&token='.newToken().'&lineid='.$objp->rowid.'">'.img_delete().'</a>';
}
if ($object->statut == 1 && $objp->statut != 2) {
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=reject_check&token='.newToken().'&lineid='.$objp->rowid.'">'.img_picto($langs->trans("RejectCheck"), 'disable').'</a>';
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=reject_check&token='.newToken().'&lineid='.$objp->rowid.'">'.img_picto($langs->trans("RejectCheck"), 'fa-ban').'</a>';
}
if ($objp->statut == 2) {
print ' &nbsp; '.img_picto($langs->trans('CheckRejected'), 'statut8').'</a>';