Merge pull request #11243 from andreubisquerra/master
Fix TakePOS terminal bug
This commit is contained in:
commit
8c6f2c1a5b
@ -573,8 +573,12 @@ $( document ).ready(function() {
|
|||||||
LoadProducts(0);
|
LoadProducts(0);
|
||||||
Refresh();
|
Refresh();
|
||||||
<?php
|
<?php
|
||||||
//IF THERE ARE MORE THAN 1 TERMINAL AND NO SELECTED
|
//IF NO TERMINAL SELECTED
|
||||||
if ($conf->global->TAKEPOS_NUM_TERMINALS!="1" && $_SESSION["takeposterminal"]=="") print "TerminalsDialog();";
|
if ($_SESSION["takeposterminal"]=="")
|
||||||
|
{
|
||||||
|
if ($conf->global->TAKEPOS_NUM_TERMINALS=="1") $_SESSION["takeposterminal"]=1;
|
||||||
|
else print "TerminalsDialog();";
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user