diff --git a/htdocs/takepos/index.php b/htdocs/takepos/index.php index 4c86e26c2c4..4f5ef29bc70 100644 --- a/htdocs/takepos/index.php +++ b/htdocs/takepos/index.php @@ -875,7 +875,7 @@ if ($conf->global->TAKEPOS_BAR_RESTAURANT) { if ($conf->global->TAKEPOS_PRINT_METHOD == "takeposconnector") { $menus[$r++] = array('title'=>'
'.$langs->trans("Receipt").'
', 'action'=>'TakeposPrinting(placeid);'); - } else if ($conf->global->TAKEPOS_PRINT_METHOD == "receiptprinter") { + } elseif ($conf->global->TAKEPOS_PRINT_METHOD == "receiptprinter") { $menus[$r++] = array('title'=>'
'.$langs->trans("Receipt").'
', 'action'=>'DolibarrTakeposPrinting(placeid);'); } else { $menus[$r++] = array('title'=>'
'.$langs->trans("Receipt").'
', 'action'=>'Print(placeid);');