Lenin Rivas
429aff6991
FIX divisa rate indirect to direct because Dolibarr use indirect for default ( #37046 )
...
* FIX rate_indirect to rate_direct
Direct : 1 Divisa Currency = X Currency Main.
Indirect : 1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default
* FIX divisa rate indirect to direct
Direct : 1 Divisa Currency = X Currency Main.
Indirect: 1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default
* FIX divisa rate indirect to direct
Direct : 1 Divisa Currency = X Currency Main.
Indirect: 1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default
* FIX divisa rate indirect to direct
Direct : 1 Divisa Currency = X Currency Main.
Indirect: 1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default
* FIX divisa rate indirect to direct
Direct : 1 Divisa Currency = X Currency Main.
Indirect: 1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default
* Divisa rate direct
Direct : 1 Divisa Currency = X Currency Main.
Indirect: 1 Currency Main = X Divisa Currency.
Then for Dolibarr use is Indirect for default
* Add col rate_direct because Dolibarr use for.default rate indirect
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2026-02-01 18:13:09 +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
Frédéric FRANCE
29b3880e6c
add dolBuildUrl ( #35664 )
...
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
* clean baseline
* add dolBuildUrl
* add dolBuildUrl
* add dolBuildUrl
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-10-17 02:31:07 +02:00
ldestailleur
6ed764bedf
Clean code
2025-09-18 11:40:56 +02:00
Frédéric FRANCE
0e1478206a
clean code ( #35229 )
...
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-09-08 01:48:52 +02:00
ldestailleur
aca71e1573
Standardize code
2025-08-10 03:22:19 +02:00
Laurent Destailleur
82098594a6
Fix warning
2025-07-31 22:13:45 +02:00
ldestailleur
f406b9e211
Debug v22
2025-06-23 01:04:24 +02:00
ldestailleur
739cbe063b
Fix missing
2025-06-19 16:47:12 +02:00
ldestailleur
2cfa986ad5
Doc
2025-06-19 15:58:23 +02:00
ldestailleur
ec8a87a3cb
Doc
2025-06-19 15:49:26 +02:00
ldestailleur
5b9a8ca4a0
Better error management
2025-03-21 14:47:35 +01:00
ldestailleur
c947faeff1
NEW Update of currency supports also apilayer (not only currencylayer)
2025-03-21 14:40:56 +01:00
MDW
0cc1aa6d80
Qual: Fix phan notices (asset..compta/paiement) ( #33484 )
...
* Qual: Fix phan notices (accountancy, adherents)
* Qual: Fix phan notices (admin)
* Qual: Fix phan notices (asset..compta/paiement)
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-03-16 20:45:04 +01:00
MDW
f625f8de60
Qual: Fix api phan notices
2025-03-05 13:22:08 +01:00
MDW
035ede5874
Qual: Fix phan notices in API classes
2025-03-02 20:49:46 +01:00
MDW
c02293a880
Qual: Add phpdoc for request_data param
2025-03-02 20:49:45 +01:00
MDW
687421d8f0
Qual: Fix phan notices (multicurrency,opcache,opensurvey)
2025-02-08 12:42:27 +01:00
Laurent Destailleur
e307b9d575
Merge pull request #32907 from hregis/fix_20_multicurrency
...
FIX problem of duplicate data with Multicompany
2025-02-05 00:33:51 +01:00
Regis Houssin
01d9ff6a1b
FIX phan error
2025-02-02 07:10:28 +01:00
Regis Houssin
d32f1e716a
FIX missing entity filter
2025-02-01 14:48:39 +01:00
Regis Houssin
d831e30869
FIX multicompany compatibility
2025-01-30 08:29:46 +01:00
Frédéric FRANCE
b10dc8e141
fix
2024-12-09 16:34:26 +01:00
Laurent Destailleur (aka Eldy)
5fa3881f64
Debug v21
2024-12-09 14:07:37 +01:00
Laurent Destailleur
31f147622a
The deprecated GET parameter "&sall=" has been removed, use now the
...
"&search_all=".
2024-11-07 12:26:42 +01:00
MDW
178d748cad
Qual: Fix phan/phpstan notices in class files (part 5) ( #31617 )
...
* Qual: fix commonstickergen..don.class
* Fix notifications for pdf_paiement...cronjob.class
* Qual: Fix notifications for emailcollector..price_parser.class
* Ensure that NULL is used in the database when fk's are 0/empty
* Fix notifications for pdf_paiement...cronjob.class
* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
2024-11-06 20:15:15 +01:00
Frédéric FRANCE
1adc883b56
add baseline exclude for phpstan ( #31632 )
...
* add baseline exclude for phpstan
* update
* update
* update
* update
* update
* merge
* restore one filter
* delete old errors
* fix
* fix
* fix
* $moreforfilter can t be empty
* fix
* enable check
* refresh baseline
* add phpdoc
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-04 23:53:20 +01:00
MDW
b91c99b18a
Qual: Fix phan/phpstan notices in class files (part 3) ( #31578 )
...
* fix phpstan in conf class (#31630 )
* fix phpstan
* fix phan
* Fix merge
* Qual: Avoid notification with typing hint
* Qual: Fix notices link.class
* Qual: Fix notices link..socialneetworkmanager.class and DoliDb->DoliDB
* Qual: Fix notices for link..utils.class
* Qual: Fix notices for db classes
* Update translate.class.php
* Update translate.class.php
---------
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com >
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-10-29 22:44:47 +01:00
MDW
42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset ( #31176 )
...
* Qual: Enable & fix or ignore Invalid DimOffset
# Qual: Enable & fix or ignore Invalid DimOffset
The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.
This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later
* Nullable object typing in function signature not ok for 7.0/8.4
Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-29 21:52:31 +02:00
Laurent Destailleur
b32225283d
Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop
2024-09-25 22:32:36 +02:00
Laurent Destailleur
59dadd88a3
FIX Duplicate trigger printFieldPreListTitle
2024-09-25 13:43:11 +02:00
William Mead
ae59ed2c97
Moved currency rate class to separate file. Updated requires. Added contributor details. ( #30974 )
2024-09-20 02:21:18 +02:00
Frédéric FRANCE
ea82f9578f
fix phpstan ( #30987 )
...
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-17 00:36:38 +02:00
Frédéric FRANCE
80d1f47d4d
fix ignored phpstan (most of expects string, int given) ( #30649 )
...
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-05 16:05:37 +02:00
Laurent Destailleur
c8505f9c0a
Fix missing test on permissions
2024-09-01 21:04:53 +02:00
MDW
46eb5f83c2
Qual: Updates for phpstan notices ( #30509 )
...
* Fix int<0> typing to int<0,0> for phpstan
* Fix phpdoc for phpstan
* Fix phpdoc for phpstan
* Qual: Several phpstan notice fixes
* Fix phpdoc
* Qual: totalpaid is never null, remove null test
* improve phpdoc typing
* Also return null to statisfy phpstan
* Allow null value for $var
* object->Object to make it meaningful
* Type EvalMathStack properties
* Comment out unused private methods (phpstan)
* Changes for phpstan (return values, phpdoc, code)
* Change order of tests for phpstan
* phpdoc object to Object for correct typing
* Typing hing for phpstan
* UPdate test for phpstan
* Change phpdoc position for phpstan
* Update phpdoc for phpstan
This needs further improvement
* Change $op to $ope to fix phpstan
* Update sqlite3.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-08-01 12:59:45 +02:00
Alexandre SPANGARO
96afcaa476
Better comments ( #30200 )
...
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* CI Missing language key
* Update eventorganization.lang
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-06-30 21:02:50 +02:00
Laurent Destailleur
71169e6e3d
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-06 09:36:31 +02:00
PsyCrow
27a5b02a28
Prevents PHP Warnings on multicurrency_rate.php ( #29485 )
...
* Prevents PHP Warnings on multicurrency_rate.php
Prevents PHP Warnings about undefined variables
$type
$texte
$newcardbutton
and Undefined array key "nbfield"
* Update multicurrency_rate.php
Avoid PHP Warnings about undefined variables: $type, $texte, $newcardbutton and Undefined array key "nbfield"
2024-05-05 00:38:59 +02:00
Laurent Destailleur
0a3f66c6c4
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
dev/tools/codespell/codespell-ignore.txt
htdocs/admin/system/security.php
htdocs/core/class/commondocgenerator.class.php
htdocs/core/menus/standard/eldy.lib.php
htdocs/product/fournisseurs.php
2024-04-11 22:57:43 +02:00
Alban Durrheimer
3161c97426
Fix multicurrency syncRates disable condition ( #29322 )
2024-04-11 20:48:25 +02:00
Laurent Destailleur
b5de782c6b
Fix use the good HTTP code
2024-04-07 14:59:25 +02:00
Laurent Destailleur
990216b13f
NEW Api parameters are sanitized by the WAF, same code than GET/POST
2024-04-02 13:07:13 +02:00
MDW
aeefca7e7e
Fix $arrayfields typing lost by dol_sort_array() by forcing the type
2024-03-20 23:29:48 +01:00
Laurent Destailleur
e994d6650f
Fix regression in GETPOST limit
2024-03-16 11:41:00 +01:00
Laurent Destailleur
79aa9fb1f1
Code simpler
2024-03-15 20:29:21 +01:00
MDW
cc5207a531
Fix rate can be null
2024-03-15 10:12:35 +01:00
Lamrani Abdel
0bb1dfca0c
FIX the variable type by adding null to the variable document
2024-03-14 16:09:10 +01:00
Frédéric FRANCE
895aa5ee85
fix phpstan ( #28735 )
...
* fix phpstan
* fix phpstan
* fix phpstan
2024-03-10 01:44:08 +01:00