Add constant for the moment

This commit is contained in:
Laurent Destailleur 2024-09-18 15:55:20 +02:00
parent 26b7c59fc6
commit a0fe8e4884
2 changed files with 4 additions and 2 deletions

View file

@ -2021,7 +2021,9 @@ class Contrat extends CommonObject
$text .= ($mode == 7 ? '</span><span class="nowraponall">' : '');
$text .= ($mode != 7 || $this->nbofservicesclosed > 0) ? ($this->nbofservicesclosed.ContratLigne::LibStatut(5, 3, -1, 'class="marginleft2"')) : '';
$text .= ($mode == 7 ? '</span>' : '');
$text .= $this->signed_status != '' ? ' '.$this->getLibSignedStatus(5) : '';
if (getDolGlobalString('CONTRACT_SHOW_SIGNATURE_STATUS_WITH_SERVICE_STATUS')) {
$text .= is_null($this->signed_status) ? '' : ' '.$this->getLibSignedStatus(5);
}
return $text;
} else {
return dolGetStatus($this->labelStatus[$status], $this->labelStatusShort[$status], '', $statusType, $mode);

View file

@ -876,7 +876,7 @@ class Fichinter extends CommonObject
*/
public function getTooltipContentArray($params)
{
global $conf, $langs;
global $langs;
$langs->load('interventions');