all changed for index in origami
This commit is contained in:
@@ -76,7 +76,8 @@ class Sale < ApplicationRecord
|
||||
|
||||
|
||||
self.save!
|
||||
#compute summary
|
||||
|
||||
#compute sales summary
|
||||
compute
|
||||
|
||||
#Update the order items that is billed
|
||||
@@ -218,6 +219,7 @@ class Sale < ApplicationRecord
|
||||
|
||||
|
||||
private
|
||||
|
||||
def product_get_unit_price(item_code)
|
||||
menu_item_hash =MenuItem.search_by_item_code(item_code)
|
||||
if (menu_instance_code)
|
||||
|
||||
Reference in New Issue
Block a user