* Qual: Fix phpstan - type casting in treasuryjournal.php
Added explicit type casting to float calculations.
* Qual: Fix phpstan by testing possibly undefined $def_tva in VAT label generation
* Qual: Add null initialization for static analysis
Initialize $save_link_by_element and $save_element_by_link with null values to satisfy static analysis requirements (phpstan) and avoid possibly undefined notices.
* Qual:(accountingjournal): Ignore line for phpstan
phpstan can not see that $pre_data_info['error'] might be set.
* Qual: Removed redundant tests
Removed some redundant tests (detected by phpstan)
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Correction for the generation of the bankjournal for a paiement for different third parties party (in case of paiement multi third partie is active :
option "Allow payments on different third parties bills but same parent company" = true)
I've made a bug issu about it : https://github.com/Dolibarr/dolibarr/issues/34755
* Revert "Correction for the generation of the bankjournal for a paiement for different third parties party (in case of paiement multi third partie is active :"
This reverts commit 80e67e665a.
* Correction for the generation of the bankjournal for a payment for different third parties party (in case of payment multi third partie is active, ie option "Allow payments on different third parties bills but same parent company" = true).
correction for the bug issue https://github.com/Dolibarr/dolibarr/issues/34755
* Revert "Correction for the generation of the bankjournal for a payment for different third parties party (in case of payment multi third partie is active, ie option "Allow payments on different third parties bills but same parent company" = true)."
This reverts commit 12ccfa60fa.
* Correction for the generation of the bankjournal for a paiement for different third parties party (in case of paiement multi third partie is active :
option "Allow payments on different third parties bills but same parent company" = true)
I've made a bug issu about it : https://github.com/Dolibarr/dolibarr/issues/34755
(Sorry for the 2 failed pull request: I'm begginer in use of git)
* Revert "Correction for the generation of the bankjournal for a paiement for different third parties party (in case of paiement multi third partie is active :"
This reverts commit 6fb35a6d2e.
* Correction for the generation of the bankjournal for a paiement for different third parties party (in case of paiement multi third partie is active :
option "Allow payments on different third parties bills but same parent company" = true)
I've made a bug issu about it : https://github.com/Dolibarr/dolibarr/issues/34755
(Sorry for the 2 failed pull request: I'm begginer in use of git)
* correction commit for phan
* Correction for Travis CI
* I forgot to correct a line
* Correction for phpcs
* ajout d'un test si la requete sql de recherche d'un total pour la ligne échoue
* activation of this fix only if option FACTURE_PAYMENTS_ON_DIFFERENT_THIRDPARTIES_BILLS is on
* spelling correction in comment that don't pass pre-commit check
* trailing whitespace forget
* Add function to split a discount in 2 by API REST
* correction for phan & php-stan
* correction for phan & php-stan
* correction for phan & php-stan
* Update api_thirdparties.class.php
* Update api_thirdparties.class.php
* Update api_thirdparties.class.php
* Add accounting export mode for ISTEA
* Add accounting export mode for ISTEA
* add english translation
* Add accounting export mode for ISTEA
* Add accounting export mode for ISTEA
* Add accounting export mode for ISTEA
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* NEW Accountancy - Add accounting for discounts - Update menu
* NEW Accountancy - Add accounting for discounts - Setup
* NEW Accountancy - Add accounting for discounts - Language
* NEW Accountancy - Add accounting for discounts - Setup
* NEW Accountancy - Add accounting for discounts - Language
* NEW Accountancy - Add accounting for discounts - Function
* FIX CI
* FIX CI
* Fix CI
* FIX CI