Commit Graph

11575 Commits

Author SHA1 Message Date
Laurent Destailleur
fc8e85158d NEW Can set parameters with setup type yesno. 2024-10-12 01:50:18 +02:00
Laurent Destailleur
7ec900d1de comment 2024-10-11 12:24:45 +02:00
UltraViolet33
615d13d815 Fix: complete fix for #31117 (#31300)
* Fix: complete fix for #31117
Use getSommePaiement(), getSumCreditNotesUsed() and getSumDepositsUsed() to get already paid amount of invoice
to display correct invoice status

* fix for PHPStan

---------

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-09 01:55:38 +02:00
Laurent Destailleur
8ba82ecfa0 Enhancement for textbrowser 2024-10-08 20:58:09 +02:00
Laurent Destailleur
efe6571e16 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-08 20:49:01 +02:00
Laurent Destailleur
21eb8e585f Fix detection of text browser with w3m 2024-10-08 20:48:37 +02:00
Laurent Destailleur
e79292cb19 Enhance vat edition 2024-10-08 09:59:46 +02:00
John BOTELLA
7faa9bad67 Fix 20.0 Action buttion url autocomplete (button dropdown part04) (#31266)
* Fix dol get action buttion url autocomplette

* change mailto

* change mailto

* Remove anonymous function

* Remove anonymous function

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-07 15:42:17 +02:00
Laurent Destailleur
a7db9f8b75 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-07 15:23:41 +02:00
Laurent Destailleur
081d3fabfc Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-07 15:20:16 +02:00
Laurent Destailleur
b07cc82058 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-07 15:17:49 +02:00
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
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
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
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
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
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
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
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
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
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
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
b87b0b92b8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-02 17:31:42 +02:00
Laurent Destailleur
11ea0ad9fd Fix fatal error with bad parameters 2024-10-02 15:15:52 +02:00