From 869a58591332fbc989fccfacafc52ed348a8ef66 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 26 Mar 2019 12:33:41 +0100 Subject: [PATCH] fix : typo --- htdocs/reception/list.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 '';