mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-20 08:21:29 +01:00
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:
@@ -181,6 +181,12 @@ class DiscountAbsolute extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $type_invoice_supplier_source;
|
public $type_invoice_supplier_source;
|
||||||
|
|
||||||
|
/* Customer Discount */
|
||||||
|
const TYPE_CUSTOMER = 0;
|
||||||
|
|
||||||
|
/* Supplier Discount */
|
||||||
|
const TYPE_SUPPLIER = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user