Commit Graph

8740 Commits

Author SHA1 Message Date
Delthair
e2b6762b3c ISSUE #31816 (#31820)
Bug correction to finalise step 5 of installation
2024-11-14 23:31:25 +01:00
Alexandre SPANGARO
70a96461af NEW: Module Asset experimental (#31821) 2024-11-14 23:24:20 +01:00
MDW
a0f515ef12 Qual: Improve write_file typing (part 2) (#30527)
* Qual: Add abstract write_file to ModeleDon

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModeleChequeReceipts

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModelePDFRecruitmentCandidature

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModelePDFStock & ModelePDFStockTransfer

And update phpdoc for derived classes

* Qual: Update phpdoc write_file for CommonStickerGenerator classes

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 23:58:32 +01:00
sonikf
1f2bb2969a NEW: PDF Invoice show vat analysis per rate (#31381)
* Show vat analysis

* Show vat analysis

* Show vat analysis

* fix white space

* Update main.lang

* Show vat analysis

* Show vat analysis

* add copyright

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix php-stan (8.2)

* fix php-stan (8.2)

* fix php-stan (8.2)

* fix pre-commit tab

* Update pdf_other.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 22:41:00 +01:00
Frédéric FRANCE
2c4d1038d0 fix phpstan (#31805)
* fix

* fix

* fix

* fix

* fix
2024-11-13 22:37:17 +01:00
Frédéric FRANCE
e5320c2302 fix phpstan (#31801)
* fix phpstan

* fix phpstan

* fix phpstan

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc
2024-11-13 21:21:15 +01:00
Laurent Destailleur
aacecf4569 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-13 16:41:41 +01:00
Laurent Destailleur
a64f4327c7 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-13 16:40:21 +01:00
Frédéric FRANCE
8c0c033e49 add phpdoc in mailing modules (#31786)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* test

* test

* test

* test
2024-11-13 15:27:26 +01:00
Laurent Destailleur
ad2e2fe63d Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-13 12:41:15 +01:00
Eric - CAP-REL
67c2a48fc9 Add missing extrafields on strato pdf model (#31790)
* undef var

* add main extrafields on object

* remove dev debug sorry !

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 12:39:10 +01:00
Laurent Destailleur
8496e8a8ed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-13 10:08:21 +01:00
Frédéric FRANCE
2f207dd347 switching on phpstan v2 level 10 (#31764)
* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* version

* fix phpstan

* fix phpstan

* test

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* update baseline
2024-11-12 23:18:02 +01:00
Laurent Destailleur
221f8e947a Debug v21 2024-11-12 19:41:21 +01:00
Laurent Destailleur
22eec4ba8a Doc 2024-11-12 02:38:34 +01:00
MDW
56dc321665 Qual: Fix phan notices (in order of appearance) (#31768)
* Qual: Fix phan notices (in order of appearance)

* Qual: Fix phan notices (in order of appearance)/2
2024-11-12 00:35:14 +01:00
MDW
9ec4618199 Qual: Fix FunctionArray phan notices (#31754)
* Qual: Fix FunctionArray phan notices

* Fix class name in typing of htdocs/modulebuilder/index.php

* Fix customreports phpdoc

* Adjust file type after completeFileArrayWithDatabaseInfo

* Further phpdoc typing improvements

* More phpdoc

* Improve typing with cast on position field

* Force phpstan version

* Add phpstan exception

* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-10 11:16:23 +01:00
Laurent Destailleur
f74d4f93b9 Debug v21 2024-11-09 14:28:26 +01:00
Laurent Destailleur
e2e8cdbc4b Finished the architecture for captcha 2024-11-09 13:58:30 +01:00
warnerbryce
8657bba32a NEW : Adds some improvement for ODT Contracts (#31715)
* NEW : ODTSubsitution for date_start_real / Contracts

* ODT Contracts - Add deliveries langs
2024-11-08 14:47:45 +01:00
MDW
67d932e7de Qual: Fix phpdoc for *ArrayMethod* args/return values (non api_) (#31719) 2024-11-08 14:43:12 +01:00
MDW
d8c4f678f4 Qual: Fix CI - phan/phpstan notices (#31720)
# Qual: Fix CI - phan/phpstan notices

Fix notices currently active in develop branch

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-07 04:40:45 +01:00
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
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
Laurent Destailleur
a9b6e6916c FIX column position on PDF of payments 2024-11-06 16:38:32 +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
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
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
Laurent Destailleur
d42465ff1f FIX error message in xls import when stream zip is not availabe. 2024-10-31 14:35:10 +01:00
MDW
f4ff437026 Qual: Fix phan/phpstan notices in class files (part 4) (#31598)
* Qual: Fix phan notices for DolibarrModules.class

* Qual: Fix notices for classes actioncomm..task.class.php

* fixup! Qual: Fix notices for classes actioncomm..task.class.php

* Qual: Fix new notices blocking PR
2024-10-30 21:33:30 +01:00
Frédéric FRANCE
1006edf1a7 remove unused code (#31633)
* remove unused code

* remove unused code
2024-10-29 23:06:25 +01:00
Laurent Destailleur
d9a5636b77 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-29 15:55:42 +01:00
Laurent Destailleur
f350529378 Fix export salary 2024-10-29 15:16:35 +01:00
Lucas Marcouiller
9af36e273a Fix bad default pdf evalution naming (#31607)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-10-28 18:19:53 +01:00
Laurent Destailleur
cb0ab53709 Look and feel v21 2024-10-27 14:08:59 +01:00
Frédéric FRANCE
6549c6d8fe fix translations (#31585)
* fix translations

* fix translations
2024-10-27 01:29:03 +02:00
Frédéric FRANCE
0f563edb5f replace fetch_projet() and fetch_project() by fetchProject() (#29821)
* fix cti

* fix cti

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* fix deprecated

* fix

* fix sql
2024-10-26 22:43:44 +02:00
sonikf
1778e56745 NEW: PDF add discount total if line discount exists (#31483)
* NEW: PDF add total discount if line discount exists

* NEW: PDF add total discount if line discount exists

* NEW: PDF add discount total if line discount exists

* NEW: PDF add discount total if line discount exists

* NEW: PDF add discount total if line discount exists

* NEW: PDF add discount total if line discount exists

* php doc

* Add missing translation

* fix missing translation
2024-10-26 18:29:06 +02:00