inventory comment

This commit is contained in:
phyusin
2018-06-28 15:40:54 +06:30
parent f6e0e14383
commit 57163a04fe

View File

@@ -151,8 +151,8 @@ class Sale < ApplicationRecord
booking.save booking.save
# InventoryJob.perform_now(self.id) # InventoryJob.perform_now(self.id)
saleObj = Sale.find(self.id) # saleObj = Sale.find(self.id)
InventoryDefinition.calculate_product_count(saleObj) # InventoryDefinition.calculate_product_count(saleObj)
return true, self.id return true, self.id
end end