* ADD: Management of extrafields on customer prices, level prices and default prices
* ADD: sql table for managing extrafields on customer prices, level prices and default prices
* FIX: Add actions to update, add, delete extrafields and display extrafield
* FIX: colspan for customer price table
* ADD: Management of extrafields on customer prices
* FIX: Value and search for price label
* ADD: name in the files
* FIX: *
* FIX: PHP-cs fail
* FIX: comment in english, please
* FIX: variable naming and testing
* FIX: GETPOST array
* FIX: return is an array of strings, object array will be modified as well
* FIX: return array keys for Extrafields::fetch_name_optionals_label are string too
* FIX: do not mess with extrafields code and value
* Update llx_product_customer_price_extrafields.sql
* Update llx_product_price_extrafields.sql
* FIX: whooopsie
* FIX: PHP warnings
---------
Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
When we send an email with empty text content but with attached file, the file was not sent.
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
* 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>
* Qual: Fix several phan & stan notices
# Qual: Fix several phan & stan notices
Several fixes in files while fixing UnknownClass notices
* Qual: Update prepare_head PHPDoc return types
# Qual: Update prepare_head PHPDoc return types
Provide detailed array return types for prepare_head functions.
* Fix new phan notice
* Better loadLangs typing and fix call to loadLangs
* Fix new issues (stats)
* Other fixes of new issues
* Qual: update phan baseline
* 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
* Qual: Fix dolIsTms() call with empty string
# Qual: Fix dolIsTms() call with empty string
The dolibarr log indicated that dolIsTms() was called with the
empty string:
- Add code to log the caller in the log;
- Fix the dolIsTms() calls by updating project/element.php
* Fix comparison of ''<0
# Fix comparison of ''<0
As ''<0 is true, non-existing errors were added resulting in
Try to add a message in stack, but value to add is empty message
in the log.
# Qual: Fix ci (phpstan notice)
While fixing the ci notice, also fixed the array definitions
which fixes both phan notices and phpstan notices seen on cti.
Removed the exception for phan on this file
* 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.