Fixing style errors.

This commit is contained in:
stickler-ci 2021-05-09 21:37:58 +00:00
parent 8aa8c14323
commit 3ee26fc881

View File

@ -832,9 +832,9 @@ class dolReceiptPrinter extends Printer
$sql = "SELECT floor, label FROM ".MAIN_DB_PREFIX."takepos_floor_tables where rowid=".((int) str_replace(")", "", str_replace("(PROV-POS".$_SESSION["takeposterminal"]."-", "", $object->ref)));
$resql = $db->query($sql);
$obj = $db->fetch_object($resql);
if ($obj) {
$this->printer->text($obj->label);
}
if ($obj) {
$this->printer->text($obj->label);
}
break;
default:
$this->printer->text($vals[$tplline]['tag']);