2
0
forked from Wavyzz/dolibarr
Commit Graph

4170 Commits

Author SHA1 Message Date
Frédéric FRANCE
4f777f58dc fix ecmfile tooltip (#30993)
* Update ecmfiles.class.php

* Update ecm.lang

* Update ecmfiles.class.php

* add translations

* wip

* wip

* enhance tooltip

* fix

* fix

* fix

* fix ajaxtooltip

* fix picto

* fix picto

* fix sql

* tooltip

* tooltip

* test
2024-11-07 05:07:41 +01:00
Laurent Destailleur
4bdd848bbe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 13:26:08 +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
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
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
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
52ece961f0 Look and feel v21 2024-10-27 02:03:44 +01: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
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
MDW
28e78d6cb4 Qual: Fix phan/stan notices for conferenceorbooth, facture-re, productcustomerprice (#31541) 2024-10-25 14:18:17 +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
Laurent Destailleur
11d01197e3 Split code to avoid false positive 2024-10-19 14:51:30 +02:00
Alain Rihs
1ef98c3a6f Update functions.lib.php (#31455)
The language key for the foreign currency does not exist alone but always with the amount. In order to solve this, I propose the following code with a new key: __MULTICURRENCY_CODE__
2024-10-19 01:58:27 +02:00
MDW
11c43e8c63 Fix: ticket.class phan/phpstan notices (#31448)
* Qual: Fix ticket.class notices

* Do not analyze custom

* Fix: Correct reference to cache (+phpdoc)

* Update baseline, ignore everything in custom

* Qual: Fix notices in files related to ticket class
2024-10-19 01:21:41 +02:00
Norbert Penel
3b172d9020 Update functions.lib.php (#31461)
Help for developers who doesn't understand the changes in getElementProperties
2024-10-19 01:04:45 +02:00
Laurent Destailleur
d97ff764ab Do not show qty 0 is zero. 2024-10-17 13:37:23 +02:00
Laurent Destailleur
3ef895d8c4 Debug v21 2024-10-17 03:57:13 +02:00
Laurent Destailleur
4f772f15e0 Look and feel v21 2024-10-16 17:26:00 +02:00
Laurent Destailleur
7f9759aa81 Maxi debug of the email notification feature an dlook and feel v21 2024-10-15 20:28:05 +02:00
Laurent Destailleur
53a1d06678 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-15 15:41:31 +02:00
Frédéric FRANCE
f3f7b67ce2 add missing dol_escape_all (#31406) 2024-10-15 15:39:47 +02:00
Laurent Destailleur
ec53c62a7e Debug layout feature for v21 2024-10-15 00:07:08 +02:00
Laurent Destailleur
046166f483 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-14 21:38:12 +02:00
Laurent Destailleur
916014707d Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-14 21:18:24 +02:00
Laurent Destailleur
b099e103b3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-14 21:00:26 +02:00
Sylvain Legrand
995f131ad2 Add getDolGlobalFloat function (#31357)
When we need to store float constant !
2024-10-14 01:58:08 +02:00
Alexandre SPANGARO
5dfe870c4c NEW Invoice - Generate payment information - Structured communication (#31376)
* NEW Invoice - Generate payment information - Structured communication

* fix tabs/space

* Add $substitutionarray['__PAYMENT_STRUCTURED_COMMUNICATION__']

* Fix travis

* Move to specific file functions_be.lib.php

* Fix function use

* Fix code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-14 01:39:03 +02:00
UltraViolet33
33c6d95b1c Backport Fix wrong invoice status when invoice has discount (#31323)
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-13 21:04:17 +02:00
Laurent Destailleur
a255e9b5c8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-13 20:58:40 +02:00
Laurent Destailleur
ffcc1ee11c CSS 2024-10-13 20:52:55 +02:00
Laurent Destailleur
069edfcf2a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-13 20:32:52 +02:00
hansemschnokeloch
6ba48c5db2 refactor redundant code (#31331) 2024-10-13 19:38:38 +02:00
Laurent Destailleur
6ef95acc43 Doc 2024-10-13 19:23:51 +02:00
Laurent Destailleur
e63fcc9fed Debug v20 2024-10-13 19:20:47 +02:00
UltraViolet33
a38af69395 use target='blank' for mailto links (#31342)
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-13 17:41:22 +02:00
MDW
611019ec4d Qual: Fix WARNING messages in syslog - add getCallerInfoString() (#31351)
* Qual: Fix dolIsTms() call with empty string

# Qual: Fix dolIsTms() call with empty string

The dolibarr log indicated that dolIsTms() was called with the
empty string:

- Add code to log the caller in the log;
- Fix the dolIsTms() calls by updating project/element.php

* Fix comparison of ''<0

# Fix comparison of ''<0

As ''<0 is true, non-existing errors were added resulting in
Try to add a message in stack, but value to add is empty message
in the log.
2024-10-13 17:17:37 +02:00