Commit Graph

37442 Commits

Author SHA1 Message Date
Anthony Berton
a5e1f09043 NEW - Add terms of sale on documents (#24846)
* NEW -  Add terms to sale on documents

* FIx

* Move in pdf other

* Change termstosale in termsofsale

* Copy

* Update admin.lang

* Update pdf_other.php

* // Terms to sale

* Update pdf_other.php

* Update pdf_einstein.modules.php

* Update pdf_eratosthene.modules.php

* Update pdf_crabe.modules.php

* Update pdf_sponge.modules.php

* Update pdf_azur.modules.php

* Update pdf_cyan.modules.php

* Update societe.class.php

* Clean

* Update pdf_other.php

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-07 03:20:49 +01:00
Laurent Destailleur
f8d3656b6d Try to fix phan 2024-11-07 03:11:42 +01:00
Laurent Destailleur
c0c89657b8 Debug v21 - look and feel 2024-11-07 03:08:02 +01:00
Laurent Destailleur
b0e10ec2e4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-07 01:17:58 +01:00
Laurent Destailleur
a23a7385e7 Fix phan 2024-11-07 01:16:48 +01:00
MDW
278d301f32 Qual: Fix phan/phpstan notices in class files (part 6) (#31634)
* Qual: Fix notices for paymentdonation...workstationusergroup.class

* Qual: Fix PhanPluginRedundantReturnComment, update baseline

* Qual: Complete array phpdoc for properties
2024-11-06 23:57:45 +01:00
Laurent Destailleur
0e55db7caf WIP Captcha architecture 2024-11-06 23:02:46 +01:00
Laurent Destailleur
84c343cada WIP Captcha module architecture 2024-11-06 22:15:25 +01:00
Laurent Destailleur
b03684c0ee Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:28 +01:00
Laurent Destailleur
13ce7cfd04 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:14 +01:00
Laurent Destailleur
bb6c4b2ccb Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-06 20:16:41 +01:00
MDW
178d748cad Qual: Fix phan/phpstan notices in class files (part 5) (#31617)
* Qual: fix commonstickergen..don.class

* Fix notifications for pdf_paiement...cronjob.class

* Qual: Fix notifications for emailcollector..price_parser.class

* Ensure that NULL is used in the database when fk's are 0/empty

* Fix notifications for pdf_paiement...cronjob.class

* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
2024-11-06 20:15:15 +01:00
Frédéric FRANCE
0d7bc505d3 add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
uvaldenaire-opendsi
bbf83c7053 fix dol_getdate() when timestamp is an empty string (#31714) 2024-11-06 19:17:33 +01:00
Laurent Destailleur
43fb9dbb52 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-06 16:39:29 +01:00
Laurent Destailleur
a9b6e6916c FIX column position on PDF of payments 2024-11-06 16:38:32 +01:00
Laurent Destailleur
b7821bde26 FIX the autofix corrupted vat value must be triggered only if we are
sure data is corrupted.
FIX the autofix must also fix the multicurrency value.
2024-11-06 16:17:51 +01:00
Laurent Destailleur
00b9943069 Rename var to make debug easier 2024-11-06 15:15:55 +01:00
Laurent Destailleur
4bdd848bbe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 13:26:08 +01:00
Laurent Destailleur
37f15cfb42 NEW Add option to round weight and volumen on shipment pdf 2024-11-06 12:50:24 +01:00
Laurent Destailleur
c8167567ca Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 12:31:14 +01:00
Laurent Destailleur
451c90321b Debug MAIN_USE_TOP_MENU_IMPORT_FILE option 2024-11-06 12:30:50 +01:00
Laurent Destailleur
bea721d795 Look and feel v21 2024-11-05 19:02:33 +01:00
Laurent Destailleur
060720124d Add a tooltip to describe a behavior mentionned in #31536 2024-11-05 18:06:29 +01:00
Laurent Destailleur
46b80e85d4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-05 17:29:08 +01:00
Laurent Destailleur
56925afe8e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-05 17:16:01 +01:00
Frédéric FRANCE
24e7285539 fix CI (#31692)
* Update commonobjectline.class.php

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-05 15:33:09 +01:00
Laurent Destailleur
fc0496c48b Fix phan 2024-11-05 15:06:17 +01:00
Laurent Destailleur
b25c75c87d Clean code 2024-11-05 14:52:59 +01:00
Laurent Destailleur
d980889f8a Doc comment 2024-11-05 14:22:06 +01:00
Laurent Destailleur
54216fc00d Fix phan 2024-11-05 14:16:32 +01:00
Laurent Destailleur
eff4ee9fae Debug v21 2024-11-05 10:14:40 +01:00
Laurent Destailleur
9194b7f382 Debug v21 2024-11-05 01:57:36 +01:00
Laurent Destailleur
590ecf0243 Debug v21 2024-11-05 01:43:48 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Mathieu Moulin
f2b33ffd55 Fix use of extrafield of type link with CommonObjectLine (#29957)
* define default getNomUrl() in CommonObjectLine class

* Fix mistakes (pre-commit...) and precise function description

* Fix CommonObjectLine::getNomUrl to be useable with existing

* Update commonobjectline.class.php

* Update commonobjectline.class.php

* Update commonobjectline.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:52:10 +01:00
Laurent Destailleur
1857b22aed Fix trans 2024-11-04 23:17:22 +01:00
Laurent Destailleur
c79181f9ad Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-04 16:42:59 +01:00
Laurent Destailleur
4d9283d8ab Clean code 2024-11-04 16:41:50 +01:00
Alexandre SPANGARO
3c81211b80 NEW Custom accounting reports (#31673)
* NEW Custom accounting reports

* Copyright

* FIX Pre-commit

* FIX Pre-commit

* Fix Phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 16:38:17 +01:00
Laurent Destailleur
560da768b3 Debug v20 2024-11-04 14:59:22 +01:00
Laurent Destailleur
7e6a41bbd9 Share common code 2024-11-04 13:56:05 +01:00
Jarod1980
f1581e9eed Update commonobject.class.php (#31667)
change sourcetype and targettype to use  $this->getElementType() instead of $this->element
2024-11-04 12:33:48 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Frédéric FRANCE
0349f5b513 fix unable to resolve template T (#31680) 2024-11-04 12:24:18 +01:00
Zephyriony
1619c103cd FIX Authorize modification of a partially shipped order (#31659)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-01 10:47:46 +01:00
Mohamed DAOUD
ae7c15d180 Fix function call to display star extra fields by passing object as parameter (#31664)
* fix stars extrafield regression

* Update extrafields_list_print_fields.tpl.php

* fix phan

* Update extrafields_list_print_fields.tpl.php
2024-11-01 10:47:16 +01:00
Je2fb
408215b873 Fix issue product multicurrency price in form list and incoterm location (#31651)
* Update html.form.class.php for multicurrency issue

Error in the name of the parameter data-multicurrency-up replaced by data-multicurrency-unitprice

* Fix Incoterm location

Replacement of function to retrieve the data from GET argument form GETPOSTINT to GETPOST, location_incoterms is a string and not a number

* Update card.php

* Update card.php

* Update card.php

* Update card.php

* Update shipment.php

* Update card.php

* Update card.php

* Update stocktransfer_card.php

* Update card.php

* Update card.php
2024-10-31 18:45:24 +01:00
Laurent Destailleur
034f77e8f7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-31 18:38:47 +01:00
brice.l
94292a1740 Update html.formintervention.class.php (#31658)
This id should be set with the html name field
2024-10-31 18:24:29 +01:00