Update asset.class.php

This commit is contained in:
Frédéric FRANCE 2020-10-24 14:11:28 +02:00 committed by GitHub
parent ae4020c9fe
commit af6629a427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -395,8 +395,10 @@ class Asset extends CommonObject
global $langs;
$langs->load("contracts");
$labelStatus = array();
$labelStatus[self::STATUS_DRAFT] = $langs->trans('Disabled');
$labelStatus[self::STATUS_VALIDATED] = $langs->trans('Enabled');
$labelStatusShort = array();
$labelStatusShort[self::STATUS_DRAFT] = $langs->trans('Disabled');
$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
* @return void