add order and reservation, quick service in lookups and add date and order by in order reservation
This commit is contained in:
@@ -7,6 +7,8 @@ class OrderReservation < ApplicationRecord
|
||||
has_many :order_reservation_items
|
||||
belongs_to :delivery
|
||||
|
||||
scope :latest_order, -> { order("order_reservation_id desc, requested_time asc") }
|
||||
|
||||
SEND_TO_KITCHEN = "send_to_kitchen"
|
||||
READY_TO_DELIVERY = "ready_to_deliver"
|
||||
DELIVERED = "delivered"
|
||||
|
||||
Reference in New Issue
Block a user