update action cable for order resservation

This commit is contained in:
Aung Myo
2018-04-22 14:11:04 +06:30
parent 268cae09f5
commit 1fe48b57d0
6 changed files with 56 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