Add my-schedule and some other things

This commit is contained in:
2015-08-17 19:13:35 +02:00
parent 2df1b38e8f
commit 9cadc3e94f
30 changed files with 139 additions and 23 deletions
@@ -88,6 +88,7 @@ module Suppliers
def qr_codes
@tables = Table.for_supplier(current_supplier, from_number: params[:from_number], to_number: params[:to_number])
@tables.select!{|t| t.section_id == params[:section_id]} if params[:section_id].present?
@tables.select!{|t| t.id == params[:table_id]} if params[:table_id].present?
render layout: 'qr_sheet'
end