Commit Graph

3703 Commits

Author SHA1 Message Date
Laurent Destailleur (aka Eldy)
10698ebf2a Doc 2024-12-13 14:13:17 +01:00
Frédéric France
0e85534a2d fix phpstan 2024-12-10 20:22:52 +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)
3284f21e91 Fix remind for expired membership ko when date of renewal does not end
with 00:00:00
2024-12-02 01:30:13 +01:00
Laurent Destailleur (aka Eldy)
39b63052da Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-30 12:53:31 +01:00
Frédéric FRANCE
f2c2b634e3 fix CI (#32153) 2024-11-30 12:51:38 +01:00
Laurent Destailleur (aka Eldy)
b9e81ef46c Fix search in member list (lastname and company) 2024-11-29 16:36:58 +01:00
Laurent Destailleur (aka Eldy)
07536ea01a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-29 15:25:49 +01:00
Laurent Destailleur (aka Eldy)
787efd3497 Debug v21 2024-11-28 22:41:20 +01:00
Laurent Destailleur (aka Eldy)
670e6464e8 Fix selection of state from country in member creation 2024-11-28 22:25:53 +01:00
David Beniamine
d2d592ebd6 Make sure that thirdparty is actually loaded before using it's country for lang (#32107) 2024-11-27 22:03:41 +01:00
Laurent Destailleur (aka Eldy)
353633cef8 Revert to use instead #32123 2024-11-27 21:59:20 +01:00
Laurent Destailleur (aka Eldy)
13ad68d8bf Try fix phan phpstan 2024-11-27 21:46:16 +01:00
Laurent Destailleur (aka Eldy)
6eb8870992 Test 2024-11-27 21:35:48 +01:00
Laurent Destailleur (aka Eldy)
c1d6e0411c Test 2024-11-27 21:31:14 +01:00
Laurent Destailleur (aka Eldy)
a6e8fbc899 Test 2024-11-27 21:26:23 +01:00
Laurent Destailleur (aka Eldy)
fbb4c3d025 Try to fix phan 2024-11-27 21:12:35 +01:00
Laurent Destailleur
dbba584dfb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-22 09:19:12 +01:00
Frédéric FRANCE
9aca86d16a fix phpstan (#32049)
* fix phpstan

* refix
2024-11-22 00:39:22 +01:00
Frédéric FRANCE
75400611e1 fix phpstan (#32040)
* fix phpstan

* fix

* fix

* fix

* fix

* fix

* fix
2024-11-21 22:36:00 +01:00
Frédéric FRANCE
57d121664f set object entity at create (#32019)
* set object entity at create

* set object entity at create

* set object entity at create

* set object entity at create

* set object entity at create

* set object entity at create

* do not break multicompany thing

* do not break multicompany thing

* missing translation

* fix phpstan

* doc

* fix entity

* fix set entity
2024-11-21 19:11:32 +01:00
Laurent Destailleur
687e71dfa3 Debug v21 2024-11-21 19:05:06 +01:00
Laurent Destailleur
12ec583cb8 Look and feel v21 2024-11-20 15:40:51 +01:00
Frédéric FRANCE
daae68f9d3 Fix phpstan (#32005)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-19 21:02:05 +01:00
Frédéric FRANCE
943d10c60a fix phpstan and CI (#31969)
* fix phpstan

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline
2024-11-18 15:10:29 +01:00
Thibault Parodi
be72bfa664 FIX #29424 API GET member categories (#31881)
* Fix members categories when user is not found

* Return empty array instead of 0 when member does not have category assigned
2024-11-15 23:57:58 +01:00
Anthony Damhet
185c703c64 NEW Reminder Mail by Adherent Type (#30142)
* Reminder Mail by Adherent Type

In order to restrict the sending of emails only to this type of member

* String to Int

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 23:15:52 +01:00
Frédéric FRANCE
2c4d1038d0 fix phpstan (#31805)
* fix

* fix

* fix

* fix

* fix
2024-11-13 22:37:17 +01:00
iLLixM
3b0ccddaea set payment method information on new membership subscriptions (#31750)
When creating new membership subscriptions and choosing to create an invoice (for linked thirdparty), existing payment method information of the customer should be used.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-12 03:37:48 +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
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
Alain Rihs
7b3ace0c3e __MEMBER_TITLE__ insteda of __MEMBER_CIVILITY__ (#31721)
For labels, __MEMBER_TITLE__ insteda of __MEMBER_CIVILITY__

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-07 17:33:33 +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
Alain Rihs
32640c4f91 NEW|add member civility to the labels (#31710)
* Update carte.php

add member civility to the labels, as described on https://www.dolibarr.fr/forum/t/personnaliser-champs-a-imprimer-sur-etiquettes-pdf-des-adherents/47668

But I don't know how to do to add extrafields. If anybody has an idea to get me on the track...

* Update carte.php

as proposed by @hregis

* added member extrafield

added member extrafields to display extrafields values

* Update carte.php

* Update carte.php

* Update carte.php

* Update carte.php

* Update carte.php

* Update carte.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-07 05:03:23 +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
iLLixM
08714ea39b New: set bank account information to invoice on new membership subscriptions (#31688)
* set bank account information on new membership subscriptions

When creating new membership subscriptions and choosing to create an invoice, existing bank account information should be used.

* (fix phpstan) set bank account on new membership subscriptions

set bank account information on new membership subscriptions

When creating new membership subscriptions and choosing to create an invoice, existing bank account information should be used. Added
2024-11-05 15:26:38 +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
6a7fac3545 Fix #31609 2024-10-28 19:15:44 +01:00
Laurent Destailleur
91a0f6945c css 2024-10-27 02:50:06 +01:00
Laurent Destailleur
f5e4ab0220 Rewrite code to prepare refactoring 2024-10-26 15:24:54 +02:00
Laurent Destailleur
9a6ec3b059 CSS 2024-10-25 13:47:24 +02:00
Laurent Destailleur
ff4344d5c8 Clean code 2024-10-24 01:12:58 +02:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
ptibogxiv
d5d7d484a8 NEW get member by thirdparty account (#31296)
* NEW get member by thirdparty account

* Update api_members.class.php

* Update api_members.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-07 14:20:27 +02:00
Laurent Destailleur
3f0aef062e Standardize code 2024-10-04 19:09:00 +02:00
MDW
2d0b1de36f Qual: Add codespell entries to catch some css typos (#31222)
# Qual: Add codespell entries to catch some css typos

Added some codespell entries based on the observed typos in css
tags
2024-10-03 19:36:59 +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
Frédéric FRANCE
d9902225ca fix phpstan (#31187)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 21:50:37 +02:00
Laurent Destailleur
292206fb22 Fix init of $arrayfields 2024-09-29 15:38:20 +02:00