update booking status and view
This commit is contained in:
@@ -23,7 +23,7 @@ class Order < ApplicationRecord
|
||||
if self.new_booking
|
||||
booking = Booking.create({:dining_facility_id => self.table_id,:type => "TableBooking",
|
||||
:checkin_at => Time.now.utc, :checkin_by => self.employee_name,
|
||||
:booking_status => "new" })
|
||||
:booking_status => "assign" })
|
||||
else
|
||||
if (self.booking_id.to_i > 0 )
|
||||
booking = Booking.find(self.booking_id)
|
||||
|
||||
Reference in New Issue
Block a user