From: Joe Hunt Date: Sat, 22 Dec 2018 10:54:46 +0000 (+0100) Subject: Barcodes in report Stock Check Sheets should only print numeric stock id's. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=78292081998dbf40c461bb44b2c2e0d228933bbf;p=fa-stable.git Barcodes in report Stock Check Sheets should only print numeric stock id's. --- diff --git a/reporting/rep303.php b/reporting/rep303.php index 65b91c46..46c4126d 100644 --- a/reporting/rep303.php +++ b/reporting/rep303.php @@ -217,7 +217,7 @@ function print_stock_check() if ($rep->row - $SysPrefs->pic_height < $rep->bottomMargin) $rep->NewPage(); $firstcol = 1; - if ($barcodes) + if ($barcodes && is_numeric($trans['stock_id'])) { $bar_y = $rep->GetY(); $barcode = str_pad($trans['stock_id'], 7, '0', STR_PAD_LEFT);