Commit Graph

37733 Commits

Author SHA1 Message Date
Mikko Virtanen
0811ff5f07 FIX dolFICalculatePaymentReference for Finland in functions_fi.lib.php (#31281)
* Update functions_fi.lib.php

Fix calculation from some base numbers

* Update functions_fi.lib.php
2024-10-07 14:52:12 +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
Laurent Destailleur
9b378d74af Look and feel v21 2024-10-07 12:40:50 +02:00
Laurent Destailleur
5ef619eae3 FIX look and feel v20 2024-10-07 12:02:37 +02:00
Laurent Destailleur
2737f713d9 Debug v21 2024-10-07 11:58:32 +02:00
Laurent Destailleur
79598795ca Fix trans 2024-10-07 11:38:34 +02:00
Laurent Destailleur
63d4b5e3d8 FIX Backport fix fatal error on price with some truncating setup 2024-10-06 22:17:26 +02:00
Laurent Destailleur
a7cbf6eeb1 Fix: closing of butAction dropdown was also closing the login dropdown
when we just lick inside a link into login dropdown.
2024-10-06 21:55:46 +02:00
Laurent Destailleur
93a872e8e1 PERF: Reduce size for VCF files and virtualcard qrcode 2024-10-06 21:08:40 +02:00
Joachim Kueter
63f6d0aa43 Fix: Number of decimals for stock values ignores configuration (#31285)
* Fix: Number of decimals for stock values ignores configuration

In the select filed for adding a new line for a proposal/invoice/... product as a line, the stock level is always printed with exactly two decimals.

The number of decimals should be controlled by the existing global variable MAIN_MAX_DECIMALS_STOCK, but it is not taken into account:

Building the stock level with the function price from the function price2num, which uses the configured number of decimals always lead to exactly two decimals.

* Fixed patch according to suggestion.
2024-10-06 13:53:16 +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
Frédéric FRANCE
7fe28032d1 phpstan (#31276)
* phpstan

* phpstan
2024-10-05 18:49:54 +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
Mohamed DAOUD
4a7ad31f85 NEW Stars Field for Module Builder (#31216)
* stars field for modulebuilder

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 18:37:41 +02:00
Laurent Destailleur
04e89fd37e Fix trans in notifications 2024-10-04 18:13:36 +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
bd4dbe7b1a Remove not used method 2024-10-04 12:35:23 +02:00
Laurent Destailleur
40f2830714 Start to move function for CLI mode into a dedicated file 2024-10-04 12:10:25 +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
Lucas Marcouiller
b595b30a5b New create public page for recruitment candidature (#31220)
* New creation of public recruitement candidature

* Fix some problems

* fix lang file

* Fix CI

* Fix CI

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 09:00:17 +02:00
MDW
6e01a60f59 Qual: Fix phan/phpstan notices (#31259)
# Qual: Fix phan/phpstan notices

Fix notices by adjusting phpdoc
2024-10-04 08:25:17 +02:00
Laurent Destailleur
e09d9df3ee QUAL Move function csvClean into functions2.lib.php 2024-10-03 21:36:39 +02:00
Laurent Destailleur
d24069d5e2 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:35:33 +02:00
Laurent Destailleur
029513c8b7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:26:52 +02:00
Laurent Destailleur
78e17b5d49 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:26:32 +02:00
Laurent Destailleur
eebb16c693 Redice cyclomatic complexity 2024-10-03 20:08:09 +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
MDW
2d0b1de36f Qual: Add codespell entries to catch some css typos (#31222)
# Qual: Add codespell entries to catch some css typos

Added some codespell entries based on the observed typos in css
tags
2024-10-03 19:36:59 +02:00
Laurent Destailleur
e412dbbe05 Merge manually fix of #31217 + other fix for use by external modules 2024-10-03 19:30:06 +02:00
Laurent Destailleur
6f6a87cd78 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 17:25:10 +02:00
Laurent Destailleur
88b488cfbb Fix for better compatibility 2024-10-03 17:23:29 +02:00
John BOTELLA
a272d929a5 Fix $ in key (#31215) 2024-10-03 17:14:28 +02:00
Hasanuzzaman Sattar
b85b826b18 FIX#31241 (#31245) 2024-10-03 16:33:18 +02:00
Laurent Destailleur
37c55004e7 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 16:17:27 +02:00
Laurent Destailleur
6a09e7c91a Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-03 16:15:06 +02:00
Laurent Destailleur
94173c9a9a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-03 15:51:55 +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
Frédéric FRANCE
7d36fe0715 fix typo phan and Co 💊 (#31214)
* fix typo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* translation missing

* test win mariadb version

* test win mariadb version

* phpdoc

* phpdoc

* phpdoc
2024-10-03 15:43:04 +02:00
HENRY Florian
90a5589c58 fix: php warning (#31244) 2024-10-03 15:39:32 +02:00
Sylvain Legrand
5d58a33f37 Fix tz array (#31240)
The list of time zones included in the 'get_tz_array()' function no longer matches the list of zones supported by PHP!
See the pages "https://www.php.net/manual/fr/timezones.php"

When using these values, this caused a 500 error: "PHP Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone (Pacific/Enderbury) " for example =>
$arraytz = get_tz_array();
foreach ($arraytz as $key => $value) {
$date = new DateTime();
$date->setTimezone(new DateTimeZone($value));
}

When several zone names could be used for the same time zone, I favored the canonical name (The primary, preferred zone name).
See the table "https://en.wikipedia.org/wiki/List_of_tz_database_time_zones"
2024-10-03 15:38:41 +02:00
Laurent Destailleur
e1a2435d96 css 2024-10-03 15:16:48 +02:00
Laurent Destailleur
59004c6fe8 FIX Revert storing of ticket files into event dir, too many troubles.
Files must remains into ticket directory.
2024-10-03 15:04:32 +02:00
Laurent Destailleur
2d4ea679cc Debug v21 2024-10-03 12:43:21 +02:00