2
0
forked from Wavyzz/dolibarr
Commit Graph

12442 Commits

Author SHA1 Message Date
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
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Frédéric FRANCE
0349f5b513 fix unable to resolve template T (#31680) 2024-11-04 12:24:18 +01:00
MDW
f4ff437026 Qual: Fix phan/phpstan notices in class files (part 4) (#31598)
* Qual: Fix phan notices for DolibarrModules.class

* Qual: Fix notices for classes actioncomm..task.class.php

* fixup! Qual: Fix notices for classes actioncomm..task.class.php

* Qual: Fix new notices blocking PR
2024-10-30 21:33:30 +01:00
Mohamed DAOUD
057581aaf7 NEW Add Filter Assistance for Filling Filters Field (#31646)
* work on report page

* add translation

* optimize the query

* fix

* fix trans

* Update customreports.php

* Update customreports.php

* Update customreports.php

* fix phan
2024-10-30 21:29:41 +01:00
Regis Houssin
26e89a7760 FIX this constant break the dictionary admin without Multicompany (#31638) 2024-10-30 21:10:49 +01:00
Laurent Destailleur
eaf92c9fa4 FIX better regex to detect substitution key 2024-10-30 19:53:40 +01:00
Laurent Destailleur
c34ea09c2c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-30 18:17:59 +01:00
Laurent Destailleur
590ef86f40 Warning 2024-10-30 18:09:26 +01:00
Laurent Destailleur
e37737695e Clean code 2024-10-30 18:04:54 +01:00
Laurent Destailleur
3c65972ff8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-30 18:03:57 +01:00
Laurent Destailleur
9e1c640eee FIX open redirection 2024-10-30 18:03:31 +01:00
Laurent Destailleur
2e56340386 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-30 17:46:36 +01:00
Laurent Destailleur
f1f08010db Clean code 2024-10-30 14:09:17 +01:00
Laurent Destailleur
c8c4bd4e7f Debug v21 2024-10-30 02:38:59 +01:00
Laurent Destailleur
318148354b Enhance setup of virtual card 2024-10-30 00:08:43 +01:00
lamrani abdelwadoud
fc8c299b3e Update change select to button on/off (#31443)
* change select to button on/off

* fix error and update view to show social network enabled

* remove var_dump'

* add function getSocialNetworks

* fix errors params in function

* fix errors travis

* fix errors

* update type of params

* fix type of params in function getSocialNetwork

* remove ve_dump

* remove function getSocialNetwork
2024-10-29 23:09:56 +01:00
Laurent Destailleur
dc73fe6d68 Fix add option to restore compatibility 2024-10-29 21:40:32 +01:00
Regis Houssin
2350d1df99 FIX a dictionary CANNOT have zero value in entity field (#31625) 2024-10-29 21:35:51 +01:00
Frédéric FRANCE
7dfa9b7d33 remove unused code (#31610)
* remove unused code

* remove unused code

* fix typo

* fix

* fix

* fix
2024-10-28 19:49:01 +01:00
Benoît PASCAL
ff9e2f3ce9 NEW: add duration extrafields (#31595)
* new: add duration extrafields

* style: fix style

* ci: fix precommit config

* style: run cs fixer

* ci: adapt type to fit with php-stan

* ci: adapt type to fit with php-stan

* ci: adapt type to fit with php-stan

---------

Co-authored-by: Benoît PASCAL <contact@p-ben.com>
2024-10-28 18:33:11 +01:00
Laurent Destailleur
838316418f CSS 2024-10-28 14:33:59 +01:00
Laurent Destailleur
d1b348f051 Work on generic captcha architecture 2024-10-28 03:30:44 +01:00
Laurent Destailleur
09668af4f4 Work on generic captcha architecture 2024-10-28 03:06:35 +01:00
Laurent Destailleur
791651467c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-28 02:08:01 +01:00
Laurent Destailleur
34eb56ba53 Removed the deprecated page MAIN_HELPCENTER_DISABLELINK 2024-10-28 02:07:37 +01:00
Frédéric FRANCE
475976a733 fix phpstan (#31597)
* fix phpstan

* fix phpstan

* fix phpstan
2024-10-28 00:53:03 +01:00
Laurent Destailleur
52ece961f0 Look and feel v21 2024-10-27 02:03:44 +01:00
Laurent Destailleur
e25800c042 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-26 20:03:53 +02:00
Laurent Destailleur
38fa5d28db Debug v21 2024-10-26 20:03:22 +02:00
sonikf
1778e56745 NEW: PDF add discount total if line discount exists (#31483)
* NEW: PDF add total discount if line discount exists

* NEW: PDF add total discount if line discount exists

* NEW: PDF add discount total if line discount exists

* NEW: PDF add discount total if line discount exists

* NEW: PDF add discount total if line discount exists

* NEW: PDF add discount total if line discount exists

* php doc

* Add missing translation

* fix missing translation
2024-10-26 18:29:06 +02:00
Mathieu Moulin
6ee1d83dff Fix ajax selectobject with commonobjectline objects (#29941)
* Fix ajax selectobject with commonobjectline objects

* Clean code : put in another branch

* Parent element defined for CommonObjectLines

* Clean code

* Clean code

* Parent element defined for CommonObjectLines

* Parent element defined for CommonObjectLines

* Clean code

* getElementProperties for commonObjectLines

* Remove changes to split into multiple PRs

* fix mistake in previous commit

* fix mistakes (thanks pre-commit)

* fix mistakes (thanks again pre-commit)

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-26 17:03:34 +02:00
Laurent Destailleur
9396be1dbc Clean ckeditor setup 2024-10-26 16:22:05 +02:00
Laurent Destailleur
649adf7736 NEW Can define the text on tooltip on a yesno check. 2024-10-26 14:05:51 +02:00
Josep Lluís
e8080657ec NEW Add thirdparty state in substitution array (#31549)
* Add thirdparty state in substitution array

Add thirdparty state in substitution array

* Update functions.lib.php
2024-10-26 13:11:21 +02:00
Frédéric FRANCE
19b653a599 fix phpstan (#31564)
* fix phpstan

* fix phpstan
2024-10-26 13:03:04 +02:00
Frédéric FRANCE
e0c1b067d8 add phpdoc (#31562)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc
2024-10-26 13:02:00 +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
lamrani abdelwadoud
43e3dff510 add badge for section fourn generated invoices (#31560) 2024-10-25 20:45:53 +02:00
lamrani abdelwadoud
dcf7f91f71 NEW Add badge for generate invoice client tab (#31559)
* Add badge for generate invoice client tab

* urlencode for add to url
2024-10-25 20:45:12 +02:00
MDW
28e78d6cb4 Qual: Fix phan/stan notices for conferenceorbooth, facture-re, productcustomerprice (#31541) 2024-10-25 14:18:17 +02:00
lamrani abdelwadoud
ebbc0e6693 Add tab Note for fournisseur facture_rec (#31405)
* Add tab Note for fournisseu facture_rec

* fix error

* add tooltip for notes to list substitution variables

* add object for param in function

* fix errors undeclared variables

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-25 13:20:54 +02:00
Laurent Destailleur
76b070fc47 Debug v21 2024-10-25 12:30:50 +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
lamrani abdelwadoud
edb1d2c1a3 New tab Note for facture_rec (#31404)
* Add tab Note for facture_rec

* fix error

* add tooltip for note

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-24 19:52:29 +02:00
Laurent Destailleur
059e7875d0 css 2024-10-24 19:36:10 +02:00
Laurent Destailleur
c16883e489 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-24 15:34:22 +02:00
Laurent Destailleur
808d5ee169 NEW Add a tool to decrypt data encrypted in database. 2024-10-24 15:34:02 +02:00
MDW
0d2f1cf666 Qual: Fix phpstan notices (int expected) (#31485)
# Qual: Fix phpstan notices (int expected)

Fix several notices where int was expected (casting/phpdoc/GETPOSTINT).
Separate phpstan exceptions for methods containing 'pdf' from
other methods/functions.
2024-10-24 14:01:30 +02:00
John BOTELLA
e31adc98fa Fix watermark alpha transparency (#31535) 2024-10-24 13:57:57 +02:00