order queue processing
This commit is contained in:
@@ -4,6 +4,7 @@ class Order < ApplicationRecord
|
||||
|
||||
belongs_to :customer
|
||||
has_many :order_items, autosave: true , inverse_of: :order
|
||||
has_many :assigned_order_items
|
||||
|
||||
#internal references attributes for business logic control
|
||||
attr_accessor :items, :guest, :table_id, :new_booking, :booking_type, :employee_name
|
||||
|
||||
Reference in New Issue
Block a user