Dining Charges CRUD

This commit is contained in:
Phyo
2017-08-11 17:53:48 +06:30
parent 2cad08277e
commit 740038757d
16 changed files with 108 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"