Merge pull request #22389 from andreubisquerra/master

TakePOS Possibility to select subcategories to print on orders.
This commit is contained in:
Laurent Destailleur 2022-09-24 19:34:44 +02:00 committed by GitHub
commit 280396e5c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>';
}
}