Commit Graph

11569 Commits

Author SHA1 Message Date
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
Florian Mortgat
cc02bff277 NEW 21.0 - tab on recurring invoice card to see the list of generated invoices (#31463)
* NEW 21.0 - tab on recurring invoice card to see the list of invoices generated from this recurring invoice (customer and supplier invoices)

* tab on recurring invoice card: missing url param in $param

* tab on recurring invoice card: stronger typing for phpstan compliance

* tab on recurring invoice card: wrong typing in phpdoc of supplier_invoice_rec_prepare_head
2024-10-19 01:02:21 +02:00
John BOTELLA
2f1d9cd9c0 FIX : space used by linked elements in PDF notes (#31459) 2024-10-19 00:57:57 +02:00
Laurent Destailleur
56a845963e NEW Can set border radius of list and tables 2024-10-18 17:11:25 +02:00
Laurent Destailleur
622a296d0e Look adn feel v21 2024-10-17 22:20:39 +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
MDW
cee4535975 Qual: Fix phan notices in admin.lib and tax.lib + related (#31414)
* Qual: Fix admin.lib phpstan/phan notices

* Qual: Fix some argument types in Societe methods

* Fixup phpdoc

* Qual: Improve typing for static analysis

* Qual: Improve typing for static analysis

* Fix tax typing

* Qual: further phan/phpstan notice fixes in dol_generic_project_odt

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 03:08:38 +02:00
Can Arslan
84225c9077 fix: variable name (#31411) 2024-10-17 01:24:59 +02:00
Laurent Destailleur
4f772f15e0 Look and feel v21 2024-10-16 17:26:00 +02:00
Laurent Destailleur
6bcaabad8e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-16 12:54:14 +02:00
Laurent Destailleur
495a31c8fe FIX CSS and access to media files 2024-10-16 12:51:42 +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
Frédéric FRANCE
0b1d243a7a add translations count (#31398) 2024-10-15 15:39:29 +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
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
Laurent Destailleur
80ced1cc22 FIX convert amount into text when using numberwords 2024-10-14 12:53:42 +02:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +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
Frédéric FRANCE
820333b02f fix variants sql init (#31319)
* fix variants sql init

* add setup

* add setup

* add setup

* update class

* update list

* update list

* update list

* update class

* fix typos

* fix translations

* fix html

* fix update

* fix sql

* fix extrafields

* fix extrafields
2024-10-13 21:08:55 +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
Ferran Marcet
b2c59aa934 Fix: Does not filter correctly by project contacts (#31340)
* Fix: Grand total correction

* Fix: Does not filter correctly by project contacts
2024-10-13 20:31:23 +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
Laurent Destailleur
e46553079a FIX CSS 2024-10-13 18:37:21 +02:00
Laurent Destailleur
959392ff26 FIX Clear of option THEME_ELDY_USEBORDERONTABLE 2024-10-13 18:37:10 +02:00
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
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
Laurent Destailleur
21c1c02ef8 FIX #31360 delete contact when using pgsql. 2024-10-13 17:13:24 +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