tax calculation for view order api
This commit is contained in:
@@ -36,6 +36,17 @@ class Api::OrdersController < Api::ApiController
|
||||
table = DiningFacility.find(table_id)
|
||||
@booking = table.get_booking
|
||||
end
|
||||
|
||||
@tax_profile = nil
|
||||
# arr_tax = []
|
||||
|
||||
# if !arr_tax.empty?
|
||||
# @tax_profile = TaxProfile.where(:id => arr_tax)
|
||||
# else
|
||||
@tax_profile = TaxProfile.where("lower(group_type)='cashier'")
|
||||
# end
|
||||
|
||||
@shop = Shop.first
|
||||
end
|
||||
|
||||
# Description
|
||||
|
||||
Reference in New Issue
Block a user