2
0
forked from Wavyzz/dolibarr

Add TRIGGER_PREFIX in order (commande) class (#35268)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Frédéric FRANCE
2025-09-10 10:53:54 +02:00
committed by GitHub
parent e1f9eee9a5
commit ddbae0f6ad

View File

@@ -57,6 +57,12 @@ class Commande extends CommonOrder
*/
public $element = 'commande';
/**
* @var string Prefix to check for any trigger code of any business class to prevent bad value for trigger code.
* @see CommonTrigger::call_trigger()
*/
public $TRIGGER_PREFIX = 'ORDER';
/**
* @var string Name of table without prefix where object is stored
*/