* change select to button on/off
* fix error and update view to show social network enabled
* remove var_dump'
* add function getSocialNetworks
* fix errors params in function
* fix errors travis
* fix errors
* update type of params
* fix type of params in function getSocialNetwork
* remove ve_dump
* remove function getSocialNetwork
* 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>
* 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>
The language key for the foreign currency does not exist alone but always with the amount. In order to solve this, I propose the following code with a new key: __MULTICURRENCY_CODE__
* Qual: Fix ticket.class notices
* Do not analyze custom
* Fix: Correct reference to cache (+phpdoc)
* Update baseline, ignore everything in custom
* Qual: Fix notices in files related to ticket class
* 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.
* Fix: complete fix for #31117
Use getSommePaiement(), getSumCreditNotesUsed() and getSumDepositsUsed() to get already paid amount of invoice
to display correct invoice status
* fix for PHPStan
---------
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>