projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a1af3c
)
Barcodes in report Stock Check Sheets should only print numeric stock id's.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sat, 22 Dec 2018 10:54:46 +0000
(11:54 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sat, 22 Dec 2018 10:54:46 +0000
(11:54 +0100)
reporting/rep303.php
patch
|
blob
|
history
diff --git
a/reporting/rep303.php
b/reporting/rep303.php
index 65b91c4686bb75fc7e71fe3f1f8f2bc6801e0717..46c4126d247d63798d145f401c8d08014dc5d685 100644
(file)
--- 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);