2
0
forked from Wavyzz/dolibarr
Commit Graph

3164 Commits

Author SHA1 Message Date
Laurent Destailleur
eff4ee9fae Debug v21 2024-11-05 10:14:40 +01:00
Laurent Destailleur
590ecf0243 Debug v21 2024-11-05 01:43:48 +01:00
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
Je2fb
408215b873 Fix issue product multicurrency price in form list and incoterm location (#31651)
* Update html.form.class.php for multicurrency issue

Error in the name of the parameter data-multicurrency-up replaced by data-multicurrency-unitprice

* Fix Incoterm location

Replacement of function to retrieve the data from GET argument form GETPOSTINT to GETPOST, location_incoterms is a string and not a number

* Update card.php

* Update card.php

* Update card.php

* Update card.php

* Update shipment.php

* Update card.php

* Update card.php

* Update stocktransfer_card.php

* Update card.php

* Update card.php
2024-10-31 18:45:24 +01:00
Laurent Destailleur
034f77e8f7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-31 18:38:47 +01:00
atm-thomasb
8a3e845b5b New RIB selector instead of default (#30899)
* Initial commit - adding new code

* backup, selector added

* NEW: column fk_iban in sql files

* changing the place of the selector

* fix: solved conflicts

* fix: reverted some extremely minor changes

* NEW_first_version_of_form

* TEST: removing chanbges on one file

* same test

* no idea how it's working

* FIX: button is working again

* First version of task working

* FIX: code cleanup to prepare for PR

* FIX: PR preparation part 2

* Revert "FIX: PR preparation part 2"

This reverts commit d11daa6da9.

* WIP added translated error for no iban found when creating bank transfert

* QUAL: simplifying readability of sql

* FIX: renaming fk_iban to fk_societe_rib

* WIP: new simplification of sql

* NEW: xml updated correctly

* FIX: wysiwig fixes

* FIX: PR preparation

* FIX: reverted default rib for llx_user

* FIX: last changes before standard PR

* Initial commit - adding new code

* backup, selector added

* NEW: column fk_iban in sql files

* changing the place of the selector

* fix: solved conflicts

* fix: reverted some extremely minor changes

* NEW_first_version_of_form

* TEST: removing chanbges on one file

* same test

* no idea how it's working

* FIX: button is working again

* First version of task working

* FIX: code cleanup to prepare for PR

* FIX: PR preparation part 2

* Revert "FIX: PR preparation part 2"

This reverts commit d11daa6da9.

* WIP added translated error for no iban found when creating bank transfert

* QUAL: simplifying readability of sql

* FIX: renaming fk_iban to fk_societe_rib

* WIP: new simplification of sql

* NEW: xml updated correctly

* FIX: wysiwig fixes

* FIX: PR preparation

* FIX: reverted default rib for llx_user

* FIX: last changes before standard PR

* FIX: resolved conflicts

* FIX: fixed automatic check warnings

* FIX: more check warnings fixed

* Update htdocs/compta/facture/prelevement.php

Co-authored-by: Florian Mortgat <50440633+atm-florianm@users.noreply.github.com>

* FIX: Added intval checks

* FIX: added escape

* FIX: forgot one entity

* FIX: added more escape for travis

* fix: removed an error handling that caused ci/cr conflicts

* fix: bonPrelevement create error that triggered when not error but empty result

* fix: added one space

---------

Co-authored-by: Florian Mortgat <50440633+atm-florianm@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-30 23:15:33 +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
Laurent Destailleur
1814e2bf15 Look and feel v21 2024-10-30 15:16:27 +01:00
Laurent Destailleur
46c6827ccb Debug v21 2024-10-28 19:42:17 +01: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
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
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
Elisée Chemin
7c7dcd0af8 Fixed an issue where removing a ressource with the same id as the assigned user would remove the user 2024-10-14 10:22:43 +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