Commit Graph

3157 Commits

Author SHA1 Message Date
Frédéric France
259ce6020d Merge remote-tracking branch 'upstream/develop' into extrafields_object_filter 2024-10-26 18:27:45 +02:00
MDW
67e9eaff46 Qual: Fix phan/phpstan notices in class files (part 2) (#31523)
* Qual: Fix phan notices in class files (part 2)

* Qual: Fix phan notices doleditor...events.class

* Qual: Fix phan notices defaultvalues...formprojet.class

* Qual: Fix notices formsetup...formwebsite.class

* Qual: Fix phan notices in class files (part 2)

* Qual: Fix phan notices doleditor...events.class

* Qual: Fix phan notices defaultvalues...formprojet.class

* Qual: Fix notices formsetup...formwebsite.class
2024-10-26 18:24:40 +02:00
Frédéric FRANCE
8828b41679 Merge branch 'develop' into extrafields_object_filter 2024-10-26 17:24:49 +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
ab6bfdf963 CSS 2024-10-26 15:41:34 +02:00
Laurent Destailleur
f5e4ab0220 Rewrite code to prepare refactoring 2024-10-26 15:24:54 +02:00
Frédéric FRANCE
331c5e9f4b fix phpstan (#31547)
* fix phpstan

* fix phpstan

* fix phpstan
2024-10-25 13:24:10 +02:00
Frédéric FRANCE
36b507ad4d wip 2024-10-24 19:04:12 +02:00
Laurent Destailleur
a41a162e2b NEW Look and feel 2024-10-17 21:01:20 +02:00
Laurent Destailleur
3ef895d8c4 Debug v21 2024-10-17 03:57:13 +02:00
UltraViolet33
e8f1c47424 NEW: default configuration for event reminder (#31407)
* NEW: default configuration for event reminder

Set default reminder period + default email template for specific event types in agenda configuration.
Auto fill the notification event form on event creation when event type is in the event types set to use default reminder

* fix for ci

* fix offset value

---------

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 03:13:44 +02:00
Laurent Destailleur
d28ed5339b Look and feel v21 2024-10-16 14:37:25 +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
Regis Houssin
7b81cccc55 FIX uniformize and check delete contact action (#31384)
* FIX uniformize and check delete contact action

* FIX syntax error

* FIX missing private contact checking

* FIX missing show errors

* FIX missing "oldcopy" for trigger

* FIX missing private contact filter in selectcontact
2024-10-14 16:45:46 +02:00
Zephyriony
f3f41ec546 NEW Hide completed items in Link to (#31329)
* NEW Hide completed items in Link to

Hide completed items in Link to to avoid endless lists of elements

* Update html.form.class.php

* Update html.form.class.php
2024-10-13 21:01:57 +02:00
MDW
d7b2f95baf Qual: Fix phan notices (#31372)
* fix llx_webhook_target-webhook.sql

* Fix commande/list & facture-rec.class

* Fix bonprelevement

* Qual: Fix prelevement/create notices

* Qual: fix quadridetail notices & update baseline

* Qual: Fix CommonDocGenerator notices

* Qual: Fix commoninvoice and commonobjectline notices (phan/phpstan)

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
2024-10-13 16:45:42 +02:00
Laurent Destailleur
611cd80255 WIP on upload page 2024-10-13 13:59:11 +02:00
Laurent Destailleur
185d7f4358 Fix output 2024-10-13 13:18:16 +02:00
Mohamed DAOUD
1ea380c5c2 Code Update For Migration of llx_categorie_bank content into llx_categorie (#31306)
* move category_bank to categorie

* fix

* fix cast

* fix phpunit
2024-10-09 01:48:05 +02:00
Laurent Destailleur
a7db9f8b75 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-07 15:23:41 +02:00
Laurent Destailleur
081d3fabfc Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-07 15:20:16 +02:00
Laurent Destailleur
9b378d74af Look and feel v21 2024-10-07 12:40:50 +02:00
Joachim Kueter
63f6d0aa43 Fix: Number of decimals for stock values ignores configuration (#31285)
* Fix: Number of decimals for stock values ignores configuration

In the select filed for adding a new line for a proposal/invoice/... product as a line, the stock level is always printed with exactly two decimals.

The number of decimals should be controlled by the existing global variable MAIN_MAX_DECIMALS_STOCK, but it is not taken into account:

Building the stock level with the function price from the function price2num, which uses the configured number of decimals always lead to exactly two decimals.

* Fixed patch according to suggestion.
2024-10-06 13:53:16 +02:00
MDW
f70c945931 Qual: Fix phan/stan notices (#31271)
# Qual: Fix phan/stan notices in relation with UnknownObjectMethodCall

Fix notices in classes with UnknownObjectMethodCall notices or classes
related with these.
2024-10-05 18:55:36 +02:00
MDW
1834c37c16 Qual: Fix phan notices (#31212)
* Qual: Fix phan notices

# Qual: Fix phan notices

Fix several phan notices related to classes with UnknownObject
classes.

* Qual: Fix phan notices

* Qual: Fix phan notices

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-03 19:40:34 +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
Laurent Destailleur
ee11342fb4 css 2024-10-03 10:52:55 +02:00
Laurent Destailleur
f57b4f26b4 Look and feel v21 2024-10-01 03:41:55 +02:00
MDW
8236aed22f Qual: Fix phan notices (#31193)
# Qual: Fix phan notices

Fix phan notices in several classes that have UnknownObjectMethod calls and classes
that had notices in relation with these classes
2024-09-30 10:05:24 +02:00
Frédéric FRANCE
4690f4aadb fix phpstan (#31192)
* fix phpstan

* fix phpstan
2024-09-29 22:33:33 +02:00
Frédéric FRANCE
d154af4e41 fix phpstan (#31180)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 13:03:58 +02:00
Laurent Destailleur
885be61dbd Fix phan 2024-09-29 13:02:44 +02:00
Laurent Destailleur
aa2f82531c Fix phpdoc 2024-09-29 03:08:29 +02:00
Laurent Destailleur
35ba9eed75 css 2024-09-28 18:52:26 +02:00
Laurent Destailleur
b69ae93f8d Prepare refactoring 2024-09-28 18:45:09 +02:00
Laurent Destailleur
6243891bb4 NEW Can link an object to another using the ref. Close #31001 2024-09-28 18:28:06 +02:00
Laurent Destailleur
b327e73ade NEW Can link an object to another using the ref. Close #31001 2024-09-28 18:24:58 +02:00
Laurent Destailleur
862ce222d9 Close #31001 2024-09-28 18:18:25 +02:00
MDW
0da4d51003 Qual: Fix multiple phan notifications (#31151)
* Qual: Fix notifications multiple files

# Qual: Fix notifications multiple files

Fixes to files with UnknownObject notices, fixing other
notices in these files as well

* Improve boxes typing

* Qual: Extend accepted types to reduce notices

* Fix type for GET/POST arguments of GETPOST* calls
2024-09-28 12:09:35 +02:00
Laurent Destailleur
cc80841a2e Complete #31031 2024-09-26 18:00:37 +02:00
Laurent Destailleur
c0a63855f3 QUAL: Edition of currency is shared in a common tpl file 2024-09-26 12:22:03 +02:00
Noé Cendrier
22729516fe NEW Add mode Customer price + level price (#31091)
* NEW: customer price and level price together

* NEW: translation

* FIX: If a price per customer exist

* FIX: do not use default price if the customer price and level price option is active

* Don't display the price level amount if the customer price is known

* FIX: double check and php cs correction

* FIX: vatrate call

* FIX: get_htmloutput_msg call

---------

Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>
2024-09-25 23:18:16 +02:00
Frédéric FRANCE
a94cff63a7 fix phpstan (#31102)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-25 22:21:31 +02:00
Laurent Destailleur
e0e0b669a9 FIX edit contract of intervention broken by CSRF protection 2024-09-25 19:37:32 +02:00
Laurent Destailleur
336b723ab8 FIX edit contract of intervention broken by CSRF protection 2024-09-25 19:37:01 +02:00
Laurent Destailleur
ae6e35cc84 Look and feel v21 enhancement on smartphone 2024-09-25 02:35:56 +02:00
Frédéric FRANCE
000173c7b9 fix phpstan (#31075)
* 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

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 01:59:14 +02:00
Laurent Destailleur
55383bbf62 Fix phan 2024-09-20 17:34:48 +02:00
Laurent Destailleur
84e5f5e7b4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-20 02:51:59 +02:00