From f25ce3b40c87961b16fd6eb88bdb59651e3d3df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 14 Mar 2019 16:43:52 +0100 Subject: [PATCH] Update facture.php --- htdocs/admin/facture.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php index e1d65250b6d..327c1f6bbd8 100644 --- a/htdocs/admin/facture.php +++ b/htdocs/admin/facture.php @@ -78,7 +78,7 @@ if ($action == 'updateMask') } } -else if ($action == 'specimen') +elseif ($action == 'specimen') { $modele=GETPOST('module', 'alpha'); @@ -164,7 +164,7 @@ elseif ($action == 'setmod') dolibarr_set_const($db, "FACTURE_ADDON", $value, 'chaine', 0, '', $conf->entity); } -else if ($action == 'setribchq') +elseif ($action == 'setribchq') { $rib = GETPOST('rib', 'alpha'); $chq = GETPOST('chq', 'alpha'); @@ -184,7 +184,7 @@ else if ($action == 'setribchq') } } -else if ($action == 'set_FACTURE_DRAFT_WATERMARK') +elseif ($action == 'set_FACTURE_DRAFT_WATERMARK') { $draft = GETPOST('FACTURE_DRAFT_WATERMARK', 'alpha'); @@ -202,7 +202,7 @@ else if ($action == 'set_FACTURE_DRAFT_WATERMARK') } } -else if ($action == 'set_INVOICE_FREE_TEXT') +elseif ($action == 'set_INVOICE_FREE_TEXT') { $freetext = GETPOST('INVOICE_FREE_TEXT', 'none'); // No alpha here, we want exact string @@ -220,7 +220,7 @@ else if ($action == 'set_INVOICE_FREE_TEXT') } } -else if ($action == 'setforcedate') +elseif ($action == 'setforcedate') { $forcedate = GETPOST('forcedate', 'alpha'); @@ -238,7 +238,7 @@ else if ($action == 'setforcedate') } } -else if ($action == 'setDefaultPDFModulesByType') +elseif ($action == 'setDefaultPDFModulesByType') { $invoicetypemodels = GETPOST('invoicetypemodels');