2
0
forked from Wavyzz/dolibarr
Commit Graph

749 Commits

Author SHA1 Message Date
Laurent Destailleur
b514c1afbe Move code 401 to 403 2024-02-01 13:34:55 +01:00
MDW
565fe09cb5 Qual: Fix translation keys.
# Qual: Fix translation keys

Modify some translation keys so that they correspond to each other,
use an existing key or fix the contents as it's not translated yet.
2024-01-23 23:56:20 +01:00
Laurent Destailleur
19f9bc598c Doxygen 2024-01-23 17:43:38 +01:00
Laurent Destailleur
265053e850 Update contrat.class.php 2024-01-23 17:40:10 +01:00
William Mead
645d707f65 Added contributor details 2024-01-22 15:10:55 +01:00
William Mead
63e929d59c Added type casting. Cleaned usage of defineBuyPrice. 2024-01-22 12:38:29 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Frédéric France
b3bcdeafe5 rename method 2024-01-18 18:55:53 +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
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
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +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
Hystepik
d08f91e4cb Fix some phpstan warnings 2023-12-21 13:43:19 +01:00
Laurent Destailleur
7f5df80efd Debug v19 2023-12-19 11:51:48 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Laurent Destailleur
ee2543b516 Clean code 2023-12-11 09:13:51 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
ba10d60a0b Fix with php-cs-fixer 2023-12-04 12:02:35 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Charlène Benke
29f5027c9f php V8 warning (#26900) 2023-11-30 17:44:14 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Frédéric FRANCE
89c2ddc45b remove deprecated from initAsSpecimen (#26840) 2023-11-24 09:30:31 +01:00
moreauftheobald
0b128f7ad2 Fix Contrat "Access to an undefined property" (#26657)
* Add entity management on contact list on thirdparty card

* Correction On contract class files "Access to an undefined property"
2023-11-17 10:55:09 +01:00
sonikf
10e56262ea FIX #9598 (#26600)
* NEW: Add support for supplier recurring invoice

* NEW: Add support for supplier contract recurring invoice

* Add tests

* We must not force supplier to become customer

* FIX PHPCS

* fix wrong test
2023-11-16 23:29:00 +01:00
Laurent Destailleur
b962cce609 Code comment 2023-11-06 15:26:57 +01:00
Laurent Destailleur
7f2f902f11 Clean code 2023-11-06 14:00:02 +01:00
Laurent Destailleur
ed8e12aee7 PERF: Removed a useless fetch_thirdparty 2023-11-06 13:36:26 +01:00
Laurent Destailleur
74e1ec4099 FIX On object validation, ecm index are not updated for uploaded files 2023-10-31 19:28:11 +01:00
Laurent Destailleur
6d7d698371 Debug v19 2023-10-28 02:06:07 +02:00
Laurent Destailleur
197f0a19ec NEW Add more param on fetch() to prepare perf optimization 2023-10-26 21:05:37 +02:00
Laurent Destailleur
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
Laurent Destailleur
2cfa9f8290 Debug v19 2023-10-17 15:43:56 +02:00
Laurent Destailleur
8731499d9a Clean code 2023-10-15 15:43:49 +02:00
Laurent Destailleur
ee4d662ca7 Merge pull request #26091 from elkoiko/fix-warnings-contrat-and-contratligne
FIX warnings for undefined properties in Contrat and ContratLigne
2023-10-04 09:46:11 +02:00
Laurent Destailleur
5537ccede2 FIX update_extras must use updateExtraFields 2023-10-03 00:23:06 +02:00
Laurent Destailleur
d3dc6615db Remove deprecated use of ->modelpdf (good is ->model_pdf) 2023-10-02 21:49:08 +02:00
Thomas Couacault
3028bd3784 FIX typo $tva_tx instead of $txtva 2023-10-02 14:42:58 +02:00
Thomas Couacault
3d96b66664 FIX: Delete use of unassigned product_description member in ContratLigne class 2023-10-02 14:22:11 +02:00
Thomas Couacault
7433501e08 FIX: Undefined property $pa_ht in Contrat::updateline 2023-10-02 11:23:35 +02:00
Thomas Couacault
04b811427d fix: Undefined property: Contrat::$pa_ht 2023-09-28 15:38:16 +02:00
pascal
80f060c771 fix tab indentation 2023-09-26 18:43:25 +02:00
pascal
871f896962 implementation of properties filter 2023-09-26 18:04:48 +02:00
Laurent Destailleur
0c3e516e57 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-09-13 03:08:46 +02:00
Laurent Destailleur
bf3c0e9d4a FIX Avoid duplicate popup when popup setup to work as ajax 2023-09-12 10:52:15 +02:00
Laurent Destailleur
91fa48199a Fix warnings 2023-09-10 17:41:22 +02:00
Laurent Destailleur
876a44703d Fix warning 2023-09-10 17:30:00 +02:00
Frédéric FRANCE
26dff90658 deprecate set_as_client 2023-09-06 14:38:35 +02:00
Laurent Destailleur
18d013a6f7 NEW Merge the "Create ..." buttons on contract into one. 2023-08-11 13:18:43 +02:00