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
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
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
233629ed3a
Merge branch 'develop' into phpstan_user
2024-03-29 12:20:23 +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
Frédéric France
7a7b1953ed
fix phpstan
2024-03-28 20:34:33 +01:00
Frédéric France
a3df8248a7
Merge remote-tracking branch 'upstream/develop' into phpstan_user
2024-03-28 20:26:57 +01:00
Laurent Destailleur
e73f79ca96
Qual: Remove unnecessary use of $_GET
2024-03-28 20:19:28 +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
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
27546808fc
subtype is not nullable int, reflect this in code
2024-03-27 21:57:57 +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