remove comment for inventory

This commit is contained in:
phyusin
2018-07-17 11:18:59 +06:30
parent 345802a074
commit ca1bd437cd

View File

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