Commit Graph

37415 Commits

Author SHA1 Message Date
Laurent Destailleur
8b8c6bba3d FIX CSS 2024-10-13 18:36:32 +02:00
Laurent Destailleur
e3c08083b7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-13 18:31:13 +02:00
Laurent Destailleur
a6b19d20c4 FIX Clear of option THEME_ELDY_USEBORDERONTABLE 2024-10-13 17:54:51 +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
Mohamed DAOUD
b4732da616 NEW: Star Field Type for Extra Fields (#31348)
* stars type for extrafields

* min value

* fix phan
2024-10-13 17:24:15 +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
Frédéric FRANCE
43c59b8da9 🚨 fix llx_webhook_target-webhook.sql 🚨 (#31364)
* fix llx_webhook_target-webhook.sql

* Update llx_webhook_target-webhook.sql

* Update llx_webhook_target-webhook.sql

* fix phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-13 17:15:05 +02:00
Laurent Destailleur
21c1c02ef8 FIX #31360 delete contact when using pgsql. 2024-10-13 17:13:24 +02:00
MDW
67263522eb Fix: code_compta aliased as code_compta_client (#31349)
* Fix: code_compta aliased as code_compta_client

# Fix: code_compta aliased as code_compta_client

Fix warning regarding non-existing field on sql result

* Handle code_compta with deprecationhandler
2024-10-13 16:52:48 +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
0f8b694d3f WIP on upload page 2024-10-13 14:29:02 +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
Laurent Destailleur
26bb977006 WIP to allow upload of files 2024-10-13 12:40:46 +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
727003e709 FIX Picto menu not visible 2024-10-11 19:55:07 +02:00
Laurent Destailleur
4c3608331d FIX Picto menu not visible 2024-10-11 19:54:36 +02:00
Laurent Destailleur
a45af7e4c4 Fix responsive 2024-10-11 19:41:31 +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
Ferran Marcet
ee4776d64e Fix: Grand total correction (#31303) 2024-10-09 01:49:07 +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
UltraViolet33
c0035cdf60 Fix set tiers as customer on online propal signature (#31316)
* fix set tiers as customer on online propal signature

* use setAsCustomer instead of set_as_client

---------

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-09 01:06:23 +02:00
Mohamed DAOUD
ae206bcc22 fix stars (#31317) 2024-10-09 01:00:34 +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
Laurent Destailleur
a4b0947729 Fix phan 2024-10-07 15:46:49 +02:00
Laurent Destailleur
13af557597 Enable cache 2024-10-07 15:45:17 +02:00
MDW
bde0f0d794 Qual: Fix ci (phpstan notice) (#31301)
# Qual: Fix ci (phpstan notice)

While fixing the ci notice, also fixed the array definitions
which fixes both phan notices and phpstan notices seen on cti.
Removed the exception for phan on this file
2024-10-07 15:44:06 +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
Mikko Virtanen
0811ff5f07 FIX dolFICalculatePaymentReference for Finland in functions_fi.lib.php (#31281)
* Update functions_fi.lib.php

Fix calculation from some base numbers

* Update functions_fi.lib.php
2024-10-07 14:52:12 +02:00
sonikf
35e01459f8 NEW: PDF Add shipping address in sales orders (#31293)
* Add shipping address

* Add shipping address

* Show shipping address in sales orders

* Add shipping address option in sales orders

* fix pre-commit

* fix phan

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)
2024-10-07 14:50:01 +02:00
Laurent Destailleur
92c848d5bc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-07 14:40:53 +02:00
Laurent Destailleur
58cc96cd33 QUAL All $conf->global->module->enabled are replaced with isModEnabled() 2024-10-07 14:40:29 +02:00
MDW
f4c91d5bb6 Qual: Fix phan/phpstan notices (#31297)
# Qual: Fix phan/phpstan notices

Fix several phan and phpstan notices.
2024-10-07 14:07:24 +02:00
Laurent Destailleur
9b378d74af Look and feel v21 2024-10-07 12:40:50 +02:00
Laurent Destailleur
5ef619eae3 FIX look and feel v20 2024-10-07 12:02:37 +02:00
Laurent Destailleur
2737f713d9 Debug v21 2024-10-07 11:58:32 +02:00
Laurent Destailleur
79598795ca Fix trans 2024-10-07 11:38:34 +02:00
Laurent Destailleur
63d4b5e3d8 FIX Backport fix fatal error on price with some truncating setup 2024-10-06 22:17:26 +02:00
Laurent Destailleur
a7cbf6eeb1 Fix: closing of butAction dropdown was also closing the login dropdown
when we just lick inside a link into login dropdown.
2024-10-06 21:55:46 +02:00
Laurent Destailleur
93a872e8e1 PERF: Reduce size for VCF files and virtualcard qrcode 2024-10-06 21:08:40 +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
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