Commit Graph

4139 Commits

Author SHA1 Message Date
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
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
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
740bfe3442 Fix style section in html header lost 2024-10-13 02:01:14 +02:00
Laurent Destailleur
fc8e85158d NEW Can set parameters with setup type yesno. 2024-10-12 01:50:18 +02:00
Laurent Destailleur
7ec900d1de comment 2024-10-11 12:24:45 +02:00
UltraViolet33
615d13d815 Fix: complete fix for #31117 (#31300)
* Fix: complete fix for #31117
Use getSommePaiement(), getSumCreditNotesUsed() and getSumDepositsUsed() to get already paid amount of invoice
to display correct invoice status

* fix for PHPStan

---------

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-09 01:55:38 +02:00
Laurent Destailleur
8ba82ecfa0 Enhancement for textbrowser 2024-10-08 20:58:09 +02:00
Laurent Destailleur
efe6571e16 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-08 20:49:01 +02:00
Laurent Destailleur
21eb8e585f Fix detection of text browser with w3m 2024-10-08 20:48:37 +02:00
Laurent Destailleur
e79292cb19 Enhance vat edition 2024-10-08 09:59:46 +02:00
John BOTELLA
7faa9bad67 Fix 20.0 Action buttion url autocomplete (button dropdown part04) (#31266)
* Fix dol get action buttion url autocomplette

* change mailto

* change mailto

* Remove anonymous function

* Remove anonymous function

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-07 15:42:17 +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
b07cc82058 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-07 15:17:49 +02:00
Laurent Destailleur
58cc96cd33 QUAL All $conf->global->module->enabled are replaced with isModEnabled() 2024-10-07 14:40:29 +02:00
Laurent Destailleur
63d4b5e3d8 FIX Backport fix fatal error on price with some truncating setup 2024-10-06 22:17:26 +02:00
MDW
34e3717dda Qual: Fix phan/phpstan notices (#31289)
* Qual: Fix phan/phpstan notices

# Qual: Fix phan/phpstan notices

Fix several phan/phpstan notices

* Fix spelling in Changelog
2024-10-06 13:03:43 +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
Frédéric FRANCE
7fe28032d1 phpstan (#31276)
* phpstan

* phpstan
2024-10-05 18:49:54 +02:00
Mohamed DAOUD
4a7ad31f85 NEW Stars Field for Module Builder (#31216)
* stars field for modulebuilder

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 18:37:41 +02:00
Laurent Destailleur
bd4dbe7b1a Remove not used method 2024-10-04 12:35:23 +02:00
MDW
6e01a60f59 Qual: Fix phan/phpstan notices (#31259)
# Qual: Fix phan/phpstan notices

Fix notices by adjusting phpdoc
2024-10-04 08:25:17 +02:00
Laurent Destailleur
d24069d5e2 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:35:33 +02:00
Laurent Destailleur
eebb16c693 Redice cyclomatic complexity 2024-10-03 20:08:09 +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
Laurent Destailleur
e412dbbe05 Merge manually fix of #31217 + other fix for use by external modules 2024-10-03 19:30:06 +02:00
Laurent Destailleur
6f6a87cd78 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 17:25:10 +02:00
Laurent Destailleur
88b488cfbb Fix for better compatibility 2024-10-03 17:23:29 +02:00
John BOTELLA
a272d929a5 Fix $ in key (#31215) 2024-10-03 17:14:28 +02:00
Frédéric FRANCE
7d36fe0715 fix typo phan and Co 💊 (#31214)
* fix typo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* translation missing

* test win mariadb version

* test win mariadb version

* phpdoc

* phpdoc

* phpdoc
2024-10-03 15:43:04 +02:00
Laurent Destailleur
2d4ea679cc Debug v21 2024-10-03 12:43:21 +02:00
Laurent Destailleur
b87b0b92b8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-02 17:31:42 +02:00