dolibarr/htdocs/commande/class
Vincent de Grandpré 5b95397100
37423 DiscountAbsolute model refactor (#38808)
* opérations CRUD du modèle DiscountAbsolute

* taux de taxes locales et types ajoutés au modèle

* canvas et méthode paramétrées pour test unitaires

* test création et lecture OK

* #37423 - DiscountAbsolute model refactor to have localtaxes on a remise - unit tests completed

* phpcs

* remove comment

* phpcs local

* remove attributes in favor of parent

* phpstan -  type de données et correction tests unitaires

* typage des retours

* .

* exceptions Phan sur test unitaire

* commentaire de fonction bien formatté

* directives phan depuis CommonClassTest

* avertissements phan

* removing localtaxes from multicurrency attributes as not supported by data model

* interface testing from  ThirdParty comm/remx.php with added multicurrency ttc support

* phpcs OK

* phan typage

* merci phan

* buyer / seller roles of thirdparty integrity

* attribute typo in fetch

* setabsolutediscount and converttoreduc controller actions take into account localtaxes

* usage of localtaxes for discounts in objects

* phpcs

* stan typing

* integrity of multicurrency for generated credit note from supplier invoice
2026-06-15 04:16:42 +02:00
..
api_orders.class.php Doc example 2026-05-29 12:16:42 +02:00
commande.class.php 37423 DiscountAbsolute model refactor (#38808) 2026-06-15 04:16:42 +02:00
commandestats.class.php Qual: Fix PHPStan notices (#37977) 2026-04-23 15:26:53 +02:00
orderline.class.php Qual: Fix casting/quoting of SQL fields (#38718) 2026-06-11 23:44:12 +02:00