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