TakePOS Possibility to select subcategories to print on orders.

This commit is contained in:
jove@bisquerra.com 2022-09-24 13:02:15 +02:00
parent 0871960f01
commit 87cfff3690

View File

@ -185,7 +185,7 @@ if ($nbofentries > 0) {
} else {
$checked = '';
}
if ($row["fk_menu"] == 0) {
if ($row["fk_menu"] >= 0) {
print '<input type="checkbox" name="printer1[]" value="'.$row["rowid"].'" '.$checked.'>'.$row["label"].'<br>';
}
}
@ -219,7 +219,7 @@ if ($nbofentries > 0) {
} else {
$checked = '';
}
if ($row["fk_menu"] == 0) {
if ($row["fk_menu"] >= 0) {
print '<input type="checkbox" name="printer2[]" value="'.$row["rowid"].'" '.$checked.'>'.$row["label"].'<br>';
}
}
@ -253,7 +253,7 @@ if ($nbofentries > 0) {
} else {
$checked = '';
}
if ($row["fk_menu"] == 0) {
if ($row["fk_menu"] >= 0) {
print '<input type="checkbox" name="printer3[]" value="'.$row["rowid"].'" '.$checked.'>'.$row["label"].'<br>';
}
}