remove comment for inventory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user