update check_in_process

This commit is contained in:
Thein Lin Kyaw
2020-02-20 11:07:06 +06:30
parent b980fd7fc4
commit 306b430299
2 changed files with 56 additions and 89 deletions

View File

@@ -37,18 +37,16 @@ class Api::OrdersController < Api::ApiController
@booking = table.get_booking
end
@tax_profile = nil
@tax_profile = TaxProfile.where("lower(group_type)='cashier'")
# arr_tax = []
# if !arr_tax.empty?
# @tax_profile = TaxProfile.where(:id => arr_tax)
# else
@tax_profile = TaxProfile.where("lower(group_type)='cashier'")
# @tax_profile = TaxProfile.where("lower(group_type)='cashier'")
# end
@shop = Shop.current_shop
puts "Hello world"
puts @shop.to_json
return @shop.to_json
end