Start with supplier foundation style

This commit is contained in:
2014-04-10 18:31:51 +02:00
parent 19acd26dbc
commit 0942cf4b1d
22 changed files with 1610 additions and 114 deletions
@@ -88,7 +88,7 @@ module Suppliers
end
def qr_codes
@tables = current_supplier.tables
@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?
render layout: 'qr_sheet'
end