Look and feel v14

This commit is contained in:
Laurent Destailleur 2021-03-23 03:20:23 +01:00
parent 0d11b5f81b
commit e06b8bb586
2 changed files with 5 additions and 1 deletions

View File

@ -1896,7 +1896,8 @@ if ($id > 0) {
if (!empty($conf->global->AGENDA_USE_EVENT_TYPE)) {
print '<tr><td class="titlefield">'.$langs->trans("Type").'</td><td>';
print $object->getTypePicto();
print $langs->trans($object->type).'</td></tr>';
print $langs->trans("Action".$object->type_code);
print '</td></tr>';
}
// Full day event

View File

@ -819,6 +819,9 @@ class RecruitmentCandidature extends CommonObject
if ($status == self::STATUS_CANCELED) {
$statusType = 'status6';
}
if ($status == self::STATUS_REFUSED) {
$statusType = 'status10';
}
return dolGetStatus($this->labelStatus[$status], $this->labelStatusShort[$status], '', $statusType, $mode);
}