Update takepos.php

This commit is contained in:
Laurent Destailleur 2019-02-03 19:15:41 +01:00 committed by GitHub
parent 8b1b8bb7a3
commit 8dd64b0dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -419,9 +419,9 @@ $( document ).ready(function() {
if (empty($conf->global->CASHDESK_ID_THIRDPARTY) or empty($conf->global->CASHDESK_ID_BANKACCOUNT_CASH) or empty($conf->global->CASHDESK_ID_BANKACCOUNT_CB)) {
setEventMessages($langs->trans("ErrorModuleSetupNotComplete"), null, 'errors');
}
if (count($maincategories)==0){
if (count($maincategories)==0) {
setEventMessages($langs->trans("TakeposNeedsCategories"), null, 'errors');
}
}
// User menu and external TakePOS modules
$menus = array();
$r=0;