update request bill msg box error

This commit is contained in:
Aung Myo
2018-04-10 17:29:02 +06:30
parent 0e39e4577f
commit 0e5269c66f
5 changed files with 26 additions and 15 deletions

View File

@@ -154,10 +154,13 @@ class Origami::QuickServiceController < ApplicationController
result = {:status=> true, :data => @sale }
render :json => result.to_json
end
end
elsif (params[:sale_id][0,3] == "BKI")
result = {:status=> true, :data => 'OK' }
render :json => result.to_json
else
result = {:status=> true, :data => nil }
render :json => result.to_json
render :json => result.to_json
end
end