From 166a23004cbaa01d509dec288450a6290993d315 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Wed, 21 Apr 2021 15:04:44 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/societe/card.php | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index ce4fbcb1213..8102c5064f2 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1516,8 +1516,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { if ($user->admin) { print ' '.info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1); } - if (empty($conf->global->SOCIETE_DISABLE_WORKFORCE)) - { + if (empty($conf->global->SOCIETE_DISABLE_WORKFORCE)) { print ''; if ($conf->browser->layout == 'phone') { print ''; @@ -1527,8 +1526,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { if ($user->admin) { print ' '.info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1); } - } - else { + } else { print ''; } print ''; @@ -2207,8 +2205,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { if ($user->admin) { print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1); } - if (empty($conf->global->SOCIETE_DISABLE_WORKFORCE)) - { + if (empty($conf->global->SOCIETE_DISABLE_WORKFORCE)) { print ''; if ($conf->browser->layout == 'phone') { print ''; @@ -2218,8 +2215,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { if ($user->admin) { print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1); } - } - else { + } else { print ''; } print ''; @@ -2658,8 +2654,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { print ''; // Workforce/Staff - if (empty($conf->global->SOCIETE_DISABLE_WORKFORCE)) - { + if (empty($conf->global->SOCIETE_DISABLE_WORKFORCE)) { print ''.$langs->trans("Workforce").''.$object->effectif.''; }