Update list.php

This commit is contained in:
Frédéric FRANCE 2019-10-12 18:57:08 +02:00 committed by GitHub
parent bcc41c2a33
commit b424fc6e27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -505,8 +505,13 @@ foreach ($accounts as $key=>$type)
if ($result<0) {
setEventMessages($objecttmp->error, $objecttmp->errors, 'errors');
} else {
print $result->nbtodo;
if ($result->nbtodolate) print ' &nbsp; ('.$result->nbtodolate.img_warning($langs->trans("Late")).')';
print '<span class="badge badge-info classfortooltip" title="'.dol_htmlentities($langs->trans("TransactionsToConciliate")).'">'.$result->nbtodo.'</span>';
if ($result->nbtodolate) {
print '&nbsp;';
print '<span title="'.dol_htmlentities($langs->trans("Late")).'" class="classfortooltip badge badge-danger">';
print '<i class="fa fa-exclamation-triangle"></i> '.$result->nbtodolate;
print '</span>';
}
}
}
else print $langs->trans("FeatureDisabled");