Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add class constants for types of discounts #32314

Merged

Conversation

atm-florianm
Copy link
Contributor

NEW class constants

This simply adds two constants, DiscountAbsolute::TYPE_CUSTOMER and DiscountAbsolute::TYPE_SUPPLIER.

This PR doesn't include the replacement of the int literals with the constants.

@eldy eldy merged commit 612b943 into Dolibarr:develop Dec 10, 2024
4 of 6 checks passed
@atm-florianm atm-florianm deleted the NEW/130/core/constants-for-discounts branch December 12, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants