Commit Graph

787 Commits

Author SHA1 Message Date
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
Laurent Destailleur
a5a68cfe0a Update contrat.class.php 2023-08-11 11:24:23 +02:00
Laurent Destailleur
06bd68f252 Merge branch 'develop' into develop-2 2023-08-09 18:20:15 +02:00
Laurent Destailleur
0076ec69b8 The property ->brouillon has been removed from all classes. It was not
reliable and was a duplicate of ->status == self::STATUS_DRAFT.
2023-08-06 00:16:25 +02:00
Charlène Benke
65d48d10f1 add getTicketsArray function 2023-08-04 14:44:04 +02:00
onhairech
facd492222 qodana fix 5 : missing returns (#25347)
* qodana fix 5 : missing returns

* correcting return

* correcting a mistake
2023-07-24 19:42:31 +02:00
Frédéric France
14b045f2b9 use user hasRight 2023-06-19 23:11:08 +02:00
Laurent Destailleur
31474d80f1 Doxygen 2023-06-19 00:52:43 +02:00
Laurent Destailleur
89e378bc78 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-06-04 19:07:04 +02:00
Florian HENRY
f8a4dde4f1 fix: Contract API class must return lines date 2023-05-30 15:59:40 +02:00
Laurent Destailleur
66393753c4 Clean code - fix warnings 2023-05-30 13:29:57 +02:00
Laurent Destailleur
5dd3f57a1e Debug v18 2023-05-11 13:11:21 +02:00
Laurent Destailleur
4028b5d568 Clean code 2023-04-29 13:13:12 +02:00