dolibarr/htdocs/core/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
..
fields Fix bad type 2026-05-22 12:45:59 +02:00
antivir.class.php
canvas.class.php Fix use of canvas template 2026-05-10 17:00:27 +02:00
ccountry.class.php NEW API get country: load region and load states now an option (#37715) 2026-04-27 14:56:05 +02:00
cemailtemplate.class.php Qual: Update fields array type (#37931) 2026-04-19 16:10:54 +02:00
cgenericdic.class.php Clean code 2026-04-14 17:57:48 +02:00
cincoterm.class.php NEW Societe - Import/Export - Add incoterm location & add possibility to import with code (#37969) 2026-04-23 15:19:43 +02:00
cleadstatus.class.php Qual: Fix PHPStan and Phan notices (#37950) 2026-04-21 02:28:35 +02:00
CMailFile.class.php Fix OAuth2 token refresh by using CurlClient for HTTP requests (#38616) 2026-06-09 01:18:41 +02:00
comment.class.php
commondict.class.php
commondocgenerator.class.php Automated merge from 23.0 to develop 2026-04-10 17:53:27 +02:00
commonhookactions.class.php Debug v23 2025-12-20 13:10:50 +01:00
commonincoterm.class.php
commoninvoice.class.php Doc 2026-05-27 16:09:42 +02:00
commonnumrefgenerator.class.php Qual: Phan/fix for notices seen in #37875 & ci (#37876) 2026-04-15 17:59:06 +02:00
commonobject.class.php Merge 2026-06-12 19:25:23 +02:00
commonobjectline.class.php
commonorder.class.php
commonpeople.class.php Look and feel v24 2026-05-12 02:53:35 +02:00
commonsignedobject.class.php
commonsocialnetworks.class.php
commonstickergenerator.class.php
commontrigger.class.php Clean scripts 2026-02-21 12:28:45 +01:00
conf.class.php Debug v24 2026-06-02 18:18:44 +02:00
cproductnature.class.php
cregion.class.php
CSMSFile.class.php
cstate.class.php
ctypent.class.php Clean code 2026-04-14 17:57:48 +02:00
ctyperesource.class.php
cunits.class.php Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-06-09 00:11:42 +02:00
defaultvalues.class.php Doc example 2026-05-29 12:16:42 +02:00
diasporahandler.class.php Debug v23. dolChmod required after file_puts_content 2025-12-15 16:57:06 +01:00
discount.class.php 37423 DiscountAbsolute model refactor (#38808) 2026-06-15 04:16:42 +02:00
doldeprecationhandler.class.php
doleditor.class.php Fix spellchecker AI tool 2026-05-07 12:11:48 +02:00
dolexception.class.php
dolgeoip.class.php
dolgeophp.class.php FIX : dolgeophp getXYString and getPointString methods (#38669) 2026-06-10 11:42:40 +02:00
dolgraph.class.php Merge 2026-06-12 19:25:23 +02:00
emailsenderprofile.class.php Doc example 2026-05-29 12:16:42 +02:00
evalmath.class.php
events.class.php Qual: Update fields array type (#37931) 2026-04-19 16:10:54 +02:00
extrafields.class.php Merge 2026-06-12 19:25:23 +02:00
extralanguages.class.php
fediverseparser.class.php
fieldinfos.class.php Doc example 2026-05-29 12:16:42 +02:00
fieldsmanager.class.php Automated merge from 23.0 to develop 2026-03-26 21:17:59 +01:00
fileupload.class.php Qual: Fix PHPStan notices (#38039) 2026-05-11 20:39:31 +02:00
fiscalyear.class.php Debug v23 2026-01-24 14:53:17 +01:00
genericobject.class.php
geomapeditor.class.php
google.class.php
hookmanager.class.php Fix show ->warnings in hook answer 2026-05-27 18:29:41 +02:00
html.form.class.php New add drag and drop for fields (#37462) 2026-06-13 16:19:14 +02:00
html.formaccounting.class.php Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-23 17:52:05 +02:00
html.formactions.class.php Fix regression in email title (must contains ref of ticket) 2026-04-19 17:47:39 +02:00
html.formadmin.class.php Enhance look of combo for email templates 2026-05-03 23:32:58 +02:00
html.formai.class.php Look and field 2026-05-07 12:18:59 +02:00
html.formbank.class.php
html.formbarcode.class.php Qual: Fix PHPStan notices (#38039) 2026-05-11 20:39:31 +02:00
html.formcategory.class.php
html.formcompany.class.php Qual: Fix PHPStan notices (#38039) 2026-05-11 20:39:31 +02:00
html.formcontract.class.php FIX Critical pb with direct link to contract. Add option 2026-04-27 23:53:00 +02:00
html.formcron.class.php
html.formexpensereport.class.php
html.formfile.class.php Fix #36782 #34780 strip the 'hidden' class when toggling the attach-file form (#38762) 2026-06-13 01:39:29 +02:00
html.formfiscalyear.class.php
html.formintervention.class.php
html.formldap.class.php
html.formmail.class.php Merge 2026-06-12 19:25:23 +02:00
html.formmailing.class.php
html.formmargin.class.php Qual: Fix PHPStan notices (#37977) 2026-04-23 15:26:53 +02:00
html.formorder.class.php
html.formother.class.php Clean code 2026-04-14 17:57:48 +02:00
html.formprojet.class.php Qual: Fix PHPStan notices (#38039) 2026-05-11 20:39:31 +02:00
html.formpropal.class.php
html.formsetup.class.php Fix + New(but fix too) : FIX UI for memo text auto resize + form setup improvement (#38485) 2026-06-10 19:24:14 +02:00
html.formsms.class.php
html.formsocialcontrib.class.php
html.formticket.class.php UX for upload files in create ticket (#38202) 2026-05-13 14:28:26 +02:00
html.formwebsite.class.php Fix image of layout 2026-04-29 01:19:32 +02:00
infobox.class.php Minor fixes 2026-04-27 23:21:13 +02:00
interfaces.class.php
jsonResponse.class.php NEW : Quick memo module (#37422) 2026-04-15 17:47:50 +02:00
ldap.class.php Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-06-15 01:21:31 +02:00
lessc.class.php Debug v23. dolChmod required after file_puts_content 2025-12-15 16:57:06 +01:00
link.class.php Clean code 2026-04-14 17:57:48 +02:00
mastodonhandler.class.php Debug v23. dolChmod required after file_puts_content 2025-12-15 16:57:06 +01:00
menu.class.php
menubase.class.php Qual: Fix PHPStan notices (#37977) 2026-04-23 15:26:53 +02:00
notify.class.php Fix #37266 write document backup tar to a temp dir outside its own source tree (#38763) 2026-06-13 01:34:57 +02:00
objectlink.class.php
openid.class.php
reddithandler.class.php Debug v23. dolChmod required after file_puts_content 2025-12-15 16:57:06 +01:00
rssparser.class.php Qual: Upgrade php version to run phan, add ast (#38143) 2026-05-10 03:22:08 +02:00
smtps.class.php Qual: Fix PHPStan notices (#37933) 2026-04-20 12:36:21 +02:00
socialnetworkmanager.class.php
stats.class.php Qual: Fix PHPStan notices (#37977) 2026-04-23 15:26:53 +02:00
timespent.class.php Doc example 2026-05-29 12:16:42 +02:00
translate.class.php Qual: Fix PHPStan notices (#37977) 2026-04-23 15:26:53 +02:00
utils.class.php Qual: Fix PHPStan notices (#38039) 2026-05-11 20:39:31 +02:00
utils_diff.class.php
validate.class.php Clean code 2026-04-14 17:57:48 +02:00
vcard.class.php
workboardresponse.class.php Qual: Fix PHPStan notices (#37967) 2026-04-23 14:57:54 +02:00