Commit Graph

121593 Commits

Author SHA1 Message Date
John BOTELLA
35ffdda5e4 fix phan 2024-10-09 09:57:37 +02:00
John BOTELLA
ebc518271b fix phan 2024-10-09 09:29:58 +02:00
John BOTELLA
0dfda86cc0 fix phan 2024-10-09 09:28:06 +02:00
John BOTELLA
b79fa55a99 fix phan 2024-10-09 09:22:26 +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
377d211535 Merge branch '20.0' of https://github.com/Dolibarr/dolibarr into fix_v20_pdf_space_lost_with_images 2024-10-08 22:44:58 +02:00
John BOTELLA
498e1473aa Rebuild Cyan PDF MODEL 2024-10-08 22:44:36 +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
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
f5262ceefa Prepare 20.0.1 2024-10-07 15:25:19 +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
Laurent Destailleur
94ed718782 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-10-07 15:15:01 +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
63d4b5e3d8 FIX Backport fix fatal error on price with some truncating setup 2024-10-06 22:17:26 +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
Laurent Destailleur
6b26467aa4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-04 18:49:48 +02:00
Laurent Destailleur
fe6a50ef11 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-04 18:46:27 +02:00
HENRY Florian
934d291194 fix: action/card.php do not display priority field if hidden conf not activated (#31277) 2024-10-04 18:45:54 +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
atm-irvine
f287d100a3 Use <= 0 instead of ! because delete method returns -1 or 1 (#31268)
* Use <= 0 instead of ! because delete method returns -1 or 1

* Added contact

* Removed user from parameters
2024-10-04 11:49:44 +02:00
John BOTELLA
7ba663b89d Fix php 8 warnings (#31254)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 08:52:25 +02:00
Laurent Destailleur
4c695be0c8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 20:42:36 +02:00
Laurent Destailleur
f09ef5deea Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 20:33:56 +02:00
Laurent Destailleur
bb69cd7cda Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-03 20:33:25 +02:00
cbeasley-sbb
9af212a542 Update ticket.class.php Bug-fix Issue #31206 (#31208)
Fix Issue #31206 for the v.18 branch because unrelated tests failing on develop branch.
2024-10-03 20:33:02 +02:00
Laurent Destailleur
eebb16c693 Redice cyclomatic complexity 2024-10-03 20:08:09 +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
7cdc96eceb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 16:21:10 +02:00
Laurent Destailleur
86e34d8513 Fix typo 2024-10-03 16:20:56 +02:00
John BOTELLA
a333af2ceb fix missing token for links (#31225) 2024-10-03 16:19:04 +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
97005cda37 Fix warning 2024-10-03 16:14:29 +02:00
Frédéric FRANCE
e07c04c62d fix precommit (#31235) 2024-10-03 16:07:23 +02:00
Laurent Destailleur
28084d898f Fix error management 2024-10-03 15:55:01 +02:00
Laurent Destailleur
3798957095 Avoid warning 2024-10-03 15:54:30 +02:00
Laurent Destailleur
2d9399d0db Fix phan 2024-10-03 15:47:03 +02:00
Laurent Destailleur
32bad61dad Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 15:43:56 +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
0367450134 css 2024-10-03 15:28:51 +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