mirror of
https://github.com/internetee/registry.git
synced 2025-07-19 17:25:57 +02:00
Added operation to pricelist #2380
This commit is contained in:
parent
ee150e73ec
commit
44157ea805
8 changed files with 64 additions and 52 deletions
|
@ -39,6 +39,7 @@ class Admin::PricelistsController < AdminController
|
|||
end
|
||||
|
||||
def pricelist_params
|
||||
params.require(:pricelist).permit(:category, :name, :duration, :price, :valid_from, :valid_to)
|
||||
params.require(:pricelist).permit(:operation_category, :category, :price_category,
|
||||
:duration, :price, :valid_from, :valid_to)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue