diff --git a/htdocs/core/actions_massactions.inc.php b/htdocs/core/actions_massactions.inc.php
index bddf190b62c..55dda5a5934 100644
--- a/htdocs/core/actions_massactions.inc.php
+++ b/htdocs/core/actions_massactions.inc.php
@@ -539,7 +539,7 @@ if ($massaction == 'confirm_createbills') // Create bills from orders
{
$orders = GETPOST('toselect', 'array');
$createbills_onebythird = GETPOST('createbills_onebythird', 'int');
- $validate_invoices = GETPOST('valdate_invoices', 'int');
+ $validate_invoices = GETPOST('validate_invoices', 'int');
$TFact = array();
$TFactThird = array();
diff --git a/htdocs/fourn/commande/list.php b/htdocs/fourn/commande/list.php
index ec728ccaf07..c80fffabe48 100644
--- a/htdocs/fourn/commande/list.php
+++ b/htdocs/fourn/commande/list.php
@@ -228,7 +228,7 @@ if (empty($reshook))
{
$orders = GETPOST('toselect', 'array');
$createbills_onebythird = GETPOST('createbills_onebythird', 'int');
- $validate_invoices = GETPOST('valdate_invoices', 'int');
+ $validate_invoices = GETPOST('validate_invoices', 'int');
$TFact = array();
$TFactThird = array();
@@ -682,7 +682,7 @@ if ($resql)
print $langs->trans('ValidateInvoices');
print '';
print '
';
- print $form->selectyesno('valdate_invoices', 1, 1);
+ print $form->selectyesno('validate_invoices', 1, 1);
print ' | ';
print '';
print '';
diff --git a/htdocs/fourn/facture/list.php b/htdocs/fourn/facture/list.php
index 9c9071b8a14..2e0f3c17d1f 100644
--- a/htdocs/fourn/facture/list.php
+++ b/htdocs/fourn/facture/list.php
@@ -518,7 +518,7 @@ if ($resql)
print $langs->trans('ValidateInvoices');
print '';
print '';
- print $form->selectyesno('valdate_invoices', 1, 1);
+ print $form->selectyesno('validate_invoices', 1, 1);
print ' | ';
print '';
print '';
diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php
index f8b0e598927..3ac6656ce30 100644
--- a/htdocs/projet/tasks/time.php
+++ b/htdocs/projet/tasks/time.php
@@ -830,7 +830,7 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0)
print $langs->trans('ValidateInvoices');
print '';
print '';
- print $form->selectyesno('valdate_invoices', 0, 1);
+ print $form->selectyesno('validate_invoices', 0, 1);
print ' | ';
print '';*/
print '';
diff --git a/htdocs/reception/list.php b/htdocs/reception/list.php
index bbf554ed6b1..e40be9f0d10 100644
--- a/htdocs/reception/list.php
+++ b/htdocs/reception/list.php
@@ -159,7 +159,7 @@ if (empty($reshook))
$receptions = GETPOST('toselect', 'array');
$createbills_onebythird = GETPOST('createbills_onebythird', 'int');
- $validate_invoices = GETPOST('valdate_invoices', 'int');
+ $validate_invoices = GETPOST('validate_invoices', 'int');
$TFact = array();
$TFactThird = array();
@@ -584,12 +584,12 @@ if ($resql)
print '';
if (! empty($conf->stock->enabled) && ! empty($conf->global->STOCK_CALCULATE_ON_BILL))
{
- print $form->selectyesno('valdate_invoices', 0, 1, 1);
+ print $form->selectyesno('validate_invoices', 0, 1, 1);
print ' ('.$langs->trans("AutoValidationNotPossibleWhenStockIsDecreasedOnInvoiceValidation").')';
}
else
{
- print $form->selectyesno('valdate_invoices', 0, 1);
+ print $form->selectyesno('validate_invoices', 0, 1);
}
print ' | ';
print '';