Commit Graph

932 Commits

Author SHA1 Message Date
Laurent Destailleur
36108255e3 Complete call to setStatus so we have a trigy as 4th parameter (help to
fix the #37129)
2026-02-10 00:44:46 +01:00
MDW
1166dd305b Qual: Update comments from French to English (#37097)
* Qual: Update comments from French to English

# Qual: Update comments from French to English

* Qual: Fix missing initialisations

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-08 15:29:53 +01:00
minimexat
61ece3d5c5 FIX Replace direct $_POST access with GETPOST() in origin/originid recovery paths (#37143)
When a create action fails and rolls back, several list/card pages
restore origin parameters by assigning $_POST values directly to
$_GET. This causes 'undefined array key' warnings on PHP 8.1+ if
the POST data is missing or malformed.

Replace raw $_POST['origin'] with GETPOST('origin', 'alpha') and
raw $_POST['originid'] with GETPOSTINT('originid') which safely
handle missing parameters.

Files fixed:
- htdocs/expedition/list.php
- htdocs/fourn/commande/list.php
- htdocs/commande/list.php
- htdocs/compta/facture/card.php
- htdocs/reception/list.php

These files had TODO-style comments ('Keep this ?', 'Keep GET and
POST here ?') indicating the pattern was already questionable.

Co-authored-by: f-hoedl <hoefla14@htl-kaindorf.ac.at>
2026-02-08 03:05:47 +01:00
MDW
ec69a624e0 qual: Update french texts (comments) to english (#37009)
* qual: Update french texts (comments) to english

* Qual: Update comment to english in card-rec.php and card.php

Translation of comments in the files card-rec.php and card.php.

* Qual: Translate comments to English

* Qual: Translate comments to English

* Fix space into tab

* Fix spelling

* Qual: Translate comments to English

* Update website.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-28 19:34:12 +01:00
Laurent Destailleur
5efcd7652f Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-26 19:35:29 +01:00
Laurent Destailleur
4224c9fc05 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-26 19:34:10 +01:00
Laurent Destailleur
b623ea1f57 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-01-26 19:22:43 +01:00
Laurent Destailleur
360718fa7b Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2026-01-26 19:19:13 +01:00
Laurent Destailleur
c6a398639c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2026-01-26 19:17:02 +01:00
Laurent Destailleur
449870d347 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2026-01-26 19:05:09 +01:00
Laurent Destailleur
27026eced9 Fix ci 2026-01-24 18:00:45 +01:00
Laurent Destailleur
39d39f475d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-23 17:46:38 +01:00
Frédéric FRANCE
d770d37e29 add phpcs rule extension (#36561)
* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* test

* test

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* translate

* translate

* translate

* translate

* translate

* translate

* translate

* Update propal.class.php
2026-01-15 16:05:06 +01:00
Expresion
6d6dfb3a5e Fix numeric input parsing to support comma as decimal separator (#36845)
* Fix numeric input parsing to support comma as decimal separator

GETPOSTINT()  only handles integer values and fails when input uses a comma as decimal

* Update dispatch.php

* Change GETPOST to GETPOSTFLOAT for price input

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-10 18:25:06 +01:00
Expresion
9fa9d395dc Fix numeric input parsing to support comma as decimal separator (#36845)
* Fix numeric input parsing to support comma as decimal separator

GETPOSTINT()  only handles integer values and fails when input uses a comma as decimal

* Update dispatch.php

* Change GETPOST to GETPOSTFLOAT for price input

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-10 18:24:19 +01:00
Mathieu Moulin
a5b106fe70 Fix error removing reception with product batches (eatby/sellby) (#36846) 2026-01-10 17:30:45 +01:00
Mathieu Moulin
ad3304832d FIX : remove stock correctly when reception is deleted (like 82e092f) 2026-01-06 15:32:59 +01:00
Jyhere
05f010a655 FIX: reception reopening lacks of message when an error occurs (#36752)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-05 17:47:02 +01:00
Jyhere
d88730174c FIX: reception reopening lacks of message when an error occurs (#36752)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-05 17:46:45 +01:00
Laurent Destailleur
ba816b847d Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0
Debug v23
2026-01-05 14:36:23 +01:00
Zakaria Boushaba
ecb14aecf2 Fix text overflow in linked object table lists (v22) (#36776)
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
2026-01-05 11:31:55 +01:00
sonikf
c05dc10da3 fix regression broken layout
Removed call to dol_get_fiche_end() in card.php.
2025-12-14 20:45:30 +02:00
Laurent Destailleur
0027e0c126 Fix CI 2025-11-26 01:35:10 +01:00
Laurent Destailleur
3218e19091 Debug v23 2025-11-25 19:51:09 +01:00
Laurent Destailleur
6d42410dac Debug v23 2025-11-25 19:39:21 +01:00
MDW
287ee92cb7 Qual: Fix nullable value by cast (for phan) (#36381)
# Qual: Fix nullable value by cast (for phan)

The update method now explicitly casts the eatby and sellby fields to integers before passing them to the idate function.

Otherwise phan considers the arguments as nullable (as it can not determine the impact of dol_strlen).
2025-11-24 15:00:15 +01:00
Laurent Destailleur
89d8b553c1 Debug v23 2025-11-22 16:23:07 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
Laurent Destailleur
81527a9fe9 Clean code 2025-11-18 12:03:23 +01:00
Laurent Destailleur
a7c82c020d Fix CI 2025-11-17 20:01:07 +01:00
HeilDenDus
0f297eea96 add show and filter in fields public and private notes (#36255) 2025-11-14 15:36:22 +01:00
Laurent Destailleur
cb40305764 Fix CI 2025-11-13 13:12:34 +01:00
Laurent Destailleur
ed9f3ca915 Fix CI 2025-11-13 13:11:59 +01:00
Laurent Destailleur
61a194f57e Fix CI 2025-11-13 13:10:32 +01:00
Laurent Destailleur
c26c4571d8 Fix CI GETPOST -> GETPOSTINT 2025-11-13 13:09:28 +01:00
Laurent Destailleur
5c353d5f0a Fix CI 2025-11-13 13:09:06 +01:00
Laurent Destailleur
b022194600 Fix CI GETPOST -> GETPOSTINT 2025-11-13 13:09:00 +01:00
Laurent Destailleur
cb6ffabc42 Fix CI 2025-11-13 13:00:55 +01:00
Laurent Destailleur
44beed0a94 Fix CI 2025-11-13 12:44:39 +01:00
Laurent Destailleur
6b675eeb81 Fix error reporting 2025-11-13 04:22:58 +01:00
Laurent Destailleur
557c3c5d18 Fix SQL 2025-11-13 04:22:35 +01:00
Laurent Destailleur
0ddcc03d71 Fix GETPOST 2025-11-13 03:42:29 +01:00
Laurent Destailleur
66ae002541 Fix GETPOST 2025-11-13 03:38:48 +01:00
Laurent Destailleur
957c5645e2 Fix type 2025-11-13 03:33:42 +01:00
Laurent Destailleur
f6783b35fd Fix type 2025-11-13 03:25:20 +01:00
Laurent Destailleur
9dc4f6bc5d Fix type 2025-11-13 03:25:00 +01:00
Laurent Destailleur
c4abf5d3ca Fix regression 2025-11-13 02:12:15 +01:00
Laurent Destailleur
dfbf173b17 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 19:25:42 +01:00
sonikf
beddd5152a Add missing fk_project (#36128) 2025-11-06 17:10:28 +01:00
sonikf
dc4a28cd0b NEW Add option to create standalone reception (#36134)
* Enable create menu for standalone reception

* Enable create menu for standalone reception

* Add Reception date

* Add option to create standalone reception

* fix pre-commit
2025-11-06 17:09:36 +01:00