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