update void and complete sale
This commit is contained in:
@@ -15,6 +15,7 @@ class Crm::DiningQueuesController < BaseCrmController
|
||||
# GET /crm/dining_queues/new
|
||||
def new
|
||||
@dining_queue = DiningQueue.new
|
||||
@queue_no = DiningQueue.generate_queue_no
|
||||
end
|
||||
|
||||
# GET /crm/dining_queues/1/edit
|
||||
@@ -25,7 +26,9 @@ class Crm::DiningQueuesController < BaseCrmController
|
||||
# POST /crm/dining_queues.json
|
||||
def create
|
||||
@dining_queue = DiningQueue.new(dining_queue_params)
|
||||
|
||||
|
||||
puts "ffffffffffff"
|
||||
puts @queue_no
|
||||
respond_to do |format|
|
||||
if @dining_queue.save
|
||||
format.html { redirect_to crm_dining_queues_path, notice: 'Dining queue was successfully created.' }
|
||||
|
||||
Reference in New Issue
Block a user