remove get_tax_profiles from api_controller and create tax_profiles api
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
json.status true
|
||||
json.inclusive_tax @inclusive_tax
|
||||
json.exclusive_tax @exclusive_tax
|
||||
4
app/views/api/tax_profiles/index.json.jbuilder
Normal file
4
app/views/api/tax_profiles/index.json.jbuilder
Normal file
@@ -0,0 +1,4 @@
|
||||
json.status true
|
||||
json.data do
|
||||
json.tax_profiles @tax_profiles, :name, :group_type, :rate, :inclusive, :order_by
|
||||
end
|
||||
Reference in New Issue
Block a user