2
0
forked from Wavyzz/dolibarr
Commit Graph

6854 Commits

Author SHA1 Message Date
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
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
9e654e65dd Debug v20 2024-04-29 11:04:19 +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
PsyCrow
93ba9189d2 FIX PHP Warning: Undefined variable $socid on line 55 (#29490)
FIX PHP Warning:  Undefined variable $socid on line 55
2024-04-27 03:45:32 +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
Frédéric FRANCE
5d421b1437 fix phpstan supplier invoice rec (#29398) 2024-04-20 22:45:14 +01:00
sonikf
5f98189729 fix #29381 backport #28039 in v. 19 (#29400) 2024-04-20 22:33:57 +01: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
612e41a8ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	htdocs/product/stock/replenish.php
	htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
Laurent Destailleur
79e844bdcb Fix default value 2024-04-17 10:42:12 +02:00
sonikf
95aa03e3b0 FIX #28347 FIX #28962 FIX #29224 FIX #29035 (#29303)
* FIX #28347 FIX #28962 FIX #29224

* fix empty line

* Update card.php

* FIX #29035

* add multicompany support in creation of supplier order from client order

* Update card.php

Assign a subprice value of 0 to user selected lines without a vendor product price when creating a supplier order from a client order
2024-04-12 12:53:03 +02:00
Vincent Maury
6212868aca regl_mode on new command not set (#29293)
When creating a new supplier order, even if the default reglement_mode is set for this supplier, the reglement_mode for the new order is not set.
As It is for the cond_reglement
I don't understand why my update is ok, but IT IS !
2024-04-09 20:09:45 +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
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
thibdrev
2fca326f12 qual: phpstan for fournisseur.facture.class.php
htdocs/fourn/class/fournisseur.facture.class.php	204	PHPDoc type float|int of property FactureFournisseur::$total_ht is not covariant with PHPDoc type float of overridden property CommonObject::$total_ht.
htdocs/fourn/class/fournisseur.facture.class.php	206	PHPDoc type float|int of property FactureFournisseur::$total_tva is not covariant with PHPDoc type float of overridden property CommonObject::$total_tva.
htdocs/fourn/class/fournisseur.facture.class.php	208	PHPDoc type float|int of property FactureFournisseur::$total_localtax1 is not covariant with PHPDoc type float of overridden property CommonObject::$total_localtax1.
htdocs/fourn/class/fournisseur.facture.class.php	210	PHPDoc type float|int of property FactureFournisseur::$total_localtax2 is not covariant with PHPDoc type float of overridden property CommonObject::$total_localtax2.
htdocs/fourn/class/fournisseur.facture.class.php	212	PHPDoc type float|int of property FactureFournisseur::$total_ttc is not covariant with PHPDoc type float of overridden property CommonObject::$total_ttc.
htdocs/fourn/class/fournisseur.facture.class.php	1204	Property FactureFournisseur::$author (int) does not accept string.
2024-04-04 21:15:09 +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
2032999376 Merge pull request #29172 from JonBendtsen/supplier_order_update_single_array_option_element
allow updating supplier orders single Complementary Attribute
2024-04-04 19:51:02 +02:00
Frédéric FRANCE
08dc3592ad Merge branch 'develop' into patch-9 2024-04-04 18:08:57 +02:00
Jon Bendtsen
a433856917 Merge branch 'develop' into supplier_order_update_single_array_option_element 2024-04-03 19:39:49 +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
Laurent Destailleur
5acdcac75d Debug v20 2024-04-03 12:25:06 +02:00
Frédéric FRANCE
7534e7bbd9 fix Property SupplierInvoiceLine::$localtax1_type (float) does not accept string 2024-04-03 08:57:41 +02:00
sonikf
b15a0685e7 fix list default search parameters 2024-04-03 03:17:19 +03:00
Laurent Destailleur
cefaa1e8f5 Merge branch 'develop' into supplier_order_update_single_array_option_element 2024-04-03 02:12:56 +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
Jon Bendtsen
f98477de09 Merge branch 'develop' into supplier_order_update_single_array_option_element 2024-04-02 16:02:57 +02:00
Laurent Destailleur
c6c441ffee Merge pull request #29078 from developmentOYR/patch-2
Update fournisseur.facture.class.php
2024-04-02 15:11:07 +02:00
Laurent Destailleur
9f993fb8e6 Update fournisseur.facture.class.php 2024-04-02 15:10:36 +02:00
Laurent Destailleur
425f1cc522 Fix missing checkValForAPI 2024-04-02 14:53:01 +02:00
Laurent Destailleur
2316d26de4 Update api_supplier_orders.class.php 2024-04-02 14:52:03 +02:00
Laurent Destailleur
579e770ab0 Merge pull request #29174 from JonBendtsen/supplier_invoice_update_single_array_option_element
allow updating supplier invoice single Complementary Attribute
2024-04-02 14:49:52 +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
5be6b32559 Merge branch 'develop' into supplier_invoice_update_single_array_option_element 2024-04-02 13:53:10 +02:00
Laurent Destailleur
0797566c01 Merge branch 'develop' into supplier_order_update_single_array_option_element 2024-04-02 13:53:02 +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
Jon Bendtsen
2dbf16999c will allow updating 1 supplier invoice single Complementary Attribute without specifying complementary attributes that we don't want to change. Similar to # 29115 but just for supplier invoice 2024-04-01 11:19:22 +02:00