tax profiles
This commit is contained in:
@@ -6,6 +6,8 @@ class Settings::TaxProfilesController < ApplicationController
|
||||
# GET /settings/tax_profiles.json
|
||||
def index
|
||||
@settings_tax_profiles = TaxProfile.all
|
||||
tax_profiles = Lookup.collection_of("tax_profiles")
|
||||
|
||||
end
|
||||
|
||||
# GET /settings/tax_profiles/1
|
||||
@@ -73,6 +75,6 @@ class Settings::TaxProfilesController < ApplicationController
|
||||
|
||||
# Never trust parameters from the scary internet, only allow the white list through.
|
||||
def settings_tax_profile_params
|
||||
params.require(:tax_profile).permit(:name, :rate, :inclusive, :order_by, :created_by)
|
||||
params.require(:tax_profile).permit(:name, :group_type, :rate, :inclusive, :order_by, :created_by)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user