check duplicate record
This commit is contained in:
@@ -162,10 +162,10 @@ class Api::BatchLineItemsController < ApplicationController
|
||||
|
||||
@out = true,batch_line_item.asset_identity
|
||||
else
|
||||
@out = false,"Duplicate Record"
|
||||
@out = false,"Duplicate Manufacture UID"
|
||||
end
|
||||
else
|
||||
@out = false,"error"
|
||||
@out = false,"Invalid Record"
|
||||
end
|
||||
else
|
||||
@out = false,"Not Authorized"
|
||||
|
||||
Reference in New Issue
Block a user