* NEW Display for socialnetworks admin
* Fix pre-commit errors
* New functionality for custom socialnetworks
* Fix CTI errors
* Fix phan errors
* Fix Phan errors
* Fix display tabs for setup socialnetworks
* Fix CTI errors
* Fix CTI errors
* remove comments
* New display widget for fediverse
* Add test to the end for get_fiche_en
* Fix pre-commit and phan CTI errors
* update translation for title of widget
* Fix errors and update function loadBox
* add translation and fix error phpstan
* Refactoring Fediverse class for handling social networks in each class
* Fix CTI errors
* remove return function
* add description for attribute
* Fix phpStan errors
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* based on createCompanyNotification, just trying to do it with code and not id number
* can now create notifications by action trigger code
* will now prevent duplications
* checks if request_data contains event or fk_action key because then it uses that and not the action code supplied as text
* checks if request_data contains event or fk_action key because then it uses that and not the action code supplied as text
* now requires a well formed request_data with an event key
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
* introducing new global variable API_LOGINS_ALLOWED_FOR_GET_EXTRAFIELDS, code copied and modified from public function getModules()
* trying to use a different method to read the variable
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
* NEW add last stock movement and product nature to StocksWithBatch export
Add fields to the StockWithBatch export:
- date of the last stock movement
- the nature of product from llx_c_product_nature dictionary
* fix getDateLastMovementProductBatch
* remove whitespaces
* fix whitespaces
---------
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
* Update baseline
* Add/update phpdoc typings
* Fix type for AssetDepreciationOptions as is
* Fix typing for Asset->depreciation_lines
* $card is used in derived classes, add it back to ActionsAdherentCardCommon
* Adjust code with typing/corrections for defined types
* Fix typos, code update to match typing, extra typing
* Add type cast for numeric operation
* Phpdoc/cast adjustments detected because of new phpdoc hints
* Fix error due to missmatch type for duration value. It should be an INT as it is everywhere in the code compared to int value and passed as an int to function
* Fix precommit