This commit is contained in:
Sunandar
2017-01-26 16:28:54 +06:30
parent 3f35298e96
commit 735d899eef
5 changed files with 19 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ class Api::BatchLineItemsController < ApplicationController
batchLineItem.serial_no=serial_no
batchLineItem.batch_id=batch_id
batchLineItem.manufacture_uid = manufacture_uid
batchLineItem.card_type = card_type
batchLineItem.card_type = card_type.upcase
if batchLineItem.save
lookup=Lookup.find_by_name('generate_serial_no')