2
0
forked from Wavyzz/dolibarr
Commit Graph

4387 Commits

Author SHA1 Message Date
Laurent Destailleur
c15627016a Fix bad test for disabling TCPDI. Add more phpunit 2024-01-10 21:51:32 +01:00
Laurent Destailleur
f0d910ecd3 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-10 19:20:16 +01:00
MDW
963afede5e Fix: Match local variable name to parameter variable name (#27316)
# Fix: Match local variable name to parameter variable name

Improve consistency and avoids that phan reports suspicious parameter order
2024-01-10 17:38:23 +01:00
Laurent Destailleur
9d1f991759 Clean code 2024-01-09 14:24:21 +01:00
Laurent Destailleur
910a541c60 Clean code 2024-01-09 13:08:22 +01:00
Laurent Destailleur
e2f49c407f Clean sql request to use exist instead of left join 2024-01-09 10:44:50 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
b84b5d80d0 Merge pull request #27109 from altairisfr/reopenbilled
dont reopen billed orders
2024-01-04 00:30:19 +01:00
Laurent Destailleur
622bdb366b Merge pull request #27144 from atm-john/issue_265856_part_001
NEW :  llxHeader body css for command see #26856
2024-01-04 00:24:01 +01:00
Laurent Destailleur
6484f49fd8 Fix missing hook 2024-01-03 16:16:44 +01:00
Christophe Battarel
f6741591c7 add constant ORDER_DONT_REOPEN_BILLED 2024-01-02 09:10:28 +01:00
Fabian Heinz
b78632a20e api fixes
According to [RFC2616](https://www.rfc-editor.org/rfc/rfc2616#section-10.2), APIs should return 2xx status codes if the request was correct.
The response should be status 200 with an empty result array.
2023-12-31 14:11:05 +01:00
Laurent Destailleur
961deffd35 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-12-28 19:59:43 +01:00
Laurent Destailleur
4ea3dd9dc2 Debug v19 2023-12-28 19:55:35 +01:00
Laurent Destailleur
70ce043b58 Merge pull request #27165 from defrance/patch-310
Php V8 warning
2023-12-28 19:28:43 +01:00
Laurent Destailleur
47a633cf2e Update card.php 2023-12-28 19:28:28 +01:00
Laurent Destailleur
163a09d6fd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-12-28 12:37:34 +01:00
Laurent Destailleur
3ef872bb3d Merge pull request #27175 from cfoellmann/19/PR/hooks-contact
QUAL fix hooks on contact.php files - fixes contexts
2023-12-27 16:05:00 +01:00
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00
Laurent Destailleur
b3020923b7 Merge pull request #27186 from Hystepik/fix-php-warnings-code-smell
Fix some php code smell
2023-12-22 11:07:07 +01:00
Hystepik
d08f91e4cb Fix some phpstan warnings 2023-12-21 13:43:19 +01:00
Hystepik
5e4a4da130 Fix some php codce smell 2023-12-20 14:22:45 +01:00
Laurent Destailleur
fb5393149a Merge pull request #27096 from defrance/patch-308
php V8 warning
2023-12-19 16:27:30 +01:00
Laurent Destailleur
d6e4b71958 Merge pull request #27104 from cfoellmann/19/PR/stings-supplier
make UI strings differenciate between orders torward customer or supplier
2023-12-19 16:08:48 +01:00
Christian Foellmann
045c623536 QUAL fix hooks on contact.php files - fixes contexts 2023-12-19 14:39:29 +01:00
Charlène Benke
b881dca994 php V8 warning 2023-12-18 16:53:12 +01:00
MDW
e49f32ab2d dolGetGlobalInt -> getDolGlobalInt
Detected with phan -> https://github.com/Dolibarr/dolibarr/actions/runs/7242660297/job/19728384233?pr=26480#step:5:39
2023-12-18 03:13:37 +01:00
Laurent Destailleur
5e28ab0ec3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-12-17 23:54:37 +01:00
Laurent Destailleur
4dc5483b12 Fix warning 2023-12-17 23:54:08 +01:00
Laurent Destailleur
689ba89b21 Merge pull request #27108 from altairisfr/ORDER_REOPEN_TO_DRAFT_2023
add constant ORDER_REOPEN_TO_DRAFT
2023-12-17 23:27:56 +01:00
ATM john
2caf7e6c0b Add llxHeader body css for command 2023-12-16 13:46:47 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Christophe Battarel
273fbbc65c dont reopen billed orders 2023-12-14 15:54:09 +01:00
Christophe Battarel
30d181c933 aadd constant ORDER_REOPEN_TO_DRAFT 2023-12-14 15:35:37 +01:00
Christian Foellmann
88c0700ee5 QUAL make UI strings differenciate between orders torward customer or supplier 2023-12-14 13:42:15 +01:00
Charlène Benke
bcf015533e Update list_det.php 2023-12-14 10:56:11 +01:00
Laurent Destailleur
0fc4be5d2b Merge pull request #27067 from alexandre-janniaux/commande-error-forward/1
Qual: command: forward database error on failure
2023-12-14 01:39:59 +01:00
Laurent Destailleur
fb083a6cfc Fix warning with rector 2023-12-13 16:33:17 +01:00
Alexandre Janniaux
d9e81cbabe command: forward database error on failure
If the database triggered a failure, it wasn't reported in the tests
because $this->error was not set. Conversely, the error was always
printed through dol_print_error() whose documentation explicitely states
that it should not be used for class and $this->error should be used
instead.
2023-12-12 19:18:16 +01:00
Charlène Benke
4b3e8109eb Update list.php for prevent mass order warning 2023-12-09 12:36:02 +01:00
Laurent Destailleur
60af6843fd Clean code 2023-12-08 02:05:51 +01:00
Laurent Destailleur
89e1e1b859 Merge pull request #26980 from atm-jonathan/FIX_in_array()_list.php
FIX in_array() on key
2023-12-08 01:59:32 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Jonathan Lescaut
771b735384 FIX in_array() on key 2023-12-05 16:12:18 +01:00
Laurent Destailleur
7606fdd84f Debug v19 2023-12-04 12:29:38 +01:00
Laurent Destailleur
ba10d60a0b Fix with php-cs-fixer 2023-12-04 12:02:35 +01:00
Laurent Destailleur
3ecfc1b55f Fix css 2023-12-02 20:27:09 +01:00
Laurent Destailleur
c6ab06967f Debug v19 2023-12-02 19:25:09 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
bfbdab6084 Debug v19 2023-11-28 22:44:01 +01:00