diff --git a/htdocs/core/modules/barcode/mod_barcode_product_standard.php b/htdocs/core/modules/barcode/mod_barcode_product_standard.php
index 6be9aa859c3..b8fc623709d 100644
--- a/htdocs/core/modules/barcode/mod_barcode_product_standard.php
+++ b/htdocs/core/modules/barcode/mod_barcode_product_standard.php
@@ -49,7 +49,10 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
- public $code_auto; // Automatic Numbering
+ /**
+ * @var int Automatic numbering
+ */
+ public $code_auto;
public $searchcode; // Search string
diff --git a/htdocs/core/modules/contract/mod_contract_magre.php b/htdocs/core/modules/contract/mod_contract_magre.php
index 7bb13f79af1..8e723cba8df 100644
--- a/htdocs/core/modules/contract/mod_contract_magre.php
+++ b/htdocs/core/modules/contract/mod_contract_magre.php
@@ -53,6 +53,9 @@ class mod_contract_magre extends ModelNumRefContracts
*/
public $name='Magre';
+ /**
+ * @var int Automatic numbering
+ */
public $code_auto=1;
/**
diff --git a/htdocs/core/modules/contract/mod_contract_olive.php b/htdocs/core/modules/contract/mod_contract_olive.php
index 405781a48ae..6a198fdb309 100644
--- a/htdocs/core/modules/contract/mod_contract_olive.php
+++ b/htdocs/core/modules/contract/mod_contract_olive.php
@@ -58,7 +58,10 @@ class mod_contract_olive extends ModelNumRefContracts
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
- public $code_auto = 0; // Numerotation automatique
+ /**
+ * @var int Automatic numbering
+ */
+ public $code_auto = 0;
/**
diff --git a/htdocs/core/modules/contract/mod_contract_serpis.php b/htdocs/core/modules/contract/mod_contract_serpis.php
index 9477e79b96f..f8f287d3dd6 100644
--- a/htdocs/core/modules/contract/mod_contract_serpis.php
+++ b/htdocs/core/modules/contract/mod_contract_serpis.php
@@ -53,6 +53,9 @@ class mod_contract_serpis extends ModelNumRefContracts
*/
public $name='Serpis';
+ /**
+ * @var int Automatic numbering
+ */
public $code_auto=1;
diff --git a/htdocs/core/modules/holiday/mod_holiday_immaculate.php b/htdocs/core/modules/holiday/mod_holiday_immaculate.php
index 7defb2f6dad..dee02685bf6 100644
--- a/htdocs/core/modules/holiday/mod_holiday_immaculate.php
+++ b/htdocs/core/modules/holiday/mod_holiday_immaculate.php
@@ -53,6 +53,9 @@ class mod_holiday_immaculate extends ModelNumRefHolidays
*/
public $name='Immaculate';
+ /**
+ * @var int Automatic numbering
+ */
public $code_auto=1;
/**
diff --git a/htdocs/core/modules/holiday/mod_holiday_madonna.php b/htdocs/core/modules/holiday/mod_holiday_madonna.php
index 1d290ce0909..1cd1274869f 100644
--- a/htdocs/core/modules/holiday/mod_holiday_madonna.php
+++ b/htdocs/core/modules/holiday/mod_holiday_madonna.php
@@ -54,6 +54,9 @@ class mod_holiday_madonna extends ModelNumRefHolidays
*/
public $name='Madonna';
+ /**
+ * @var int Automatic numbering
+ */
public $code_auto=1;
diff --git a/htdocs/core/modules/product/mod_codeproduct_elephant.php b/htdocs/core/modules/product/mod_codeproduct_elephant.php
index 18d91631d3c..523dc8bd7c4 100644
--- a/htdocs/core/modules/product/mod_codeproduct_elephant.php
+++ b/htdocs/core/modules/product/mod_codeproduct_elephant.php
@@ -60,7 +60,10 @@ class mod_codeproduct_elephant extends ModeleProductCode
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
- public $code_auto; // Numerotation automatique
+ /**
+ * @var int Automatic numbering
+ */
+ public $code_auto;
public $searchcode; // String de recherche
diff --git a/htdocs/core/modules/product/mod_codeproduct_leopard.php b/htdocs/core/modules/product/mod_codeproduct_leopard.php
index 77e14200264..04a15c9b8a5 100644
--- a/htdocs/core/modules/product/mod_codeproduct_leopard.php
+++ b/htdocs/core/modules/product/mod_codeproduct_leopard.php
@@ -65,7 +65,10 @@ class mod_codeproduct_leopard extends ModeleProductCode
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
- public $code_auto; // Numerotation automatique
+ /**
+ * @var int Automatic numbering
+ */
+ public $code_auto;
/**
diff --git a/htdocs/core/modules/societe/mod_codeclient_elephant.php b/htdocs/core/modules/societe/mod_codeclient_elephant.php
index 430c50fb401..3a7d2c00613 100644
--- a/htdocs/core/modules/societe/mod_codeclient_elephant.php
+++ b/htdocs/core/modules/societe/mod_codeclient_elephant.php
@@ -53,7 +53,10 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
- public $code_auto; // Numerotation automatique
+ /**
+ * @var int Automatic numbering
+ */
+ public $code_auto;
public $searchcode; // String de recherche
diff --git a/htdocs/core/modules/societe/mod_codeclient_leopard.php b/htdocs/core/modules/societe/mod_codeclient_leopard.php
index 4ba5e490b07..80bb3013904 100644
--- a/htdocs/core/modules/societe/mod_codeclient_leopard.php
+++ b/htdocs/core/modules/societe/mod_codeclient_leopard.php
@@ -57,7 +57,10 @@ class mod_codeclient_leopard extends ModeleThirdPartyCode
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
- public $code_auto; // Numerotation automatique
+ /**
+ * @var int Automatic numbering
+ */
+ public $code_auto;
/**
diff --git a/htdocs/core/modules/societe/mod_codeclient_monkey.php b/htdocs/core/modules/societe/mod_codeclient_monkey.php
index 89774161635..6273f5e74ef 100644
--- a/htdocs/core/modules/societe/mod_codeclient_monkey.php
+++ b/htdocs/core/modules/societe/mod_codeclient_monkey.php
@@ -51,7 +51,10 @@ class mod_codeclient_monkey extends ModeleThirdPartyCode
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
- public $code_auto; // Numerotation automatique
+ /**
+ * @var int Automatic numbering
+ */
+ public $code_auto;
public $prefixcustomer='CU';
diff --git a/htdocs/langs/en_US/bills.lang b/htdocs/langs/en_US/bills.lang
index 0acd25ec536..f7ed7bcade0 100644
--- a/htdocs/langs/en_US/bills.lang
+++ b/htdocs/langs/en_US/bills.lang
@@ -175,6 +175,7 @@ DraftBills=Draft invoices
CustomersDraftInvoices=Customer draft invoices
SuppliersDraftInvoices=Vendor draft invoices
Unpaid=Unpaid
+ErrorNoPaymentDefined=Error No payment defined
ConfirmDeleteBill=Are you sure you want to delete this invoice?
ConfirmValidateBill=Are you sure you want to validate this invoice with reference %s?
ConfirmUnvalidateBill=Are you sure you want to change invoice %s to draft status?