Fix label of tooltip not complete
This commit is contained in:
parent
2fb0cc7414
commit
cd24808bbf
1 changed files with 4 additions and 3 deletions
|
|
@ -3738,6 +3738,7 @@ class Commande extends CommonOrder
|
|||
if (empty($donotshowbilled)) {
|
||||
$billedtext .= ($billed ? ' - '.$langs->transnoentitiesnoconv("Billed") : '');
|
||||
}
|
||||
$billedtextlong = ($billed ? ' - '.$langs->transnoentitiesnoconv("Billed") : '');
|
||||
|
||||
$labelTooltip = '';
|
||||
|
||||
|
|
@ -3750,11 +3751,11 @@ class Commande extends CommonOrder
|
|||
$labelStatusShort = $langs->transnoentitiesnoconv('StatusOrderDraftShort');
|
||||
$statusType = 'status0';
|
||||
} elseif ($status == self::STATUS_VALIDATED) {
|
||||
$labelStatus = $langs->transnoentitiesnoconv('StatusOrderValidated').$billedtext;
|
||||
$labelStatus = $langs->transnoentitiesnoconv('StatusOrderValidated').$billedtextlong;
|
||||
$labelStatusShort = $langs->transnoentitiesnoconv('StatusOrderValidatedShort').$billedtext;
|
||||
$statusType = 'status1';
|
||||
} elseif ($status == self::STATUS_SHIPMENTONPROCESS) {
|
||||
$labelStatus = $langs->transnoentitiesnoconv('StatusOrderSent').$billedtext;
|
||||
$labelStatus = $langs->transnoentitiesnoconv('StatusOrderSent').$billedtextlong;
|
||||
$labelStatusShort = $langs->transnoentitiesnoconv('StatusOrderSentShort').$billedtext;
|
||||
$labelTooltip = $langs->transnoentitiesnoconv("StatusOrderSent");
|
||||
if (!empty($this->delivery_date)) {
|
||||
|
|
@ -3762,7 +3763,7 @@ class Commande extends CommonOrder
|
|||
}
|
||||
$statusType = 'status4';
|
||||
} elseif ($status == self::STATUS_CLOSED) {
|
||||
$labelStatus = $langs->transnoentitiesnoconv('StatusOrderDelivered').$billedtext;
|
||||
$labelStatus = $langs->transnoentitiesnoconv('StatusOrderDelivered').$billedtextlong;
|
||||
$labelStatusShort = $langs->transnoentitiesnoconv('StatusOrderDeliveredShort').$billedtext;
|
||||
$statusType = 'status6';
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue