tax
This commit is contained in:
@@ -45,7 +45,7 @@ class Settings::TaxProfilesController < ApplicationController
|
||||
# POST /settings/tax_profiles
|
||||
# POST /settings/tax_profiles.json
|
||||
def create
|
||||
|
||||
|
||||
@settings_tax_profile = TaxProfile.new(settings_tax_profile_params)
|
||||
@settings_tax_profile.created_by = current_login_employee.name
|
||||
respond_to do |format|
|
||||
@@ -109,6 +109,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, :group_type, :rate, :inclusive, :order_by, :created_by)
|
||||
params.require(:tax_profile).permit(:name, :group_type, :rate, :inclusive, :order_by, :created_by,:tax_type)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user