From 2dd4ac54a3e53009ad01e51f4942b5b9a83b486f Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 26 Mar 2019 12:30:17 +0100 Subject: [PATCH 1/5] fix : typo --- htdocs/core/actions_massactions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); From 6c1ee52ac6835678455c8b3ebd0700ad176cc39e Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 26 Mar 2019 12:31:56 +0100 Subject: [PATCH 2/5] fix : typo --- htdocs/fourn/commande/list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ''; From c15aa45cdbe8cf7f4edfa68fa5be8953b359f2fc Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 26 Mar 2019 12:32:32 +0100 Subject: [PATCH 3/5] fix : typo --- htdocs/fourn/facture/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ''; From 3509a240b1485c453a198dbaf75f19f90eb18d3d Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 26 Mar 2019 12:32:58 +0100 Subject: [PATCH 4/5] fix : typo --- htdocs/projet/tasks/time.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php index 4f0567c51f3..3322639a9a3 100644 --- a/htdocs/projet/tasks/time.php +++ b/htdocs/projet/tasks/time.php @@ -908,7 +908,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 ''; From 869a58591332fbc989fccfacafc52ed348a8ef66 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 26 Mar 2019 12:33:41 +0100 Subject: [PATCH 5/5] 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 '';