Fix list unit and supplier main board acceptance specs
This commit is contained in:
@@ -22,7 +22,7 @@ class WaiterController < ApplicationController
|
||||
def order_products
|
||||
@table= Table.find_by_supplier_id_and_id!(current_supplier.id, params[:table_id])
|
||||
@list = List.from_table_by_employee(@table, current_employee)
|
||||
@list.place_order params[:order], employee: current_employee
|
||||
@list.place_order products: params[:order], employee: current_employee
|
||||
render nothing: true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user