2
0
forked from Wavyzz/dolibarr
Commit Graph

33419 Commits

Author SHA1 Message Date
Frédéric FRANCE
52388ecad9 fix parameters 2024-01-09 20:43:37 +01:00
Frédéric FRANCE
c6620738ca fix phpdoc 2024-01-09 20:40:18 +01:00
MDW
5684813476 Fix: Do not reuse from scope as foreach key
Phan report: Variable  used in loop was also used in an outer loop.
2024-01-09 20:39:24 +01:00
Laurent Destailleur
3b54a23f5b Add test code 2024-01-09 19:22:05 +01:00
Frédéric FRANCE
959bae899a Function should return string|null but return statement is missing. 2024-01-09 18:59:12 +01:00
Frédéric FRANCE
615acae89f Method should return int|null but return statement is missing. 2024-01-09 18:56:07 +01:00
Frédéric FRANCE
185b65712a Method should return null but return statement is missing. 2024-01-09 18:51:11 +01:00
Frédéric FRANCE
cc48dd54dd Update html.formadmin.class.php 2024-01-09 18:49:58 +01:00
Frédéric FRANCE
2fa639d595 Method should return int|null but return statement is missing 2024-01-09 18:46:54 +01:00
Frédéric FRANCE
dc3564f84a Method should return null but return statement is missing 2024-01-09 18:41:50 +01:00
Laurent Destailleur
78601732d2 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-09 17:13:20 +01:00
Laurent Destailleur
cdf2e4408c Debug v19 2024-01-09 16:56:32 +01:00
Laurent Destailleur
6f144a7ccf Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-09 16:43:13 +01:00
Noé
c2f3ce1491 FIX: BarCode Header not well displayed 2024-01-09 15:38:35 +01:00
Frédéric FRANCE
df101b9634 dol_compress_dir creates invalid zip with windoze 2024-01-09 14:30:41 +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
MDW
901377cdf6 Fix: Add missing argument in getOnlineSignatureUrl
# Fix: Add missing argument in getOnlineSignatureUrl.

The function requires 5 arguments and only had 4.
2024-01-08 23:18:34 +01:00
MDW
728bfeadba Perf: Optimise dol_mimetype
# Perf: Optimise dol_mimetype

All preg_match() calls were executed even if they are all exclusive.
2024-01-08 22:15:11 +01:00
Laurent Destailleur
6a0ae2069e Merge pull request #27330 from Easya-Solutions/new-website-account-select
NEW fetch object by element for website account card
2024-01-08 21:26:51 +01:00
MDW
d25bf714d2 Fix: colorseries is already a simple array (fix phan notice)
#Fix: colorseries is already a simple array (fix phan notice)

This is reported by phan as a conversion to a list of an array that already is a list.
2024-01-08 18:29:56 +01:00
VESSILLER
353876c003 NEW fetch object by element for website account card 2024-01-08 15:00:56 +01:00
thibdrev
37871169ba phpcs 2024-01-08 14:08:49 +01:00
thibdrev
a7dc286784 Update profid.lib.php - Copy the algorithm to validate a SIRET 2024-01-08 14:01:37 +01:00
Laurent Destailleur
1f2d1a2df2 Fix color and dates are missings in export categories 2024-01-08 11:43:54 +01:00
Laurent Destailleur
ffd309e24e Fix missing notes for contacts 2024-01-08 11:27:54 +01:00
nat
8e5d8988c6 Update extrafields.class.php 2024-01-08 02:45:26 +01:00
nat
dde442ff6e FIX #27312 2024-01-08 02:36:15 +01:00
Frédéric FRANCE
30c789c80a fix phpdoc 2024-01-07 21:49:17 +01:00
Frédéric France
94b66d5411 clean code of boxes 2024-01-07 16:57:14 +01:00
Laurent Destailleur
c5cf8b8805 Debug v19 2024-01-07 15:07:59 +01:00
Laurent Destailleur
7cbc1c98fc Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-07 13:40:36 +01:00
Laurent Destailleur
bf17b8767c Debug v19 2024-01-07 11:15:48 +01:00
Laurent Destailleur
450707e4be Removed a file that is bugged and output bugged empty data on screen 2024-01-06 23:01:31 +01:00
Laurent Destailleur
ec83939a81 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-06 22:34:03 +01:00
Laurent Destailleur
fc36553265 Fix #yogosha19809 2024-01-06 22:33:39 +01:00
Laurent Destailleur
27fc5a2f84 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-06 16:56:28 +01:00
Laurent Destailleur
76ee9e506d Debug v19 2024-01-06 16:43:01 +01:00
Laurent Destailleur
c6c40e4c4a Fix css 2024-01-06 13:01:58 +01:00
Laurent Destailleur
e8fa7aeebb Merge pull request #27304 from alexandre-janniaux/discount-commonobject/1
QUAL: DiscountAbsolute: inherit CommonObject to implement errorsToString
2024-01-05 18:42:32 +01:00
Alexandre Janniaux
e3e2dd348d discount: remove now duplicated fields
Now that DiscountAbsolute is a CommonObject, some fields are duplicated
in the definition of the class and already defined in the CommonObject
class.
2024-01-05 14:55:00 +01:00
Alexandre Janniaux
8cfb183152 discount: add errorsToString()
$localobject->errorsToString() is available in most objects using $db or
other systems generating errors because they inherit from CommonObject.
However, DiscountAbsolute didn't inherit from it.

Extending CommonObject allows to implement the usual behaviour for core
objects like referencing the user doing the action.
2024-01-05 14:54:55 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
ccaae7ab24 Clean code 2024-01-05 03:41:22 +01:00
Laurent Destailleur
bbf687da0c Fix warning 2024-01-05 03:08:16 +01:00
Laurent Destailleur
cabaf7aad4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-04 15:27:12 +01:00
Laurent Destailleur
b5cdfd5190 Rename class file for pdf generation to match Dolibarr standard 2024-01-04 15:23:46 +01:00
Laurent Destailleur
32dec98d14 Fix warning 2024-01-04 15:06:37 +01:00
Laurent Destailleur
0ea29a9252 Doxygen 2024-01-04 15:00:56 +01:00
Laurent Destailleur
1b660bddf0 Fix parameter type 2024-01-04 14:48:02 +01:00