update product for account id 3
This commit is contained in:
@@ -9,7 +9,7 @@ class Product < ApplicationRecord
|
||||
mt_instance = Product.find_by_item_code(item_code)
|
||||
if (!mt_instance.nil?)
|
||||
menu_item_hash[:type] = 'Product'
|
||||
menu_item_hash[:account_id] = 1
|
||||
menu_item_hash[:account_id] = 3
|
||||
menu_item_hash[:item_code] = mt_instance.item_code
|
||||
menu_item_hash[:item_instance_code] = mt_instance.item_code
|
||||
menu_item_hash[:name] = mt_instance.name.to_s
|
||||
|
||||
Reference in New Issue
Block a user