Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into r-1804001-01

This commit is contained in:
Aung Myo
2018-04-22 14:12:33 +06:30
7 changed files with 71 additions and 3 deletions

View File

@@ -128,6 +128,9 @@ class Sale < ApplicationRecord
self.save!
#compute sales summary
if order_source.nil?
order_source = order.order_source
end
compute(order_source)
#Update the order items that is billed