* new: add duration extrafields
* style: fix style
* ci: fix precommit config
* style: run cs fixer
* ci: adapt type to fit with php-stan
* ci: adapt type to fit with php-stan
* ci: adapt type to fit with php-stan
---------
Co-authored-by: Benoît PASCAL <contact@p-ben.com>
* New functionality for generate image for product
* New functionality for generate image for product
* Fix errors CTI
* remove null for second params
* fix CTI errors again
* Fix whitespace
* Fix whitespaces again
* Fix run phan
* Update commonobject.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* 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>
# Qual: Fix phpstan notices (int expected)
Fix several notices where int was expected (casting/phpdoc/GETPOSTINT).
Separate phpstan exceptions for methods containing 'pdf' from
other methods/functions.
* 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>