2
0
forked from Wavyzz/dolibarr
Commit Graph

11074 Commits

Author SHA1 Message Date
Laurent Destailleur
1e3b2c6a7c Try to fix GETPOSTINT regressions 2024-04-19 13:34:48 +02:00
Laurent Destailleur
557c723c27 FIX logo and escape in RSS
Conflicts:
	htdocs/admin/external_rss.php
	htdocs/core/lib/functions.lib.php
2024-04-18 20:26:38 +02:00
Laurent Destailleur
f6414f8b1d FIX logo and escape in RSS 2024-04-18 20:17:10 +02:00
Frédéric FRANCE
dc822d271d fix test variable has been renanamed in v20 (#29392) 2024-04-18 13:53:36 +01:00
Frédéric FRANCE
b6cadde8d3 fix typo for phpstan (#29380) 2024-04-18 11:21:30 +01:00
Laurent Destailleur
612e41a8ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	htdocs/product/stock/replenish.php
	htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
Laurent Destailleur
57bb4cd7e4 Debug v20 2024-04-18 02:21:42 +02:00
Laurent Destailleur
1ab92ac972 Fix tooltip 2024-04-17 20:57:51 +02:00
Laurent Destailleur
bd3ac2767a Add substitution key __AMOUNT_EXCL_TAX_TEXT__ and
__AMOUNT_EXCL_TAX_TEXTCURRENCY__
2024-04-17 20:35:18 +02:00
John BOTELLA
94cc9c2e28 Fix ergo fail (#29370) 2024-04-17 16:56:39 +01:00
Laurent Destailleur
22bd31e4fa Doc 2024-04-17 13:10:09 +02:00
MDW
da9fd874bc Qual: Fix or ignore functions.lib.php phan notices (#29344)
* Fix: LogHandler parent class, implements interface & provides $code

* Fix: functions.lib phan notices

* Fix phan notifications

* Match expected DebugBar signature - rename getRenderer

* Call the correct renderer method for the DebugBar

* Use correct key type to access array

* Ignore notices

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-14 04:46:33 +02:00
IC-Ilies
5cec87a80e FIX link type extrafield on warehouse not working (#29339) 2024-04-12 17:56:02 +02:00
boudet jean pascal
3076b6ad40 fix 500 error count array (#29337)
* fix error 500  on array count

* fix pre-commit error

* Update html.form.class.php

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-12 14:44:54 +02:00
IC-Ilies
de1d67a6ae FIX #29333 supplier order extrafields of link type displays error (#29334) 2024-04-12 12:12:49 +02:00
Laurent Destailleur
132595f10f CSS customreport 2024-04-10 01:38:36 +02:00
Laurent Destailleur
7ca303888d Look and feel v20 2024-04-08 19:20:07 +02:00
Zephyriony
6f524405af QUAL Rename column fk_origin_line on shipment lines into fk_elementdet to match a generic use. (#28989)
* Update expedition.class.php 

Adapting the query and code to the new table format

* Update llx_expeditiondet.sql

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update llx_expeditiondet.sql

* Update expedition.class.php

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* Update expedition.class.php

* Update expedition.class.php

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* Update 19.0.0-20.0.0.sql

---------

Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
2024-04-08 12:44:49 +02:00
Charlène Benke
e4657c6b03 MAIN_SUPPORT_SHARED_CONTACT_BETWEEN_THIRDPARTIES error (#29010)
* MAIN_SUPPORT_SHARED_CONTACT_BETWEEN_THIRDPARTIES error

if we enable MAIN_SUPPORT_SHARED_CONTACT_BETWEEN_THIRDPARTIES we disable the native contact tabs

* Update companies.lang

* Update companies.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 12:13:38 +02:00
Laurent Destailleur
7c5b2dae56 Fix GETPOSTINT 2024-04-05 13:09:32 +02:00
Laurent Destailleur
e36e70ecfe Fix typo formated -> formatted 2024-04-05 10:17:00 +02:00
Laurent Destailleur
bf7109f51c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-04 17:47:02 +02:00
Laurent Destailleur
16f4f4a661 FIX Button for disabled modules must not appear. 2024-04-04 17:26:45 +02:00
Laurent Destailleur
389857fdf1 FIX missing trans on VolumeUnitcm3 2024-04-04 13:16:32 +02:00
Laurent Destailleur
ad79acf63c QUAL removed duplicate language file 2024-04-04 11:00:35 +02:00
Laurent Destailleur
40165541d9 Look and feel v20 2024-04-04 01:35:36 +02:00
Laurent Destailleur
a8f22f4215 WIP option MAIN_USE_HTML5_LIMIT_SELECTOR 2024-04-03 18:44:13 +02:00
Laurent Destailleur
2947287e3f Look and feel v20 2024-04-03 16:22:16 +02:00
Laurent Destailleur
fffe74246c Fix all short tables must use the setup for the number of rows 2024-04-03 15:30:10 +02:00
Laurent Destailleur
5acdcac75d Debug v20 2024-04-03 12:25:06 +02:00
Laurent Destailleur
6004d3ae14 Merge pull request #29204 from mdeweerd/fix/projet_abs
Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
2024-04-03 02:06:52 +02:00
Laurent Destailleur
9aa5e43836 Doc 2024-04-02 23:51:45 +02:00
MDW
e64e57716c Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
# Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type

I got the following message:
`Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in D:\mdeweerd\workspace\dolibarr\htdocs\projet\list.php on line 233`

I examined the phan report and there was no mention of this because dol_eval was
said to return mixed.

In order to detect such cases, I amended the dol_eval return type to ensure to find
most of the locations where a cast is needed.
2024-04-02 22:52:52 +02:00
Laurent Destailleur
c6cef436dc Fix warning 2024-04-02 20:59:20 +02:00
MDW
146b735269 New: dol_get_object_properties to get real and magic props
# New: dol_get_object_properties to get real and magic props

This method will get an array with real and magic properties
from an object (if $properties is provided).
2024-04-02 11:25:18 +02:00
Laurent Destailleur
e3037794aa Look and feel v20 2024-04-01 15:04:20 +02:00
Laurent Destailleur
8ed9866433 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-31 19:26:54 +02:00
Laurent Destailleur
2ed6ae0799 Fix #29031 Fix #29059 2024-03-31 19:15:41 +02:00
Laurent Destailleur
49af1da76c Fix #29031 Fix #29059 2024-03-31 19:14:02 +02:00
Laurent Destailleur
47297d07fd Merge pull request #29135 from mikko80/patch-1
NEW Invoice PDF If bank account is empty, not print "Bank" and "Account"
2024-03-31 14:02:20 +02:00
Laurent Destailleur
21bedea607 Merge pull request #29143 from mdeweerd/fix/phpstan4
Fix Multiple fixes inspired by phpstan level 5 and phan
2024-03-31 13:56:24 +02:00
MDW
a0ce1514c1 Improve phpdoc typing 2024-03-31 03:02:03 +02:00
MDW
3a84e10b09 Should compare to constant IMAGETYPE_PNG, not to string 2024-03-31 01:08:36 +01:00
MDW
aad8c3d3d2 Improve phpdoc for make_substitutions 2024-03-31 01:03:32 +01:00
MDW
13043be5c5 Improve phpdoc typing 2024-03-31 01:03:31 +01:00
Laurent Destailleur
5c72441cc2 Merge pull request #29133 from mdeweerd/fix/related/fournisseur.facture
Fix phan notices related to fournisseur.facture.class.php
2024-03-30 23:46:01 +01:00
Laurent Destailleur
56105667e7 Merge pull request #29128 from mdeweerd/fix/stan
Fix PHPdoc typing (to fix php stan notices)
2024-03-30 20:01:48 +01:00
Laurent Destailleur
bf5dff67ee Merge pull request #29139 from mdeweerd/fix/related/html.form
Fix phan notices related to Html Form
2024-03-30 19:53:25 +01:00
MDW
94796d90b8 Improve phpdoc typing ajax_autocompleter 2024-03-30 18:03:10 +01:00
Mikko Virtanen
fd53a90153 Update pdf.lib.php 2024-03-30 13:46:22 +02:00