Commit Graph

775 Commits

Author SHA1 Message Date
jyhere
a3b05b6989 FIX: reception batch numbers with letters don't work anymore (#30034)
* FIX: reception batch numbers with letters don't work anymore

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-15 15:06:17 +02:00
Anthony Damhet
f0ccd63ed4 Add llxHeader to reception (#29935) 2024-06-08 18:53:19 +02:00
Frédéric FRANCE
741e75ee47 add phpdoc (#29832)
* add phpdoc

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* add phpdoc

* fix phan

* fix phan
2024-06-04 14:46:54 +02:00
Laurent Destailleur
ef3f007f51 Fix #yogosha22395 2024-06-02 22:43:54 +02:00
Laurent Destailleur
8d85a725a2 Fix #yogosha22394 2024-06-02 22:28:25 +02:00
Laurent Destailleur
59ae417912 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-23 12:52:28 +02:00
Laurent Destailleur
393e8baa7a Better position of barcode 2024-05-22 20:58:13 +02:00
Laurent Destailleur
01f584a43b Debug v20 2024-05-22 20:40:11 +02:00
Laurent Destailleur
481fec5291 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-05-21 20:12:45 +02:00
jyhere
6b0c96a293 NEW: receptions in dolibarr search box (#29700) 2024-05-16 17:32:30 +02:00
Laurent Destailleur
16336a66ad Rename french module name into english 2024-05-13 10:45:20 +02:00
Rémi Champlon
66d4960a79 FIX : Not qualified lines for reception (#29473)
* Fix qualified line receptions

* indent

* change
2024-05-09 13:16:27 +02:00
Frédéric FRANCE
d0830b3159 fix phpstan (#29602)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

fix phpstan

fix phpstan

fix phpstan

fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 00:34:19 +02:00
Laurent Destailleur
9c2f98be94 Fix cti 2024-04-29 12:03:01 +02:00
Laurent Destailleur
9e654e65dd Debug v20 2024-04-29 11:04:19 +02:00
Frédéric FRANCE
26da44e254 fix phpstan (#29431)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* remove params not used

* add WARNING
2024-04-27 12:45:50 +02:00
Frédéric FRANCE
a429e73ee5 add fusion pdf in receipt list (#29464)
* add fusion pdf in receipt list

* add fusion pdf in receipt list

* add fusion pdf in receipt list

* add fusion pdf in receipt list

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-26 12:20:37 +02:00
Benjamin Falière
948e204fae ADD arrayfields as parameter in doActions (#29326)
* ADD arrayfields as parameter in doActions

* FIX typo

* FIX syntax error

---------

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2024-04-11 20:07:13 +02:00
Laurent Destailleur
b5de782c6b Fix use the good HTTP code 2024-04-07 14:59:25 +02:00
Laurent Destailleur
fd9475be03 Use same doc comment eveywhere. 2024-04-07 12:26:27 +02:00
Laurent Destailleur
38fb00489d PHPDoc 2024-04-05 13:44:59 +02:00
Laurent Destailleur
14afdf6b0e Fix regression on GETPOSTINT 2024-04-03 17:50:24 +02:00
Laurent Destailleur
2947287e3f Look and feel v20 2024-04-03 16:22:16 +02:00
Laurent Destailleur
d03a926238 Clean code. Reduce warning for deprecated field to a better blanced
level, as we should start soon the beta.
2024-04-03 00:51:18 +02:00
Laurent Destailleur
7715513ac9 Some API HTTP return code were moved from 401 to 403 to better follow
REST specification.
2024-04-02 14:47:49 +02:00
Laurent Destailleur
990216b13f NEW Api parameters are sanitized by the WAF, same code than GET/POST 2024-04-02 13:07:13 +02:00
MDW
9afe7dba59 Fix phan notices related to fournisseur.facture.class.php
# Fix phan notices related to fournisseur.facture.class.php

This fixes deprecations and phpdoc.
2024-03-29 23:48:40 +01:00
Laurent Destailleur
e73f79ca96 Qual: Remove unnecessary use of $_GET 2024-03-28 20:19:28 +01:00
Laurent Destailleur
54501bccc3 Merge pull request #29066 from mdeweerd/fix/dol_get_fiche_head
Fix arguments to dol_get_fiche_head and dol_get_fiche_end
2024-03-28 14:16:45 +01:00
MDW
975243f1b5 Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible
# Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible

Assign socid whenever fk_soc is assigned so that socid can be accessed
instead of fk_soc.
2024-03-27 18:07:51 +01:00
MDW
b56cbb6c17 Fix arguments to dol_get_fiche_head 2024-03-27 10:23:04 +01:00
MDW
9c953353c2 Extra test to fix PhanTypeInvalidPropertyName 2024-03-24 15:40:33 +01:00
MDW
0a925dd0a9 Extra test to fix PhanTypeInvalidPropertyName 2024-03-24 15:40:32 +01:00
MDW
71818bd4f4 Extra test to fix PhanTypeInvalidPropertyName 2024-03-24 15:40:31 +01:00
MDW
bbc086ce26 Force type to fix PhanNonClassMethodCall 2024-03-24 15:40:29 +01:00
MDW
f357056590 Extra test to fix PhanTypeInvalidPropertyName 2024-03-24 11:10:43 +01:00
MDW
c9ddf52f4f Extra test to fix PhanTypeInvalidPropertyName 2024-03-24 11:10:42 +01:00
MDW
e4a45f6f1e Extra test to fix PhanTypeInvalidPropertyName 2024-03-24 11:10:41 +01:00
MDW
2982465f56 Extra test to fix PhanTypeInvalidPropertyName 2024-03-24 11:03:16 +01:00
Laurent Destailleur
59c87c7cb6 Clean usage of ->origin_object instead of ->origin that was a string. 2024-03-24 06:12:18 +01:00
Laurent Destailleur
922f30eceb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-21 15:38:11 +01:00
MDW
a960e74a5c Fix $mybool |=... which is binary op, not boolean op
# Fix $mybool |=... which is binary op, not boolean op

This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:45:45 +01:00
MDW
aeefca7e7e Fix $arrayfields typing lost by dol_sort_array() by forcing the type 2024-03-20 23:29:48 +01:00
MDW
cbee85644e Fix arg type to trim() with cast 2024-03-20 04:10:00 +01:00
MDW
73f0786559 Fix arg type to strcmp() with cast 2024-03-20 04:09:58 +01:00
MDW
c5479f4520 Fix: Update typing for qty as float 2024-03-19 20:37:38 +01:00
Christophe Battarel
07597c4515 renaming of columns impact db access 2024-03-19 15:56:44 +01:00
Christophe Battarel
446b574de5 renaming of columns impact db access 2024-03-19 15:49:42 +01:00
Christophe Battarel
f94d282c17 renam fk_commande and fk_commandefourdet 2024-03-19 15:24:08 +01:00
Christophe Battarel
b2baacccb4 update credentials 2024-03-19 14:58:05 +01:00