inventory development

This commit is contained in:
Nweni
2017-08-28 09:37:36 +06:30
parent 6aaea69f0a
commit 83ec17a3df
16 changed files with 200 additions and 46 deletions

View File

@@ -117,6 +117,7 @@ class Sale < ApplicationRecord
create_saleitem_diningcharges(charges, diningprice, booking.dining_facility.name, dining_time)
end
InventoryJob.perform_later(self.id)
return true, self.id
end