2
0
forked from Wavyzz/dolibarr
Commit Graph

9215 Commits

Author SHA1 Message Date
Laurent Destailleur
59fd0dbae7 NEW Can choose the zip handler to build ODT 2024-10-17 12:59:24 +02:00
Laurent Destailleur
4432aaffcb Creation auto of bank account use correct bank journal 2024-10-17 04:51:28 +02:00
MDW
cee4535975 Qual: Fix phan notices in admin.lib and tax.lib + related (#31414)
* Qual: Fix admin.lib phpstan/phan notices

* Qual: Fix some argument types in Societe methods

* Fixup phpdoc

* Qual: Improve typing for static analysis

* Qual: Improve typing for static analysis

* Fix tax typing

* Qual: further phan/phpstan notice fixes in dol_generic_project_odt

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 03:08:38 +02:00
Laurent Destailleur
c2d381d588 Merge branch '20.0' into fix_v20_pdf_space_lost_with_images 2024-10-17 02:24:46 +02:00
Laurent Destailleur
e8299da73f Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-10-17 02:16:13 +02:00
Laurent Destailleur
8562dd887b Merge 2024-10-17 02:15:53 +02:00
Laurent Destailleur
dacbfecb02 Move trans into correct lang file 2024-10-17 02:12:49 +02:00
Michael Bussmann
6fca870750 EPC-QR,Sponge, Translation of INVOICE_ADD_EPC_QR_CodePay, Alignment (#31327)
* EPC_QR fixes
Display translation of INVOICE_ADD_EPC_QR_CodePay
Fixed alignment of INVOICE_ADD_EPC_QR_CodePay when QR-Code at bottom

* Reverted local font size

Signed-off-by: Michael Bussmann <bus@mb-net.net>

---------

Signed-off-by: Michael Bussmann <bus@mb-net.net>
2024-10-17 02:08:38 +02:00
MDW
33b9479692 Qual: Ignore phan notice for pagebreak property (#31427)
# Qual: Ignore phan notice for pagebreak property

The access to the undeclared pagebreak property is protected with isset().
So these notices are now suppressed.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 01:49:43 +02:00
MDW
9677a370e9 Qual: Nullable mysoc hint (#31393)
* Qual: Nullable mysoc hint

# Qual: Nullable mysoc hint

$mysoc can be nullable resulting in issues (#31387) so
it is best to detect these cases with static analysis

* Prevent null assignment
2024-10-17 01:44:54 +02:00
Laurent Destailleur
ce414d29d7 Fix phan 2024-10-17 01:23:23 +02:00
Frédéric FRANCE
64164dead6 missing translation close #31415 (#31432)
* missing translation

* missing translation

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 01:17:34 +02:00
sonikf
7903a8b780 fix typo (#31418) 2024-10-17 01:14:26 +02:00
sonikf
202263dbb5 fix PDF proposal signature area (#31420)
* fix signature

* fix signature
2024-10-17 01:04:36 +02:00
Laurent Destailleur
82f65a6410 NEW Can choose the zip handler to build ODT 2024-10-17 00:31:53 +02:00
Laurent Destailleur
956a039082 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-10-16 20:47:12 +02:00
Laurent Destailleur
9ad71b980a NEW Can choose the zip handler to build ODT 2024-10-16 20:46:52 +02:00
Laurent Destailleur
e57ba5aa16 Fix phan 2024-10-15 17:30:07 +02:00
Laurent Destailleur
04ea424979 Removed not used $langs 2024-10-15 16:35:21 +02:00
Laurent Destailleur
231a561712 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-15 14:22:46 +02:00
Laurent Destailleur
e731910ede Miscellaneous fix on PDf template (trans, position column, warning) 2024-10-15 14:14:07 +02:00
Laurent Destailleur
86a90692ef FIX Support for PDF_ADD_POSITION was not complete 2024-10-15 00:18:05 +02:00
Laurent Destailleur
530fb167a2 NEW Support option PDF_ADD_POSITION on shipment espadon template 2024-10-14 22:38:51 +02:00
Laurent Destailleur
9ed4894adc Doc 2024-10-14 22:12:00 +02:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
Alexandre SPANGARO
5dfe870c4c NEW Invoice - Generate payment information - Structured communication (#31376)
* NEW Invoice - Generate payment information - Structured communication

* fix tabs/space

* Add $substitutionarray['__PAYMENT_STRUCTURED_COMMUNICATION__']

* Fix travis

* Move to specific file functions_be.lib.php

* Fix function use

* Fix code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-14 01:39:03 +02:00
Frédéric FRANCE
820333b02f fix variants sql init (#31319)
* fix variants sql init

* add setup

* add setup

* add setup

* update class

* update list

* update list

* update list

* update class

* fix typos

* fix translations

* fix html

* fix update

* fix sql

* fix extrafields

* fix extrafields
2024-10-13 21:08:55 +02:00
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