Commit Graph

8838 Commits

Author SHA1 Message Date
John BOTELLA
42ce0321b1 Clean code and fix artifact 2024-10-09 10:53:26 +02:00
John BOTELLA
901ce66f48 Clean code and fix artifact 2024-10-09 10:51:36 +02:00
John BOTELLA
1a909f82f8 Fix duplicate head print in first page of line loop display 2024-10-09 09:12:31 +02:00
John BOTELLA
9ace804209 Clean useless lines 2024-10-09 09:06:24 +02:00
John BOTELLA
498e1473aa Rebuild Cyan PDF MODEL 2024-10-08 22:44:36 +02:00
sonikf
35e01459f8 NEW: PDF Add shipping address in sales orders (#31293)
* Add shipping address

* Add shipping address

* Show shipping address in sales orders

* Add shipping address option in sales orders

* fix pre-commit

* fix phan

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)
2024-10-07 14:50:01 +02:00
Laurent Destailleur
92c848d5bc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-07 14:40:53 +02:00
Laurent Destailleur
58cc96cd33 QUAL All $conf->global->module->enabled are replaced with isModEnabled() 2024-10-07 14:40:29 +02:00
MDW
f4c91d5bb6 Qual: Fix phan/phpstan notices (#31297)
# Qual: Fix phan/phpstan notices

Fix several phan and phpstan notices.
2024-10-07 14:07:24 +02:00
MDW
34e3717dda Qual: Fix phan/phpstan notices (#31289)
* Qual: Fix phan/phpstan notices

# Qual: Fix phan/phpstan notices

Fix several phan/phpstan notices

* Fix spelling in Changelog
2024-10-06 13:03:43 +02:00
MDW
f70c945931 Qual: Fix phan/stan notices (#31271)
# Qual: Fix phan/stan notices in relation with UnknownObjectMethodCall

Fix notices in classes with UnknownObjectMethodCall notices or classes
related with these.
2024-10-05 18:55:36 +02:00
Laurent Destailleur
9e9af80fe0 Fix regression 2024-10-05 18:33:36 +02:00
Laurent Destailleur
916a906d9b Enhance the csvclean to support the charset encoding 2024-10-05 14:51:45 +02:00
sonikf
a340018cec New: Hide Down payment invoice mask when condition is met (#31270) 2024-10-04 17:35:23 +02:00
John BOTELLA
6240246d1d Fix space lost at bottom of page when PDF use product images 2024-10-04 15:29:15 +02:00
Laurent Destailleur
3de47bc129 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-04 11:48:52 +02:00
sonikf
c5587519f0 NEW: PDF Add option to print rounded corner frames (#31172)
* NEW: Add option to enable PDF frame rounded corners

* NEW: function printRoundedRect

* NEW PDF frame rounded corners

* New add rounded corners in frames

* New add rounded corners in frames

* Update admin.lang

* fix incoterm frame height

* Update pdf_sponge.modules.php

* fix pre-commit

* fix pre-commit

* fix php-stan (8.2)

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix phan php-stan (8.2) declare property

* New add rounded corners in frames

* New add rounded corners in frames

* add phpdoc for corner radius

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix php-stan (8.2)

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix whitespace

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix pre-commit empty line

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix Travis

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan phpdoc

* fix pre-commit

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 09:13:44 +02:00
Laurent Destailleur
e09d9df3ee QUAL Move function csvClean into functions2.lib.php 2024-10-03 21:36:39 +02:00
MDW
1834c37c16 Qual: Fix phan notices (#31212)
* Qual: Fix phan notices

# Qual: Fix phan notices

Fix several phan notices related to classes with UnknownObject
classes.

* Qual: Fix phan notices

* Qual: Fix phan notices

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-03 19:40:34 +02:00
Laurent Destailleur
42471decac Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 15:50:44 +02:00
Laurent Destailleur
22944a2440 Code comment 2024-10-03 02:56:34 +02:00
Laurent Destailleur
a3073a8c5c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 00:07:36 +02:00
Laurent Destailleur
b37773cf94 Fix mutitenant MS oauth 2024-10-03 00:05:33 +02:00
Laurent Destailleur
ae7902c6ba Add hidden option CONTRACT_HIDE_MYCOMPANY_SIGNATURE_SECTION_PDF 2024-10-02 18:19:45 +02:00
Laurent Destailleur
b87b0b92b8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-02 17:31:42 +02:00
Laurent Destailleur
83cf2c8c57 FIX OAuth generation of token for Microsoft, Stripe and Generic 2024-10-01 21:53:45 +02:00
Anthony Berton
3e76477922 NEW - Add an advanced permission to validate knowledge (#30855)
* Add perms validate knowladge

* Perms advanced

* FIX

* Fix to massaction list

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-30 10:15:40 +02:00
Laurent Destailleur
1754ee61d5 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-29 22:49:02 +02:00
MDW
42bb4fbf3e Qual: Enable & fix or ignore Invalid DimOffset (#31176)
* Qual: Enable & fix or ignore Invalid DimOffset

# Qual: Enable & fix or ignore Invalid DimOffset

The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.

This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later

* Nullable object typing in function signature not ok for 7.0/8.4

Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
Laurent Destailleur
c8d86f8a56 FIX List of payment must be visible event they exists even if total=0 2024-09-29 20:32:09 +02:00
Frédéric FRANCE
0a9142661f add phpdoc (#31175)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* fix broken doc

* fix broken doc

* fix

* fix

* fix

* fix

* fix

* fix
2024-09-29 03:10:45 +02:00
Frédéric FRANCE
0e1292e253 fix phpstan (#31177)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 02:49:34 +02:00
Francis Appels
1ee85e5483 Improve new hook afterPDFTotalTable to have posy parameter (#31168)
* Improve new hook afterPDFTotalTable to have posy parameter

* Also for other model
2024-09-28 12:11:29 +02:00
MDW
0da4d51003 Qual: Fix multiple phan notifications (#31151)
* Qual: Fix notifications multiple files

# Qual: Fix notifications multiple files

Fixes to files with UnknownObject notices, fixing other
notices in these files as well

* Improve boxes typing

* Qual: Extend accepted types to reduce notices

* Fix type for GET/POST arguments of GETPOST* calls
2024-09-28 12:09:35 +02:00
Frédéric FRANCE
752eaea64e fix phpstan (#31161)
* fix phpstan

* fix phpstan
2024-09-28 11:16:05 +02:00
Laurent Destailleur
84183adaaa WIP Captcha 2024-09-27 19:31:28 +02:00
Laurent Destailleur
447c0629cb NEW Add export profile to export MO and lines of consumption/production 2024-09-27 15:33:30 +02:00
Frédéric FRANCE
2583190e4a fix phpstan (#31146)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 22:21:57 +02:00
Frédéric FRANCE
9df2457236 fix phpstan (#31144)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 22:17:49 +02:00
Frédéric FRANCE
184589dbc0 fix phan branch 20.0 (#31133)
* fix phan branch 20.0

* Update index.php
2024-09-26 17:18:55 +02:00
Frédéric FRANCE
64e7ccf5ef fix phpstan (#31124)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 15:30:49 +02:00
Laurent Destailleur
1aae82898c Fix error management 2024-09-26 12:46:08 +02:00
Laurent Destailleur
7c2e2bfbea Fix error management 2024-09-26 12:44:38 +02:00
Frédéric FRANCE
1640fa8017 fix phpstan (#31093)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-25 22:56:28 +02:00
Laurent Destailleur
6e2589e981 FIX Position of box for shipping address in PDF 2024-09-25 13:02:27 +02:00
Laurent Destailleur
3f00ea3d6b FIX Position of box for shipping address in PDF 2024-09-25 13:01:35 +02:00
Laurent Destailleur
cc95331fc6 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-23 22:09:24 +02:00
Mohamed DAOUD
77367f349f fix inventory det (#31097) 2024-09-23 15:21:32 +02:00
Mohamed DAOUD
6bb679c632 fix inventory det (#31097) 2024-09-23 15:04:16 +02:00
Frédéric FRANCE
000173c7b9 fix phpstan (#31075)
* 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

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 01:59:14 +02:00