Edit Close Cashier Customise Pdf

This commit is contained in:
San Wai Lwin
2018-02-21 14:39:33 +06:30
parent 51a243ea7c
commit 8c0f379a4f
2 changed files with 43 additions and 33 deletions

View File

@@ -36,13 +36,13 @@ class ApplicationController < ActionController::Base
# redirect_to root_url(:host => request.domain) + "store_error"
render :json => [{ status: false, message: 'Invalid Access!'}]
end
else
# check for license file
if check_license
current_license(ENV["SX_PROVISION_URL"])
else
redirect_to activate_path
end
# else
# # check for license file
# if check_license
# current_license(ENV["SX_PROVISION_URL"])
# else
# redirect_to activate_path
# end
end
end