commit
0dc5349081
1 changed files with 6 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2012 Christophe Battarel <christophe.battarel@altairis.fr>
|
||||
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2016 Charlie Benke <charlie@patas-monkey.com>
|
||||
* Copyright (C) 2016-2023 Charlene Benke <charlene@patas-monkey.com>
|
||||
* Copyright (C) 2019-2021 Frédéric France <frederic.france@netlogic.fr>
|
||||
* Copyright (C) 2020 Pierre Ardoin <mapiolca@me.com>
|
||||
*
|
||||
|
|
@ -135,6 +135,9 @@ class ProductFournisseur extends Product
|
|||
|
||||
public $packaging;
|
||||
|
||||
public $labelStatusShort;
|
||||
public $labelStatus;
|
||||
|
||||
const STATUS_OPEN = 1;
|
||||
const STATUS_CANCELED = 0;
|
||||
|
||||
|
|
@ -1335,6 +1338,8 @@ class ProductFournisseur extends Product
|
|||
//$langs->load("mymodule@mymodule");
|
||||
$this->labelStatus[self::STATUS_OPEN] = $langs->transnoentitiesnoconv('Enabled');
|
||||
$this->labelStatus[self::STATUS_CANCELED] = $langs->transnoentitiesnoconv('Disabled');
|
||||
$this->labelStatusShort[self::STATUS_OPEN] = $langs->transnoentitiesnoconv('Enabled');
|
||||
$this->labelStatusShort[self::STATUS_CANCELED] = $langs->transnoentitiesnoconv('Disabled');
|
||||
}
|
||||
|
||||
$statusType = 'status4';
|
||||
|
|
|
|||
Loading…
Reference in a new issue