diff --git a/app/models/product.rb b/app/models/product.rb index 3c18f958..3c915a38 100644 --- a/app/models/product.rb +++ b/app/models/product.rb @@ -8,7 +8,7 @@ class Product < ApplicationRecord menu_item_hash = Hash.new mt_instance = Product.find_by_item_code(item_code) if (!mt_instance.nil?) - menu_item_hash[:type] = 'SetMenuItem' + menu_item_hash[:type] = 'Product' menu_item_hash[:account_id] = 1 menu_item_hash[:item_code] = mt_instance.item_code menu_item_hash[:item_instance_code] = mt_instance.item_code