diff --git a/app/controllers/bikes_controller.rb b/app/controllers/bikes_controller.rb index 1c75293..1098e54 100644 --- a/app/controllers/bikes_controller.rb +++ b/app/controllers/bikes_controller.rb @@ -17,7 +17,7 @@ class BikesController < ApplicationController def edit; end def print_select - @bikes = Bike.order(:log_number).reverse_order.paginate(:page => params[:page], :per_page => 30) + @bikes = Bike.where.not(purpose: "Freecyclery").order(:log_number).reverse_order.paginate(:page => params[:page], :per_page => 30) end def print_labels diff --git a/notes.txt b/notes.txt index 099835b..9920283 100644 --- a/notes.txt +++ b/notes.txt @@ -1,7 +1,6 @@ make sure you can mark bike completion dates Freecyclery Receipts -print sales labels should not show freecyclery bikes convert to bootstrap-less integrate with autocomplete to get manufacturers & models