diff --git a/htdocs/takepos/index.php b/htdocs/takepos/index.php
index 2c44acdaae2..ada23896ef7 100644
--- a/htdocs/takepos/index.php
+++ b/htdocs/takepos/index.php
@@ -1203,11 +1203,15 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
} ?>">
-
-
+ global->TAKEPOS_HIDE_CATEGORIES == 1) {
+ print '
';
+ } else {
+ print '
';
+ }
+ $count = 0;
+ while ($count < $MAXCATEG) {
+ ?>
global->TAKEPOS_WEIGHING_SCALE)) {
...
-
+
-
+
global->TAKEPOS_HIDE_CATEGORIES == 1) {
+ print ' style="width:100%;"';
+ } ?>>
-
onclick="MoreProducts('less');" onclick="MoreProducts('more');" >
+ } if ($count == ($MAXPRODUCT - 1)) {
+ ?> onclick="MoreProducts('more');" >
';