diff --git a/htdocs/takepos/index.php b/htdocs/takepos/index.php index 935b8b02e7d..808937797a4 100644 --- a/htdocs/takepos/index.php +++ b/htdocs/takepos/index.php @@ -1374,7 +1374,9 @@ if (! getDolGlobalString('TAKEPOS_HIDE_HISTORY')) { $menus[$r++] = array('title' => '
'.$langs->trans("FreeZone").'
', 'action' => 'FreeZone();'); $menus[$r++] = array('title' => '
'.$langs->trans("InvoiceDiscountShort").'
', 'action' => 'Reduction();'); -$menus[$r++] = array('title' => '
'.$langs->trans("SplitSale").'
', 'action' => 'Split();'); +if (!getDolGlobalString('TAKEPOS_NO_SPLIT_SALE')) { + $menus[$r++] = array('title' => '
'.$langs->trans("SplitSale").'
', 'action' => 'Split();'); +} // BAR RESTAURANT specific menu if (getDolGlobalString('TAKEPOS_BAR_RESTAURANT')) {