Merge pull request #32314 from ATM-Consulting/NEW/130/core/constants-for-discounts

Add class constants for types of discounts
This commit is contained in:
Laurent Destailleur 2024-12-10 18:49:45 +01:00 committed by GitHub
commit 612b943cfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -181,6 +181,12 @@ class DiscountAbsolute extends CommonObject
*/
public $type_invoice_supplier_source;
/* Customer Discount */
const TYPE_CUSTOMER = 0;
/* Supplier Discount */
const TYPE_SUPPLIER = 1;
/**
* Constructor
*