Commit Graph

11042 Commits

Author SHA1 Message Date
Laurent Destailleur
387a06fdc5 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-01-18 15:59:10 +01:00
Laurent Destailleur
7c0ccba344 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-01-18 15:58:19 +01:00
Laurent Destailleur
5d3c775b69 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-18 12:19:08 +01:00
Laurent Destailleur
8ca7f0c989 Fix var_dump 2024-01-17 20:38:22 +01:00
Lamrani Abdel
ae692ccffd New display style for list of events of user 2024-01-16 13:20:31 +01:00
Frédéric FRANCE
17db5dc028 Merge branch 'develop' into patch-11 2024-01-15 21:59:25 +01:00
Laurent Destailleur
47bb0cd17a Merge pull request #27544 from thibdrev/patch-1
fix phpstan
2024-01-15 21:54:31 +01:00
Laurent Destailleur
772508f95e Merge pull request #27545 from lamrani002/updateEventAgendaOnUser
NEW functionality for list event for user
2024-01-15 21:49:50 +01:00
Laurent Destailleur
8ec4398166 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-15 21:49:19 +01:00
Laurent Destailleur
3e3e6ec139 Fix doxygen 2024-01-15 21:49:03 +01:00
Laurent Destailleur
9814d80612 Merge pull request #27548 from frederic34/patch-5
fix phpstan
2024-01-15 21:43:15 +01:00
thibdrev
f5e0a9c411 phpstan
Function dol_get_first_day() should return int but returns string.
Function dol_get_last_day() should return int but returns string.
2024-01-15 20:56:59 +01:00
Frédéric FRANCE
5ee50bd9a9 fix phpstan 2024-01-15 20:45:47 +01:00
Frédéric FRANCE
a87ba1a9c1 fix phpstan 2024-01-15 20:41:32 +01:00
Laurent Destailleur
4ef0181805 Merge branch 'develop' into updateEventAgendaOnUser 2024-01-15 20:15:10 +01:00
Laurent Destailleur
346bf91ced Merge branch 'develop' into updateEventAgendaOnUser 2024-01-15 19:38:15 +01:00
Laurent Destailleur
1df6bb4242 Update usergroups.lib.php 2024-01-15 19:37:46 +01:00
Laurent Destailleur
2cfee1fb3c Doc 2024-01-15 19:32:35 +01:00
Lamrani Abdel
ca52a8180e add function for list event for user 2024-01-15 18:57:41 +01:00
thibdrev
f41a5bc752 phpstan
Function dol_get_first_day() should return int but returns string.
Function getWeekNumber() should return int but returns string.
2024-01-15 18:54:33 +01:00
Eric Seigne
5a04b2393d end fix #10417 : custom payment number for supplier invoices 2024-01-15 18:43:17 +01:00
Laurent Destailleur
55067371ca Doc 2024-01-15 18:06:11 +01:00
Frédéric France
4fbb5b01be use shorter name for function 2024-01-15 17:48:20 +01:00
Laurent Destailleur
5b04976a2a Merge pull request #27518 from frederic34/patch-7
fix phpstan
2024-01-15 11:37:57 +01:00
Laurent Destailleur
a2df2f2553 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-15 11:33:16 +01:00
Laurent Destailleur
3ac7706a63 Clean code 2024-01-15 11:28:25 +01:00
Christophe Battarel
ab206910ab change to receptiondet_batch into scripts 2024-01-15 09:40:59 +01:00
Frédéric FRANCE
15b1ff5b69 fix phpcs 2024-01-15 00:08:02 +01:00
Frédéric FRANCE
c8ecdb8e7a add function isDolValidTms 2024-01-15 00:02:34 +01:00
Frédéric FRANCE
13c9707c9d fix phpstan 2024-01-14 22:34:37 +01:00
Frédéric FRANCE
b0e840e970 fix phpstan 2024-01-14 22:27:23 +01:00
MDW
a04f2bf4e7 Qual: Spelling fixes that newly appeared. (#27495)
* Qual: Spelling fixes that newly appeared.

# Qual: Fix spelling erros that appeared since the bulk updates.

These issues mostly appeared since the bulk updates (a few ones were postponed
to make sure no real spelling errors were missed.)

* Update modulebuilder.lib.php

* Update pdf_standard.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:26:37 +01:00
MDW
89004f7e03 Qual: Spelling htdocs/core (#27491)
Highlights:
- initialY in pdf_standard.modules.php was unused
  - remove (otherwise -> initially) (+same in other file)
2024-01-13 19:48:20 +01:00
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
Frédéric FRANCE
c5db3e2d8f fix phpstan (#27482) 2024-01-13 15:32:37 +01:00
Frédéric FRANCE
677109df41 fix phpstan (#27483)
* fix phpstan

* fix phpstan
2024-01-13 15:32:07 +01:00
Laurent Destailleur
e2c91e67a0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-12 21:41:20 +01:00
Laurent Destailleur
569d9426d7 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-12 21:40:51 +01:00
thibdrev
96383a10a5 qual: move the function checking the syntax of Spanish Tax Identification Numbers (CIF, NIF, NIE) to profid.lib.php (#27472)
* qual: Move the function checking Spanish Tax Identification Numbers from societe.class.php to profid.lib.php

Create the function isValidTinForES($str)

* qual: Update societe.class.php using function isValidTinForES($str) from profid.lib.php

* phpcs

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 20:59:42 +01:00
Frédéric FRANCE
0d3e0c8ec4 fix incorrect case and remove exclude check (#27449) 2024-01-12 20:40:34 +01:00
thibdrev
dd2a3c05d9 qual: move into profid.lib.php the code checking the idprof1 syntax for BE, DZ and PT (#27443)
* qual: Update profid.lib.php - move functions checking profid from societe.class.php

- One function checking the Tax Identification Number for PT (called NIF)
- One function checking the Tax Identification Number for DZ (called NIF)
- One function checking the Tax Identification Number for BE (called NN)

* qual: Update societe.class.php - use the isValidTinXX() functions from profid.lib.php

isValidTinForPT($this->idprof1)
isValidTinForDZ($this->idprof1)
isValidTinForBE($this->idprof1)

* typo
2024-01-12 17:53:29 +01:00
Frédéric FRANCE
45d47d1dc9 fix phpstan (#27444) 2024-01-12 17:15:39 +01:00
Frédéric FRANCE
09daa41a1e remove use not used (#27463)
* remove use not used

* Update website.lib.php
2024-01-12 16:48:29 +01:00
Laurent Destailleur
f03eb1f505 Fix restore old code due to regression on some lang.
Add hidden PDF_USE_GETALIASNBPAGE_FOR_TOTAL for the case it bugs
2024-01-12 16:47:09 +01:00
Christophe Battarel
3e7cf0a463 fix pdf nbpages (#27457)
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-01-12 16:14:15 +01:00
Laurent Destailleur
cc5838c0d0 Add method getNbOfImagePublicURLOfObject() 2024-01-12 16:12:23 +01:00
Laurent Destailleur
32f0443289 Rename into getImagePublicURLOfObject 2024-01-12 13:45:10 +01:00
Laurent Destailleur
aba9afe9f1 NEW Add method getPublicImageOfObject() for website module 2024-01-12 13:05:28 +01:00
thibdrev
d3416b864c Fix: SIRET syntax check - Handle the specific case of "La Poste" businesses (#27418)
* fix: SIRET syntax check - Handle the specific case of "La Poste" businesses

* phpcs

* phpcs

* typo
2024-01-11 12:49:39 +01:00
Laurent Destailleur
e4360d181b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 10:53:58 +01:00