udpate
This commit is contained in:
@@ -45,9 +45,16 @@ class Api::OrdersController < Api::ApiController
|
||||
@order.new_booking = false
|
||||
@order.booking_id = params[:booking_id]
|
||||
end
|
||||
else
|
||||
@order.new_booking = false
|
||||
@order.booking_id = params[:booking_id]
|
||||
puts "booking sale is null"
|
||||
end
|
||||
else
|
||||
puts "daksdflaksj"
|
||||
end
|
||||
|
||||
|
||||
@status, @booking = @order.generate
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user