Merge branch 'august_spring' of bitbucket.org:code2lab/sxrestaurant into august_spring

This commit is contained in:
yamin
2017-08-14 10:19:22 +06:30
20 changed files with 315 additions and 30 deletions

View File

@@ -1,2 +1,4 @@
class DiningCharge < ApplicationRecord
belongs_to :table
belongs_to :room
end

View File

@@ -1,5 +1,6 @@
class DiningFacility < ApplicationRecord
belongs_to :zone
has_many :dining_charges
TABLE_TYPE = "Table"
ROOM_TYPE = "Room"