Commit Graph

3081 Commits

Author SHA1 Message Date
Frédéric FRANCE
cf83ff70ef fix CI 2024-12-10 09:47:42 +01:00
Laurent Destailleur
973dab622f Debug v21 2024-12-09 23:26:37 +01:00
Frédéric France
c7c8542039 clean baseline 2024-12-09 22:02:52 +01:00
Frédéric FRANCE
88f71557d6 fix phpstan 2024-12-09 16:24:24 +01:00
Frédéric FRANCE
a2d51a8ae5 fix phpstan 2024-12-09 16:24:01 +01:00
MDW
ec2a1928ba Qual: Update fields phpdoc to include fields that are defined/used in some cases
# Qual: Update fields phpdoc to include fields that are defined/used in some cases

comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
Laurent Destailleur (aka Eldy)
4e6d3217bc Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-02 01:58:06 +01:00
Laurent Destailleur (aka Eldy)
5c321cc678 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-12-02 01:52:08 +01:00
Lucas Marcouiller
1080d0718c Fix no display of extrafields in bankentries_list (#32149)
* Fix no display of extrafields in bankentries_list

* fix error

* fix comment

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-29 17:03:25 +01:00
Laurent Destailleur
ac91727bb6 Debug v21 2024-11-21 04:49:57 +01:00
Laurent Destailleur
d04e0a7ac2 Debug v21 2024-11-21 04:45:11 +01:00
Laurent Destailleur
22da15fc6a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-20 23:30:16 +01:00
Lucas Marcouiller
0b81375f00 fix missing require in various_payment card (#32015)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-20 20:58:11 +01:00
Laurent Destailleur
1386d8c388 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-19 04:21:29 +01:00
Laurent Destailleur
e9e1175134 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-19 04:04:10 +01:00
Laurent Destailleur
93b11038d5 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-19 03:44:50 +01:00
kkhelifa-opendsi
d0323fa27d FIX : Update on a sold line of bank entrie set the type to empty, now it's fixed #22539 (#31888) 2024-11-15 23:53:04 +01:00
MDW
56dc321665 Qual: Fix phan notices (in order of appearance) (#31768)
* Qual: Fix phan notices (in order of appearance)

* Qual: Fix phan notices (in order of appearance)/2
2024-11-12 00:35:14 +01:00
Frédéric FRANCE
661059ca9a fix phpstan (#31763)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-11 14:33:53 +01:00
Frédéric FRANCE
92ef950e6d fix phpstan (#31761)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* hide new error with phpstan 1.12.9
2024-11-10 23:47:14 +01:00
Frédéric FRANCE
7ef1d270e7 fix phpstan in loan cards (#31758)
* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in cards
2024-11-10 17:55:36 +01:00
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* 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-11-10 11:16:23 +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
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
Laurent Destailleur
6ff8e846ad Debug v21 2024-10-30 17:46:13 +01:00
Laurent Destailleur
dd7fae3cdd Fix new button must be disabled if BANK_DISABLE_DIRECT_INPUT is on 2024-10-30 14:07:27 +01:00
Laurent Destailleur
6a7fac3545 Fix #31609 2024-10-28 19:15:44 +01:00
Laurent Destailleur
5a2e9bf7bf Look and feel v21 2024-10-27 02:14:11 +01:00
Laurent Destailleur
c41274dbd1 Debug v21 2024-10-26 21:09:09 +02:00
MDW
0ac595364b Qual: Fix phan/phpstan notices in class files (part 1) (#31501)
* Ignore phpstan configuration for spelling

* Qual: Fix phan notices in class files
2024-10-25 21:00:02 +02:00
Laurent Destailleur
8bae2d99d8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-24 20:13:12 +02:00
Alexandre SPANGARO
57614cc466 FIX #31365 Bank - Card - Ref haven't max length in edit mode (#31533) 2024-10-24 13:59:02 +02:00
Laurent Destailleur
8abfcf71a9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-24 13:54:13 +02:00
Laurent Destailleur
3bc1d35236 QUAL The property ->domiciliation and ->propio on bank accounts has been
deprecated and replaced with property ->address and ->owner_name
2024-10-24 12:38:41 +02:00
mikygee
e8f7237c63 Bug fix #31369 date_solde not taken into account when sent through API (#31490)
* Bug fix #31369 date_solde not taken into account when sent through API

* Move $account->date_solde = time() above

---------

Co-authored-by: mikael <mikael@expevelidv751.expertinet.net>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-23 23:58:08 +02:00
mikygee
d55f90b460 Bug fix #31369 date_solde not taken into account when sent through API (#31490)
* Bug fix #31369 date_solde not taken into account when sent through API

* Move $account->date_solde = time() above

---------

Co-authored-by: mikael <mikael@expevelidv751.expertinet.net>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-23 23:52:08 +02:00
Laurent Destailleur
03fa3aebd9 Fix missing css fieldrequired 2024-10-17 04:57:01 +02:00
Frédéric FRANCE
4b4fe7b128 fix opening bank date close #31366 (#31433) 2024-10-17 01:35:47 +02:00
Mohamed DAOUD
1ea380c5c2 Code Update For Migration of llx_categorie_bank content into llx_categorie (#31306)
* move category_bank to categorie

* fix

* fix cast

* fix phpunit
2024-10-09 01:48:05 +02:00
Laurent Destailleur
d7d8f87045 Clean code. Add permission test after action = something. 2024-09-30 11:38:29 +02:00
MDW
8236aed22f Qual: Fix phan notices (#31193)
# Qual: Fix phan notices

Fix phan notices in several classes that have UnknownObjectMethod calls and classes
that had notices in relation with these classes
2024-09-30 10:05:24 +02: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
Laurent Destailleur
397ccc576f FIX Remove wrong button 2024-09-24 13:24:44 +02:00
Laurent Destailleur
59477a2055 FIX Remove wrong button 2024-09-24 13:23:37 +02:00
MDW
5e02bec9df Qual: Fix getTooltipContentArray typing hints (#31081)
* Qual: Fix getTooltipContentArray typing hints

# Qual: Fix getTooltipContentArray typing hints

This defines the aray type for all getTooltipContentArray occurences

* Ignore undeclared property ref_supplier (does not exist on OrderLine)
2024-09-23 03:24:19 +02:00
Laurent Destailleur
84e5f5e7b4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-20 02:51:59 +02:00
Laurent Destailleur
401c9898bb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-20 02:46:03 +02:00
William Mead
7d92e4daef Fix bank account domiciliation address (#31019)
* Fixed bank account domicilation update

* Fixed bank address on create
2024-09-20 01:47:23 +02:00