Update asset.class.php
This commit is contained in:
parent
ae4020c9fe
commit
af6629a427
@ -395,8 +395,10 @@ class Asset extends CommonObject
|
|||||||
global $langs;
|
global $langs;
|
||||||
|
|
||||||
$langs->load("contracts");
|
$langs->load("contracts");
|
||||||
|
$labelStatus = array();
|
||||||
$labelStatus[self::STATUS_DRAFT] = $langs->trans('Disabled');
|
$labelStatus[self::STATUS_DRAFT] = $langs->trans('Disabled');
|
||||||
$labelStatus[self::STATUS_VALIDATED] = $langs->trans('Enabled');
|
$labelStatus[self::STATUS_VALIDATED] = $langs->trans('Enabled');
|
||||||
|
$labelStatusShort = array();
|
||||||
$labelStatusShort[self::STATUS_DRAFT] = $langs->trans('Disabled');
|
$labelStatusShort[self::STATUS_DRAFT] = $langs->trans('Disabled');
|
||||||
$labelStatusShort[self::STATUS_VALIDATED] = $langs->trans('Enabled');
|
$labelStatusShort[self::STATUS_VALIDATED] = $langs->trans('Enabled');
|
||||||
|
|
||||||
@ -407,7 +409,7 @@ class Asset extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Charge les informations d'ordre info dans l'objet commande
|
* Load info into asset object
|
||||||
*
|
*
|
||||||
* @param int $id Id of order
|
* @param int $id Id of order
|
||||||
* @return void
|
* @return void
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user