# Qual: Update fields phpdoc to include fields that are defined/used in some cases
comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
* set object entity at create
* set object entity at create
* set object entity at create
* set object entity at create
* set object entity at create
* set object entity at create
* do not break multicompany thing
* do not break multicompany thing
* missing translation
* fix phpstan
* doc
* fix entity
* fix set entity
In create and update methods of societe class, the trim function triggered warnings when the argument passed is null.
Cast string properties to string to avoid php warnings when the property is null.
Co-authored-by: UltraViolet33 <93035200+UltraViolet33@users.noreply.github.com>
* Update societe.php
* Add VAT mandatory and VAT invoice mandatory setup
* Reuse `setprofid`, `setprofidmandatory` and `setprofidinvoicemandatory` functions to update constants by using same mechanism with $key='VAT_INTRA'
* Update societe.class.php
Add VAT value check is company uses VAT and VAT is mandatory
* Update facture.class.php
Add VAT invoice mandatory checking
* Update facture.class.php
Typo
* Update societe.php
Fix comment
* make thirdparty code_client and code_compta modifiable via API
make code_client and code_compta modifiable via API call ( put /thirdparties/{id} ) for existing third parties
* fix: thirdparty code_client and code_compta modifiable via API (#30432)
make code_client and code_compta modifiable via API call ( put /thirdparties/{id} ) for existing third parties
* NEW Accountancy - Add general account on thirdparty - SQL Part
* NEW Accountancy - Add general account on thirdparty - Code customer part
* NEW Accountancy - Add general account on thirdparty - Code customer part
* NEW Accountancy - Add general account on thirdparty - Code customer part
* Fix Phan
* Use isModEnabled
* NEW Accountancy - Add general account on thirdparty - Code supplier part
* Fix phan
* Fix phan
* Fix phan
* Use list of account instead of simple input
* Use list of account instead of simple input
* Tabs
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fix: code_compta aliased as code_compta_client
# Fix: code_compta aliased as code_compta_client
Fix warning regarding non-existing field on sql result
* Handle code_compta with deprecationhandler
* NEW Accountancy - Add general account on thirdparty - SQL Part
* NEW Accountancy - Add general account on thirdparty - Code customer part
* NEW Accountancy - Add general account on thirdparty - Code customer part
* NEW Accountancy - Add general account on thirdparty - Code customer part
* Fix Phan
* Use isModEnabled
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
# Qual: Fix phan/stan notices in relation with UnknownObjectMethodCall
Fix notices in classes with UnknownObjectMethodCall notices or classes
related with these.
* NEW retreive Thirdparty by account
usefull for external link
* Update api_thirdparties.class.php
* Update api_thirdparties.class.php
* Update api_thirdparties.class.php