diff --git a/htdocs/takepos/admin/receipt.php b/htdocs/takepos/admin/receipt.php index 72c9673dbdb..af5b8fdf8db 100644 --- a/htdocs/takepos/admin/receipt.php +++ b/htdocs/takepos/admin/receipt.php @@ -116,12 +116,9 @@ if ($conf->global->MAIN_FEATURES_LEVEL >= 1) { print ''.$langs->trans("Setup").''; print ''; if ($conf->receiptprinter->enabled) { - if ($conf->global->TAKEPOS_PRINT_METHOD == "receiptprinter") - { + if ($conf->global->TAKEPOS_PRINT_METHOD == "receiptprinter") { print img_picto($langs->trans("Activated"), 'switch_on'); - } - else - { + } else { print ''.img_picto($langs->trans("Disabled"), 'switch_off').''; } } else {