Commit Graph

13666 Commits

Author SHA1 Message Date
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
Frédéric FRANCE
a4f94f84f1 fix default parameter (#27141) 2024-01-10 17:20:36 +01:00
Laurent Destailleur
d664f4ad10 Merge pull request #27356 from frederic34/patch-16
Method should return string|null but return statement is missing
2024-01-10 14:33:45 +01:00
Frédéric FRANCE
7fa72ec2ba Merge branch 'develop' into cleandeprecated 2024-01-09 20:13:59 +01:00
Frédéric FRANCE
c27551fa37 Method LignePrelevement::LibStatut() should return string|null but return statement is missing. 2024-01-09 18:37:32 +01:00
Laurent Destailleur
9d1f991759 Clean code 2024-01-09 14:24:21 +01:00
Laurent Destailleur
910a541c60 Clean code 2024-01-09 13:08:22 +01:00
Laurent Destailleur
e2f49c407f Clean sql request to use exist instead of left join 2024-01-09 10:44:50 +01:00
Laurent Destailleur
27fc5a2f84 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-06 16:56:28 +01:00
Frédéric FRANCE
4fad299e9f tooltip recurring invoice 2024-01-06 10:48:43 +01:00
Frédéric FRANCE
045b42d3b8 Update card.php 2024-01-05 16:08:14 +01:00
Frédéric FRANCE
3ed18dc92c fix create invoice from contract with free service line 2024-01-05 15:47:24 +01:00
Frédéric FRANCE
b3e7cdbad9 fix error returning from a trigger 2024-01-05 13:52:58 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Frédéric FRANCE
2c2fb852d4 Merge branch 'develop' into cleandeprecated 2024-01-04 09:26:29 +01:00
Laurent Destailleur
b7510b86b5 Debug v19 2024-01-04 03:32:39 +01:00
Laurent Destailleur
8c1e8d2c91 Debug v19 2024-01-04 03:31:06 +01:00
Laurent Destailleur
c651f979ee Debug v19 2024-01-04 03:30:48 +01:00
Frédéric FRANCE
76737d1306 Merge branch 'develop' into cleandeprecated 2024-01-03 18:37:59 +01:00
Fabian Heinz
b78632a20e api fixes
According to [RFC2616](https://www.rfc-editor.org/rfc/rfc2616#section-10.2), APIs should return 2xx status codes if the request was correct.
The response should be status 200 with an empty result array.
2023-12-31 14:11:05 +01:00
Laurent Destailleur
a7c712b3a5 Merge pull request #27251 from defrance/patch-312
FIX : php 8.1 suppress strftime
2023-12-29 18:56:14 +01:00
Laurent Destailleur
ef312e960c Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-12-29 16:53:09 +01:00
Laurent Destailleur
d2b3920684 Merge 2023-12-29 16:51:05 +01:00
Charlène Benke
0d7bbcb996 Update index.php 2023-12-29 11:50:51 +01:00
Charlène Benke
9ec7372418 Update index.php 2023-12-29 11:48:43 +01:00
Charlène Benke
f4329d2eb1 Update supplier_turnover.php 2023-12-29 11:24:03 +01:00
Charlène Benke
c4d1aaa09e Update index.php 2023-12-29 11:22:46 +01:00
Charlène Benke
e953da3711 Update index.php 2023-12-29 11:21:05 +01:00
Charlène Benke
6707f35556 Update sellsjournal.php 2023-12-29 11:18:27 +01:00
Charlène Benke
3a168767cd Update purchasesjournal.php 2023-12-29 11:17:34 +01:00
Charlène Benke
2dfb2cc7c4 Update graph.php 2023-12-29 11:16:19 +01:00
Charlène Benke
77be41720d Update graph.php 2023-12-29 11:13:26 +01:00
Charlène Benke
9c3a52d1ea FIX : php 8.1 suppress strftime 2023-12-29 11:12:13 +01:00