* New update for templateMail by creating files
* New updating for get php content
* Update html.formmail.class.php
* Fix updating content news
* Fix CTI Errors
* edit html file for news
* NEW display for news with option
* replace file in ajax folder
* fix multiselect news
* Fix phan errors and remove part of useless css
* Fix brakets needed in script
* Fix Phan errors
* Fix display multiselect and fix security injection
* cancel removing part of code for classe modelMail
* Fix phstan errors
* Fix space line
* Fix error phpStan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Update html.form.class.php
When using the hook selectProduitsFournisseurListOption and there is no supplier-price found the fk_soc will be empty so in the hook-code you don't know which supplier the order is for
* Update html.form.class.php
* Update html.form.class.php
* Update html.form.class.php
* Update html.form.class.php
* Update html.form.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Qual: 🛟 Fix typing
Qual: Fix typing
Fix some typing currently failing ci in develop.
* Fix typing for grabimages
* Qual: Fix new UndeclaredGlobalVariable notices & enable
# Qual: Fix new UndeclaredGlobalVariable notices & enable
This fixes several new notices regarding 'undeclared globals' which
mostly correspond to missing initialisations in views and some real
bugs where the variable name was incorrect.
Some less obvious cases are unsolved and ignored (adherents/list,
and fourn/commande/card).
This is in preparation of fixing the notices in the other files
where the baseline was already set to ignore them where most just
need a phan-var-force declaration which will help with verifying
type compatibity and object member verifications
* Added event message
* Added CommonSignedObject trait. Updated LibStatut method. Removed unnecessary properties.
* Added SHIPPING_MODIFY notification
* Refactored to use setSignedStatus method
* Updated PHPDoc. Removed unnecessary properties. Added contributor details.
* Added signed status to shipping list
* Added signed status to fetch method
* Fixed type
* Added signed status to notification message
* Updated EN localization
* Fixed static property
* Added event message localization
* Updated EN localization
* Updated PHPDoc
* Added signed status for use in tooltip
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fix extraparams property typing
* Fix argument typing
* Fix 'status' argument type in calls to dolGetButtonTitle
* Fix argument2 for price to 1 (was 2)
* Fix deliveryreceipt argument
* Fix PHPDoc dol_sort_array
* Fix range for int argument
* Fix arg type for str_pad and add some PHPDoc
* Fix natsort value for dol_sort_array
* Fix arguments on calls to dol_sort_array
* Reduce phpstan exceptions
* Qual: Add type hints for Stripe objects
# Qual: Add type hints for Stripe objects
Suggest the more specific implementation of the StripObject.
* Typing, initialisation
* Qual: Fix undeclared variables
* Update phan baseline
* Update baseline
* Qual: Add type hints for Stripe objects
# Qual: Add type hints for Stripe objects
Suggest the more specific implementation of the StripObject.
* Add PHPDoc for host class properties
* Ignore false positive (phan) for deprecated property
* Improve typing
* Update baseline
* Moved signed status properties & methods to reusable class trait
* Cleaned code
* Updated EN localization
* Fixed Phan warnings
* Fixed Phan warnings
* Added type check. Updated PHPDoc.
* Refactored class properties
* Cleaned PHPDoc
* Revert "Refactored class properties"
This reverts commit 1beb40a7
* Reapply "Refactored class properties"
This reverts commit 9e3d9d554c.
* Fixed PHPDoc
* Fixed class file name
* Moved signed status constants to array dictionary
* Added getLibSignedStatus & getSignedStatusLocalisedArray methods
* Updated fetch & create methods for signed_status
* Added signed status to status badge
* Updated signed_status module builder field
* Added object context signed status for action trigger
* Added signed status to contract list
* Fixed signed status for contract list
* Added sign, unsign, confirm_sign, confirm_unsign actions. Added sign button.
* Fixed old contract without signed status
* Added contract modify notification
* Added contract signed status update
* Updated EN localizations
* Fixed contract notification administration
* Fixed notification message
* Fixed contract status badge
* Fixed langs
* Fixed langs key
* Fixed duplicate localization