Commit Graph

2616 Commits

Author SHA1 Message Date
Laurent Destailleur
93eded598e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-03 18:24:03 +02:00
PsyCrow
1e7184c11f FIX PHP Warning: Undefined variable $tva_npr in /fourn/facture/card.php on line 1695 (#29593)
#FIX PHP Warning:  Undefined variable $tva_npr in /fourn/facture/card.php on line 1695
2024-05-03 13:09:52 +02:00
Laurent Destailleur
e3daa23949 Look and feel v20 2024-04-30 09:45:28 +02:00
Laurent Destailleur
8db9b30fbb Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-27 04:07:00 +02:00
PsyCrow
c17026f652 FIX: PHP Warning: Undefined array key "totalam" on line 1890 (#29489)
* FIX: PHP Warning:  Undefined array key "totalam" on line 1890

FIX PHP Warning:  Undefined array key "totalam" on line 1890

* Update list.php

* Update list.php

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 03:57:16 +02:00
Laurent Destailleur
b8b964169a Merge 2024-04-27 03:32:22 +02:00
PsyCrow
80ee6c813c FIX PHP Warning: Undefined array key "totalam" on line 1891 (#29487)
FIX PHP Warning:  Undefined array key "totalam" on line 1891
2024-04-26 23:50:54 +02:00
Laurent Destailleur
2f7e9734bd Debug v20 2024-04-23 00:38:56 +02:00
Laurent Destailleur
d4b7332c76 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-22 14:24:14 +02:00
spooky360
8949354053 FIX: an error occured when doing a mass vat change de 0% on supplier invoice (#29417)
On a supplier invoice, when you want to set all lines VAT to 0, the check performed in card.php fails and an error occurs. The 0 value was interpreted as false so we never enter in the "if" condition. We now check that the value is not an empty string
2024-04-20 22:19:36 +01:00
Laurent Destailleur
27dcafc05e Debug v20 2024-04-20 19:09:34 +02:00
Laurent Destailleur
1e3b2c6a7c Try to fix GETPOSTINT regressions 2024-04-19 13:34:48 +02:00
Laurent Destailleur
ac63bd9b56 Debug v20 2024-04-09 19:36:39 +02:00
sonikf
672ba6f47d QUAL: feature parity between vendor and customer template invoice (#26588)
* NEW: Add invoice subtype

* Add subtype, propagate extrafields and clean up

* fix empty line

* fix phan error
2024-04-08 20:36:12 +02:00
Laurent Destailleur
ab53b275eb Fix default value 2024-04-08 12:09:05 +02:00
Laurent Destailleur
74ea1ecd56 Merge pull request #29205 from DoliGreece/sonikf-patch-fix-vendor-template-list
fix vendor template list default search parameters
2024-04-04 20:21:11 +02:00
Laurent Destailleur
14afdf6b0e Fix regression on GETPOSTINT 2024-04-03 17:50:24 +02:00
Laurent Destailleur
fffe74246c Fix all short tables must use the setup for the number of rows 2024-04-03 15:30:10 +02:00
sonikf
b15a0685e7 fix list default search parameters 2024-04-03 03:17:19 +03: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
5c72441cc2 Merge pull request #29133 from mdeweerd/fix/related/fournisseur.facture
Fix phan notices related to fournisseur.facture.class.php
2024-03-30 23:46:01 +01: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
MDW
52ef6f937b Fix use $societe not undefined $soc
# Fix use $societe not undefined $soc

Code is referencing undefined $soc, so using $societe instead
2024-03-29 21:19:39 +01:00
Laurent Destailleur
5a6791aa5a Clean code 2024-03-29 11:43:26 +01:00
Laurent Destailleur
b58e439a17 Clean use of $_POST 2024-03-28 21:29:02 +01:00
Laurent Destailleur
e73f79ca96 Qual: Remove unnecessary use of $_GET 2024-03-28 20:19:28 +01:00
Laurent Destailleur
3fd0af7987 Fix #29085 2024-03-28 14:27:33 +01:00
Laurent Destailleur
415e99606d Merge pull request #29091 from mdeweerd/fix/facturefournisseur/card
Fix card FactureFournisseur
2024-03-28 12:55:24 +01:00
Laurent Destailleur
c112a965cc Fix phan warnings 2024-03-28 12:54:08 +01:00
MDW
32089fa3af Fix deprecations/typing 2024-03-27 21:57:59 +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
Laurent Destailleur
0465aeb412 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-27 11:39:26 +01:00
Laurent Destailleur
dc43a7e87b Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-27 11:22:38 +01:00
Regis Houssin
38156a84fc FIX wrong sql request with product category filter 2024-03-26 20:40:26 +01:00
MDW
d68dc69c92 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:51 +01:00
MDW
ef894b0bec Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:50 +01:00
MDW
668207b34b Fix typing with casts, fix AutoFillAmout typo 2024-03-22 09:52:41 +01:00
Laurent Destailleur
51a3641105 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/bom/tpl/objectline_create.tpl.php
	htdocs/compta/bank/releve.php
	htdocs/core/class/html.formsetup.class.php
	htdocs/takepos/freezone.php
2024-03-22 02:35:37 +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
32db6eebbb Fix arg type to abs() with cast 2024-03-20 04:09:33 +01:00
MDW
2175c55085 Fix arg type to preg_replace() with cast 2024-03-20 04:09:32 +01:00
MDW
60a3631d58 Fix arg type to abs() with cast 2024-03-20 04:08:42 +01:00
MDW
a5d16b326b Fix: Initialise $amount_ttc_diff to fix PhanUndeclaredVariableAssignOp 2024-03-18 13:12:49 +01:00
Laurent Destailleur
5e51092efd Merge pull request #28926 from frederic34/phpstanphpstan
fix phpstan
2024-03-17 21:57:25 +01:00
Frédéric France
17ea003a69 fix phpstan 2024-03-17 21:20:36 +01:00
MDW
e56546515c Fix unneeded trim, unneeded urlencode 2024-03-17 15:04:48 +01:00
Laurent Destailleur
de58435ef1 FIX: if we stop for security purpose, we must exit a non zero value. 2024-03-16 23:08:15 +01:00
Laurent Destailleur
e994d6650f Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
Laurent Destailleur
79aa9fb1f1 Code simpler 2024-03-15 20:29:21 +01:00
MDW
cbd42a7906 Fix PhanPluginSuspiciousParamPosition by renaming arg (local assign) 2024-03-14 19:39:46 +01:00