Commit Graph

11575 Commits

Author SHA1 Message Date
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
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
830029dd05 NEW Iban is saved encrypted 2024-10-24 13:03:52 +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
omogenot
6b6d2398e1 Update pdf.lib.php (#31530)
Fix pdf_build_address function to use company address information should the contact information be empty.
This could occurs should a user define a hook that sets the contact object to null from the passed by reference $Parameters['targetcontact']
2024-10-24 03:16:23 +02:00
John BOTELLA
23722b3db8 Fix v20 linked doc note info repeated (#31462)
* FIX : space used by linked elements in PDF notes

* fix data repeated on object public note
2024-10-24 02:54:31 +02:00
Frédéric FRANCE
e2ac3330a8 fix phpstan (#31480) 2024-10-24 00:27:53 +02:00
Frédéric FRANCE
a185fb4296 fix phpstan (#31479)
* fix phpstan

* fix phpstan
2024-10-20 10:13:40 +02:00
Frédéric FRANCE
bc06268df6 fix concat and CI 🔧 (#31469)
* fix concat

* fix overwrite

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-20 00:20:48 +02:00
Laurent Destailleur
22c4d8f814 Merge 2024-10-19 14:56:14 +02:00