* Fix ajax selectobject with commonobjectline objects
* Clean code : put in another branch
* Parent element defined for CommonObjectLines
* Clean code
* Clean code
* Parent element defined for CommonObjectLines
* Parent element defined for CommonObjectLines
* Clean code
* getElementProperties for commonObjectLines
* Remove changes to split into multiple PRs
* fix mistake in previous commit
* fix mistakes (thanks pre-commit)
* fix mistakes (thanks again pre-commit)
* Update html.form.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* NEW: default configuration for event reminder
Set default reminder period + default email template for specific event types in agenda configuration.
Auto fill the notification event form on event creation when event type is in the event types set to use default reminder
* fix for ci
* fix offset value
---------
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* NEW Hide completed items in Link to
Hide completed items in Link to to avoid endless lists of elements
* Update html.form.class.php
* Update html.form.class.php
* Fix: Number of decimals for stock values ignores configuration
In the select filed for adding a new line for a proposal/invoice/... product as a line, the stock level is always printed with exactly two decimals.
The number of decimals should be controlled by the existing global variable MAIN_MAX_DECIMALS_STOCK, but it is not taken into account:
Building the stock level with the function price from the function price2num, which uses the configured number of decimals always lead to exactly two decimals.
* Fixed patch according to suggestion.
# Qual: Fix phan/stan notices in relation with UnknownObjectMethodCall
Fix notices in classes with UnknownObjectMethodCall notices or classes
related with these.
# Qual: Fix phan notices
Fix phan notices in several classes that have UnknownObjectMethod calls and classes
that had notices in relation with these classes
* Qual: Fix notifications multiple files
# Qual: Fix notifications multiple files
Fixes to files with UnknownObject notices, fixing other
notices in these files as well
* Improve boxes typing
* Qual: Extend accepted types to reduce notices
* Fix type for GET/POST arguments of GETPOST* calls
* NEW: customer price and level price together
* NEW: translation
* FIX: If a price per customer exist
* FIX: do not use default price if the customer price and level price option is active
* Don't display the price level amount if the customer price is known
* FIX: double check and php cs correction
* FIX: vatrate call
* FIX: get_htmloutput_msg call
---------
Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>