2
0
forked from Wavyzz/dolibarr
Commit Graph

2327 Commits

Author SHA1 Message Date
Laurent Destailleur
d393a0d5ee Debug v20 2024-06-22 14:48:16 +02:00
Laurent Destailleur
4e416a0382 Doxygen 2024-06-19 15:03:25 +02:00
Mathieu Moulin
abcb1dad4b Define CommonObject relation in CommonObjectLine classes (#29956) 2024-06-10 16:08:39 +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
9c9773b74f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-05-31 16:17:53 +02:00
Zephyriony
9be7464ea3 Update fournisseur.commande.class.php (#29786)
Correction of a bug. When cloning, the date of the cloned order was retained in the new order.
2024-05-31 16:00:24 +02:00
Laurent Destailleur
82908a30eb Clean phan warnings 2024-05-30 13:37:17 +02:00
Laurent Destailleur
16336a66ad Rename french module name into english 2024-05-13 10:45:20 +02:00
Laurent Destailleur
087cc34a6c Rename a page with the english name 2024-05-07 02:11:06 +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
9e654e65dd Debug v20 2024-04-29 11:04:19 +02:00
Frédéric FRANCE
5d421b1437 fix phpstan supplier invoice rec (#29398) 2024-04-20 22:45:14 +01:00
Laurent Destailleur
79e844bdcb Fix default value 2024-04-17 10:42:12 +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
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
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
7534e7bbd9 fix Property SupplierInvoiceLine::$localtax1_type (float) does not accept string 2024-04-03 08:57:41 +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
Jon Bendtsen
cbc530c566 will allow updating 1 supplier order single Complementary Attribute without specifying complementary attributes that we don't want to change. Similar to # 29115 but just for supplier orders 2024-04-01 11:13:10 +02:00
Yamil Esteban Garcia
de40477f20 Merge branch 'develop' into patch-2 2024-04-01 10:18:59 +02:00
Yamil Esteban Garcia
a9821e2bf1 Update fournisseur.facture.class.php
Hello Eldy, I just made the changes you asked me for. I have carried out the appropriate checks to verify that everything is working correctly.

All the best
2024-04-01 09:47:42 +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
Frédéric France
5b1af95864 fix phpstan 2024-03-28 20:16:32 +01:00
Frédéric France
cf41d3633b fix phpstan 2024-03-28 20:08:44 +01:00
Frédéric France
a223e04c7f fix phpstan 2024-03-28 19:01:32 +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
27546808fc subtype is not nullable int, reflect this in code 2024-03-27 21:57:57 +01:00
Yamil Esteban Garcia
0a2481c702 Update fournisseur.facture.class.php
IRPF reset when editing the label of a supplier invoice #29049
2024-03-26 22:14:19 +01:00
Laurent Destailleur
5c31471053 Merge pull request #29020 from frederic34/last_main_doc
fetch last_main_doc in invoice supplier
2024-03-23 17:37:38 +01:00
Frédéric FRANCE
df13bc5ab4 fetch last_main_doc in invoice supplier 2024-03-22 12:24:52 +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
effe9e79b5 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:23 +01:00
MDW
e19a60cd62 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:21 +01:00
MDW
476d8cfd9c 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:20 +01:00
MDW
9f93a55468 Fix arg type to trim with cast 2024-03-20 04:10:10 +01:00
MDW
8ac8e5844c Fix arg type to preg_match(),preg_replace(),abs() with cast 2024-03-20 04:09:31 +01:00