Merge branch 'foodcourt' of gitlab.com:code2lab/SXRestaurant into foodcourt

This commit is contained in:
Myat Zin Wai Maw
2019-12-13 10:12:45 +06:30
18 changed files with 1037 additions and 39 deletions

View File

@@ -0,0 +1,8 @@
class OutOfStock < ApplicationRecord
def self.create_out_of_stock(date,item_instance_code)
OutOfStock.create(
date: date,
item_instance_code: item_instance_code
)
end
end