|
|
@@ -20,7 +20,7 @@ class barcodeUtil
|
|
|
public static function barcodeGeneratorPNG($code, $widthFactor = 2,$height = 30)
|
|
|
{
|
|
|
$generator = new \Picqer\Barcode\BarcodeGeneratorPNG();
|
|
|
- $barcode = $generator->getBarcode('123456', $generator::TYPE_CODE_128,$widthFactor,$height);
|
|
|
+ $barcode = $generator->getBarcode($code, $generator::TYPE_CODE_128,$widthFactor,$height);
|
|
|
return $barcode;
|
|
|
}
|
|
|
}
|