We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38b752f commit 64b2a29Copy full SHA for 64b2a29
htdocs/takepos/receipt.php
@@ -79,7 +79,7 @@
79
80
top_htmlhead('', '', 1);
81
82
-if ((string) $place != '') {
+if ((string) $place != '' && !empty($_SESSION["takeposterminal"])) {
83
$sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."facture";
84
$sql .= " WHERE ref = '(PROV-POS".$db->escape($_SESSION["takeposterminal"]."-".$place).")'";
85
$sql .= " AND entity IN (".getEntity('invoice').")";
0 commit comments