-
This commit is contained in:
@@ -170,8 +170,8 @@ class BatchLineItemsController < ApplicationController
|
|||||||
barcode = BatchLineItem.generate_barcode
|
barcode = BatchLineItem.generate_barcode
|
||||||
update_barcode = BatchLineItem.find_by_asset_identity(out[2])
|
update_barcode = BatchLineItem.find_by_asset_identity(out[2])
|
||||||
update_barcode.barcode = barcode
|
update_barcode.barcode = barcode
|
||||||
barcode_128 = Barby::Code128B.new(barcode)
|
# barcode_128 = Barby::Code128.new(barcode)
|
||||||
update_barcode.barcode_format = barcode_128
|
# update_barcode.barcode_format = barcode_128
|
||||||
update_barcode.save
|
update_barcode.save
|
||||||
end
|
end
|
||||||
total_count+=1
|
total_count+=1
|
||||||
|
|||||||
Reference in New Issue
Block a user