fix bug for closing lists on preloaded view and add acceptance body
This commit is contained in:
@@ -51,6 +51,7 @@ class SupplierController < ApplicationController
|
||||
ho[:table_number] = order.table_number
|
||||
ho[:section_title] = order.list.table.section.try(:title)
|
||||
ho[:id] = order.id
|
||||
ho[:list_id] = order.list_id
|
||||
list_total += ho[:total_amount]
|
||||
h[:orders] << ho
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user