add fields for Menu Sync

This commit is contained in:
Yan
2017-08-18 11:24:38 +06:30
parent 3160aab399
commit 48461da9ea
11 changed files with 21 additions and 20 deletions

View File

@@ -1,4 +1,5 @@
json.array! @item_sets do |set|
json.id set.id
json.name set.name
json.alt_name set.alt_name
json.min_selectable_qty set.min_selectable_qty

View File

@@ -1,4 +1,5 @@
json.array! @menu_attributes do |attribute|
json.id attribute.id
json.type attribute.attribute_type
json.name attribute.name
json.value attribute.value

View File

@@ -1,4 +1,6 @@
json.array! @menu_options do |option|
json.id option.id
json.type option.option_type
json.name option.name
json.value option.value
end