FIX wrong accented characters with DolGraph
This commit is contained in:
parent
726190b5d0
commit
b612815aed
@ -2770,20 +2770,20 @@ class ContratLigne extends CommonObjectLine
|
|||||||
$langs->load("contracts");
|
$langs->load("contracts");
|
||||||
|
|
||||||
if ($status == self::STATUS_INITIAL) {
|
if ($status == self::STATUS_INITIAL) {
|
||||||
$labelStatus = $langs->trans("ServiceStatusInitial");
|
$labelStatus = $langs->transnoentities("ServiceStatusInitial");
|
||||||
$labelStatusShort = $langs->trans("ServiceStatusInitial");
|
$labelStatusShort = $langs->transnoentities("ServiceStatusInitial");
|
||||||
} elseif ($status == self::STATUS_OPEN && $expired == -1) {
|
} elseif ($status == self::STATUS_OPEN && $expired == -1) {
|
||||||
$labelStatus = $langs->trans("ServiceStatusRunning");
|
$labelStatus = $langs->transnoentities("ServiceStatusRunning");
|
||||||
$labelStatusShort = $langs->trans("ServiceStatusRunning");
|
$labelStatusShort = $langs->transnoentities("ServiceStatusRunning");
|
||||||
} elseif ($status == self::STATUS_OPEN && $expired == 0) {
|
} elseif ($status == self::STATUS_OPEN && $expired == 0) {
|
||||||
$labelStatus = $langs->trans("ServiceStatusNotLate");
|
$labelStatus = $langs->transnoentities("ServiceStatusNotLate");
|
||||||
$labelStatusShort = $langs->trans("ServiceStatusNotLateShort");
|
$labelStatusShort = $langs->transnoentities("ServiceStatusNotLateShort");
|
||||||
} elseif ($status == self::STATUS_OPEN && $expired == 1) {
|
} elseif ($status == self::STATUS_OPEN && $expired == 1) {
|
||||||
$labelStatus = $langs->trans("ServiceStatusLate");
|
$labelStatus = $langs->transnoentities("ServiceStatusLate");
|
||||||
$labelStatusShort = $langs->trans("ServiceStatusLateShort");
|
$labelStatusShort = $langs->transnoentities("ServiceStatusLateShort");
|
||||||
} elseif ($status == self::STATUS_CLOSED) {
|
} elseif ($status == self::STATUS_CLOSED) {
|
||||||
$labelStatus = $langs->trans("ServiceStatusClosed");
|
$labelStatus = $langs->transnoentities("ServiceStatusClosed");
|
||||||
$labelStatusShort = $langs->trans("ServiceStatusClosed");
|
$labelStatusShort = $langs->transnoentities("ServiceStatusClosed");
|
||||||
}
|
}
|
||||||
|
|
||||||
$statusType = 'status'.$status;
|
$statusType = 'status'.$status;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user