2
0
forked from Wavyzz/dolibarr
Commit Graph

2192 Commits

Author SHA1 Message Date
Laurent Destailleur
61921f0364 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-01 12:24:00 +01:00
Laurent Destailleur
4cba87129c Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-01 12:22:54 +01:00
Laurent Destailleur
9dd1646818 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-01 12:20:12 +01:00
Laurent Destailleur
a4d5be00e6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-01 11:54:48 +01:00
Laurent Destailleur
8ec97aad63 Merge pull request #27936 from thibdrev/patch-6
qual: phpstan for htdocs/fourn/class/fournisseur.facture.class.php
2024-02-01 10:56:45 +01:00
Laurent Destailleur
e62204da8b Update fournisseur.facture.class.php 2024-02-01 10:56:31 +01:00
Laurent Destailleur
c8b1fd81da Fix type (boolean must be replaced with int) 2024-02-01 10:55:47 +01:00
thibdrev
30c0258dda qual: phpstan for htdocs/fourn/class/fournisseur.product.class.php
htdocs/fourn/class/fournisseur.product.class.php	839	Property ProductFournisseur::$product_fourn_price_id (int) does not accept string.
htdocs/fourn/class/fournisseur.product.class.php	850	Property ProductFournisseur::$id (int) does not accept string.
2024-01-31 22:28:27 +01:00
thibdrev
8bf313cb8c qual: phpstan for htdocs/fourn/class/fournisseur.facture.class.php
htdocs/fourn/class/fournisseur.facture.class.php	957	Property FactureFournisseur::$vat_reverse_charge (bool) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	1147	Property CommonObject::$entity (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	1150	Property FactureFournisseur::$type (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	1153	Property CommonInvoice::$subtype (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	1156	Property CommonInvoice::$socid (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	1162	Property FactureFournisseur::$paye (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	1185	Property FactureFournisseur::$total_ttc (float) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	1200	Property FactureFournisseur::$fk_facture_source (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	1204	Property CommonObject::$fk_project (int) does not accept null.
htdocs/fourn/class/fournisseur.facture.class.php	1210	Property CommonInvoice::$cond_reglement_id (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	1863	Property CommonObject::$origin (string) does not accept $this(FactureFournisseur).
htdocs/fourn/class/fournisseur.facture.class.php	2004	Property CommonObject::$origin (string) does not accept $this(FactureFournisseur).
htdocs/fourn/class/fournisseur.facture.class.php	2435	Property SupplierInvoiceLine::$remise_percent (float) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	2443	Property SupplierInvoiceLine::$localtax1_tx (float) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	2444	Property SupplierInvoiceLine::$localtax2_tx (float) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	2985	Method FactureFournisseur::getNextNumRef() should return string but returns int.
htdocs/fourn/class/fournisseur.facture.class.php	3388	Property FactureFournisseur::$vat_reverse_charge (bool) does not accept int.
htdocs/fourn/class/fournisseur.facture.class.php	3932	Property SupplierInvoiceLine::$localtax1_type (float) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php	3935	Property SupplierInvoiceLine::$localtax2_type (float) does not accept string.
2024-01-31 21:56:14 +01:00
Laurent Destailleur
c67b34ed35 Merge pull request #27921 from ATM-Nicolas/fix_17_missing_begin_transaction
FIX : Missing begin transaction
2024-01-31 11:58:58 +01:00
ATM-Nicolas
318aed668d FIX : SQL concatenation error 2024-01-31 11:24:37 +01:00
ATM-Nicolas
39f3fe4606 FIX : Missing begin transaction when updating supplier recurring invoice 2024-01-31 11:04:23 +01:00
thibdrev
6f18b66bfa doc 2024-01-28 17:38:46 +01:00
thibdrev
f03f5b6be4 qual: phpstan for htdocs/fourn/class/fournisseur.commande.class.php
htdocs/fourn/class/fournisseur.commande.class.php	1146	Method CommandeFournisseur::getNextNumRef() should return string but returns int.
htdocs/fourn/class/fournisseur.commande.class.php	1150	Method CommandeFournisseur::getNextNumRef() should return string but returns int.
htdocs/fourn/class/fournisseur.commande.class.php	1867	Property CommandeFournisseur::$date_creation (int) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	1869	Property CommandeFournisseur::$ref_supplier (string) does not accept null.
htdocs/fourn/class/fournisseur.commande.class.php	1870	Property CommandeFournisseur::$user_approve_id (int) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	1871	Property CommandeFournisseur::$user_approve_id2 (int) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	1872	Property CommandeFournisseur::$date_approve (int) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	1873	Property CommandeFournisseur::$date_approve2 (int) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	3020	Property CommonOrderLine::$remise_percent (float) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	3048	Property CommonOrderLine::$remise_percent (float) does not accept string.
2024-01-28 17:35:17 +01:00
Laurent Destailleur
3ed68ee69b Merge pull request #27762 from thibdrev/patch-2
qual: phpstan and phpdoc
2024-01-24 10:50:28 +01:00
Laurent Destailleur
ce21af7b6c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-23 22:17:46 +01:00
Laurent Destailleur
cca01cbda4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-23 22:15:36 +01:00
Laurent Destailleur
b05d1c5f6e Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-23 22:03:28 +01:00
Laurent Destailleur
f5b6b8ece9 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-01-23 21:33:52 +01:00
thibdrev
4143a55b24 phpcs 2024-01-23 20:18:02 +01:00
thibdrev
251fcef63e qual: phpstan and phpdoc
htdocs/fourn/class/fournisseur.commande.class.php	2919	Property CommonOrderLine::$localtax1_tx (float) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	2920	Property CommonOrderLine::$localtax2_tx (float) does not accept string.
2024-01-23 20:13:10 +01:00
atm-lena
6f0a91856f Missing Translations 2024-01-22 12:42:34 +01:00
Laurent Destailleur
e950bdde26 Merge pull request #27687 from frederic34/dol_print_error_db
fix param
2024-01-22 00:03:06 +01:00
Frédéric FRANCE
80787b661e Update fournisseur.facture.class.php 2024-01-21 19:58:44 +01:00
Frédéric FRANCE
3a1b7a16f4 fix incorrect default value 2024-01-21 19:57:11 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Frédéric France
4b3f351f95 phpdoc 2024-01-18 23:28:42 +01:00
Frédéric France
64e049ac2e rename method 2024-01-18 19:47:35 +01:00
Frédéric France
b3bcdeafe5 rename method 2024-01-18 18:55:53 +01:00
Laurent Destailleur
43d8e26023 Move API HTTP code from 401 to 403 2024-01-18 16:25:47 +01:00
Laurent Destailleur
4db074216c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-18 16:04:49 +01:00
Laurent Destailleur
055a598584 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-18 16:04:23 +01:00
Laurent Destailleur
d9858d9bb7 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-18 16:00:26 +01:00
Laurent Destailleur
a2cdfa5492 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-01-18 15:59:40 +01:00
Aloïs Micard
bc14550ded FIX: Fix supplier invoice security check 2024-01-18 14:55:45 +01:00
Frédéric FRANCE
c4d19d6202 fix phpstan 2024-01-15 20:27:44 +01:00
MDW
bd002480ce Qual: Spelling htdocs/[d-k]* (#27427)
Highlights:

- htdocs/install/doctemplates/websites/website_template-restaurant/containers/page249.tpl.php

  Potential functional change (fix) because toekn was changed to token:
   `<input type=hidden name=toekn`

- htdocs/install/upgrade2.php
  $filles changed to $children

- htdocs/intracommreport/class/intracommreport.class.php
  Local $enveloppe changed to $envelope.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-13 19:48:41 +01:00
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
Laurent Destailleur
cb2ebb1d56 Fix phpcs 2024-01-12 20:51:10 +01:00
Frédéric FRANCE
0d3e0c8ec4 fix incorrect case and remove exclude check (#27449) 2024-01-12 20:40:34 +01:00
Laurent Destailleur
f201692001 Fix phpstan 2024-01-12 19:50:22 +01:00
Frédéric FRANCE
d8ffc4aed0 fix phpstan (#27442)
* fix phpstan

* Update api_products.class.php
2024-01-12 17:16:28 +01:00
Laurent Destailleur
2a4578ef68 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 13:48:15 +01:00
Laurent Destailleur
34f5c1e293 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-11 13:47:14 +01:00
Laurent Destailleur
64fb9d0db7 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-11 13:45:16 +01:00
Laurent Destailleur
e2f49c407f Clean sql request to use exist instead of left join 2024-01-09 10:44:50 +01:00
MDW
efce6c5aab Fix: fournisseur.commande - add missing argument addline call
The call to addline had several missing arguments.  Added.
2024-01-08 23:45:46 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
ccaae7ab24 Clean code 2024-01-05 03:41:22 +01:00
Laurent Destailleur
5a169c5932 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-02 14:55:14 +01:00