Commit Graph

37415 Commits

Author SHA1 Message Date
Laurent Destailleur
17c50368c1 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-19 14:32:08 +02:00
Laurent Destailleur
e97c1dc48e Better message 2024-10-19 13:51:05 +02:00
Laurent Destailleur
0844ed2f9b NEW Include a protection into check update to detect malware 2024-10-19 13:16:13 +02:00
Noé Cendrier
a18103187c NEW: Management of extrafields on customer prices, level prices and default prices (#31313)
* ADD: Management of extrafields on customer prices, level prices and default prices

* ADD: sql table for managing extrafields on customer prices, level prices and default prices

* FIX: Add actions to update, add, delete extrafields and display extrafield

* FIX: colspan for customer price table

* ADD: Management of extrafields on customer prices

* FIX: Value and search for price label

* ADD: name in the files

* FIX: *

* FIX: PHP-cs fail

* FIX: comment in english, please

* FIX: variable naming and testing

* FIX: GETPOST array

* FIX: return is an array of strings, object array will be modified as well

* FIX: return array keys for Extrafields::fetch_name_optionals_label are string too

* FIX: do not mess with extrafields code and value

* Update llx_product_customer_price_extrafields.sql

* Update llx_product_price_extrafields.sql

* FIX: whooopsie

* FIX: PHP warnings

---------

Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-19 09:50:18 +02:00
Alain Rihs
1ef98c3a6f Update functions.lib.php (#31455)
The language key for the foreign currency does not exist alone but always with the amount. In order to solve this, I propose the following code with a new key: __MULTICURRENCY_CODE__
2024-10-19 01:58:27 +02:00
UltraViolet33
c023c3b8c3 FIX attached files not sent in empty email (#31444)
When we send an email with empty text content but with attached file, the file was not sent.

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-19 01:26:02 +02:00
MDW
11c43e8c63 Fix: ticket.class phan/phpstan notices (#31448)
* Qual: Fix ticket.class notices

* Do not analyze custom

* Fix: Correct reference to cache (+phpdoc)

* Update baseline, ignore everything in custom

* Qual: Fix notices in files related to ticket class
2024-10-19 01:21:41 +02:00
Joachim Kueter
9643a27423 fix typo (#31449) 2024-10-19 01:19:21 +02:00
Joachim Kueter
6b6fabea14 fix: respect setting for VAT column (#31450) 2024-10-19 01:18:55 +02:00
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
c9ed9bb6eb FIX Avoid fatal error when mysqli not available 2024-10-18 23:48:24 +02:00
Laurent Destailleur
f9eb82de7f FIX pagebreak when option PDF_ADD_POSITION is set 2024-10-18 18:43:59 +02:00
Laurent Destailleur
56a845963e NEW Can set border radius of list and tables 2024-10-18 17:11:25 +02:00
Laurent Destailleur
cf6b02b341 Fix regression, avoid using global variable 2024-10-18 15:35:24 +02:00
Laurent Destailleur
b43f0079d6 css 2024-10-18 04:14:02 +02:00
Laurent Destailleur
8f868ef3b9 Fix text overlapping 2024-10-18 01:07:31 +02:00
Laurent Destailleur
65e750cb4e FIX Get number of bank deposit wa not using the date. 2024-10-18 00:47:46 +02:00
Laurent Destailleur
3eebba6116 FIX When PDF_ADD_POSITION is on, the number was doing pagebreak before
the pagebreak done by the addition of description.
2024-10-17 23:46:30 +02:00
Laurent Destailleur
a7a251717e Minor fix in azur/cyan 2024-10-17 23:08:48 +02:00
Laurent Destailleur
622a296d0e Look adn feel v21 2024-10-17 22:20:39 +02:00
Laurent Destailleur
a41a162e2b NEW Look and feel 2024-10-17 21:01:20 +02:00
Laurent Destailleur
ffe51062e4 NEW Look and feel v21 - Can have rounded border on tables 2024-10-17 20:08:55 +02:00
Laurent Destailleur
d97ff764ab Do not show qty 0 is zero. 2024-10-17 13:37:23 +02:00
Laurent Destailleur
59fd0dbae7 NEW Can choose the zip handler to build ODT 2024-10-17 12:59:24 +02:00
Laurent Destailleur
4432aaffcb Creation auto of bank account use correct bank journal 2024-10-17 04:51:28 +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
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
Laurent Destailleur
e8299da73f Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-10-17 02:16:13 +02:00
Laurent Destailleur
8562dd887b Merge 2024-10-17 02:15:53 +02:00
Laurent Destailleur
dacbfecb02 Move trans into correct lang file 2024-10-17 02:12:49 +02:00
Michael Bussmann
6fca870750 EPC-QR,Sponge, Translation of INVOICE_ADD_EPC_QR_CodePay, Alignment (#31327)
* EPC_QR fixes
Display translation of INVOICE_ADD_EPC_QR_CodePay
Fixed alignment of INVOICE_ADD_EPC_QR_CodePay when QR-Code at bottom

* Reverted local font size

Signed-off-by: Michael Bussmann <bus@mb-net.net>

---------

Signed-off-by: Michael Bussmann <bus@mb-net.net>
2024-10-17 02:08:38 +02:00
MDW
33b9479692 Qual: Ignore phan notice for pagebreak property (#31427)
# Qual: Ignore phan notice for pagebreak property

The access to the undeclared pagebreak property is protected with isset().
So these notices are now suppressed.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 01:49:43 +02:00
MDW
9677a370e9 Qual: Nullable mysoc hint (#31393)
* Qual: Nullable mysoc hint

# Qual: Nullable mysoc hint

$mysoc can be nullable resulting in issues (#31387) so
it is best to detect these cases with static analysis

* Prevent null assignment
2024-10-17 01:44:54 +02:00
Can Arslan
84225c9077 fix: variable name (#31411) 2024-10-17 01:24:59 +02:00
Frédéric FRANCE
0c678878b7 fix typo of hidden parameter in commonobject.class.php (#31417)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 01:24:15 +02:00
Laurent Destailleur
ce414d29d7 Fix phan 2024-10-17 01:23:23 +02:00
Frédéric FRANCE
64164dead6 missing translation close #31415 (#31432)
* missing translation

* missing translation

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 01:17:34 +02:00
sonikf
7903a8b780 fix typo (#31418) 2024-10-17 01:14:26 +02:00
sonikf
202263dbb5 fix PDF proposal signature area (#31420)
* fix signature

* fix signature
2024-10-17 01:04:36 +02:00
MDW
069755481e Fix: PHPDoc + empty variable correction for ci issues 💊 (#31431)
* Qual: Fix empty argument for morecssontable

* Qual: Add typing hints for some variables from style.css.php
2024-10-17 01:03:09 +02:00
Laurent Destailleur
82f65a6410 NEW Can choose the zip handler to build ODT 2024-10-17 00:31:53 +02:00
Laurent Destailleur
956a039082 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-10-16 20:47:12 +02:00
Laurent Destailleur
9ad71b980a NEW Can choose the zip handler to build ODT 2024-10-16 20:46:52 +02:00
Laurent Destailleur
4f772f15e0 Look and feel v21 2024-10-16 17:26:00 +02:00
Laurent Destailleur
d28ed5339b Look and feel v21 2024-10-16 14:37:25 +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