Commit Graph

15107 Commits

Author SHA1 Message Date
Laurent Destailleur
9ab352c4de Merge branch 'develop' into Technical-debts-7 2024-01-23 19:08:53 +01:00
Laurent Destailleur
2f76d2f800 Merge pull request #27744 from Slordef/18.0-taxes-charges-no-user-selected-by-default
NEW: remove auto selected user for taxes-charges by default
2024-01-23 17:34:27 +01:00
mohamed daoud
0b4e02821f Fix some warnings -Technical debts- 2024-01-23 16:07:59 +01:00
Maximilien Valenzano
ae67e6fcbd fix: remove auto selected user for taxes-charges by default 2024-01-23 12:07:37 +01:00
Laurent Destailleur
9a9ca50b49 Debug v19 2024-01-23 11:07:53 +01:00
Laurent Destailleur
28b3e656a9 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-23 10:44:10 +01:00
Laurent Destailleur
2b5155ef02 Fix typo 2024-01-23 10:38:25 +01:00
atm-lena
6f0a91856f Missing Translations 2024-01-22 12:42:34 +01:00
thibdrev
90559e7d32 qual: phpstan 2024-01-22 12:27:48 +01:00
Regis Houssin
42b90a4537 FIX remove specific name from v19 2024-01-21 18:11:58 +01:00
Regis Houssin
e5ea3d7f4a FIX missing $search_sale var (backport from v19) 2024-01-21 18:09:38 +01:00
Regis Houssin
7bc28e3003 FIX remove DISTINCT (backport from v19) 2024-01-21 18:04:30 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Laurent Destailleur
0de4793bf8 Merge pull request #27640 from frederic34/date_lim_reglement
phpdoc
2024-01-19 22:29:28 +01:00
Laurent Destailleur
6187cbc8ee Merge pull request #27659 from thibdrev/patch-11
qual: phpstan
2024-01-19 17:59:59 +01:00
thibdrev
88090f0275 apply price2num() on GETPOST('revenuestamp') 2024-01-19 17:46:17 +01:00
thibdrev
7073567fc7 typo 2024-01-19 13:09:10 +01:00
thibdrev
d08b29bc12 qual: phpstan
htdocs/compta/facture/card.php	531	Property Facture::$revenuestamp (float) does not accept array|string.
htdocs/compta/facture/card.php	1006	Property CommonInvoice::$socid (int) does not accept array|string.
htdocs/compta/facture/card.php	1705	Property DiscountAbsolute::$fk_soc (int) does not accept array|string.
2024-01-19 13:05:58 +01:00
thibdrev
c8a943790e qual: phpstan
htdocs/compta/bank/line.php	135	Property AccountLine::$id (int) does not accept array|string.
2024-01-19 13:01:16 +01:00
Regis Houssin
afda242968 FIX avoid sql error (issue #26342) 2024-01-19 08:37:29 +01:00
Frédéric France
4b3f351f95 phpdoc 2024-01-18 23:28:42 +01:00
Laurent Destailleur
0ce34c60a2 Merge pull request #27612 from thibdrev/patch-3
fix: phpstan
2024-01-18 21:32:28 +01:00
Frédéric France
b3bcdeafe5 rename method 2024-01-18 18:55:53 +01:00
thibdrev
b44dc2a3f4 typo 2024-01-18 17:43:26 +01:00
thibdrev
5fbced083b typo 2024-01-18 17:30:18 +01:00
thibdrev
a000178b0d fix phpstan
(int) does not accept array|string.
2024-01-18 17:27:09 +01:00
Laurent Destailleur
dbe4204805 Rename a translation key to avoid confusion 2024-01-18 12:24:35 +01:00
Laurent Destailleur
5d3c775b69 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-18 12:19:08 +01:00
Laurent Destailleur
bc0fc46f21 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-18 12:10:29 +01:00
Florian HENRY
d10ee5a76e fix: exchange bad translation 2024-01-17 21:09:01 +01:00
Florian HENRY
16c30d5ef9 fix: exchange bad translation 2024-01-17 20:55:01 +01:00
Christophe TREMBLAY-GUILLOUX
1a33117e86 File not joined : slash is missing in case DOL_DATA_ROOT doesn't end with slash 2024-01-15 11:33:30 +01:00
Christophe TREMBLAY-GUILLOUX
25de0779b2 File not joined : slash is missing in case DOL_DATA_ROOT doesn't end with slash 2024-01-14 22:57:16 +01:00
Laurent Destailleur
b63e6d4a20 Fix phpcs 2024-01-14 12:49:18 +01:00
Frédéric Bagnol
ff639ab363 NEW Add createInvoiceFromContract to API invoice (#27277)
* Add createFromContract to API invoice

* Update invoice : if cond_reglement_id change then update date_lim_reglement

* Space

* indent

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:48:24 +01:00
MDW
a04f2bf4e7 Qual: Spelling fixes that newly appeared. (#27495)
* Qual: Spelling fixes that newly appeared.

# Qual: Fix spelling erros that appeared since the bulk updates.

These issues mostly appeared since the bulk updates (a few ones were postponed
to make sure no real spelling errors were missed.)

* Update modulebuilder.lib.php

* Update pdf_standard.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:26:37 +01:00
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
Laurent Destailleur
f773fa2dbd Fix phan report 2024-01-12 22:09:51 +01:00
Frédéric FRANCE
0d3e0c8ec4 fix incorrect case and remove exclude check (#27449) 2024-01-12 20:40:34 +01:00
Laurent Destailleur
f201692001 Fix phpstan 2024-01-12 19:50:22 +01:00
Laurent Destailleur
c406d9a002 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-12 17:49:00 +01:00
Laurent Destailleur
618a364064 FIX #27439 but using the opposite direction. int is bette as we can evolve to add a third value in a future. 2024-01-12 17:47:54 +01:00
Frédéric FRANCE
8608a075fb fix Undefined variable $mode (#27451) 2024-01-12 17:07:43 +01:00
Laurent Destailleur
2a4578ef68 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 13:48:15 +01:00
Frédéric FRANCE
1082a7baf7 replace old parameter facid by id (#27416)
* replace old parameter facid by id

* Update facture.class.php
2024-01-11 12:51:00 +01:00
MDW
11f457ddc8 # Fix: remove parameter in getSelectInvoiceSubtype call (#27314)
Parameters were already invalid when this was added in 65b9f4e6de.
See 65b9f4e6de/htdocs/core/class/html.form.class.php (L10865C59-L10865C59) .
2024-01-11 10:47:05 +01:00
MDW
5cb0da4bd6 Fix: Arguments missing in call to dol_banner_tab (#27404)
# Fix: Arguments missing in call to dol_banner_tab

Add missing arguments (same as default values).
Fix minor spelling

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-11 10:05:54 +01:00
MDW
52ee926bac Qual: Spelling compta code (#27413)
# Qual: Fix spelling of files in htdocs/compta

No code should be changed, only comments modified or translated.
2024-01-11 09:58:34 +01:00
Laurent Destailleur
f0d910ecd3 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-10 19:20:16 +01:00
Laurent Destailleur
a4030d145a FIX #27315 2024-01-10 17:40:28 +01:00