all changed for index in origami

This commit is contained in:
Yan
2017-06-07 17:13:27 +06:30
parent ed45c2dc1e
commit 114c4ee14d
11 changed files with 666 additions and 312 deletions

View File

@@ -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)