Browse Source

lk | print bike sale labels does not show freecyclery bikes

master
Louis Knapp 9 years ago
parent
commit
efd7197a35
  1. 2
      app/controllers/bikes_controller.rb
  2. 1
      notes.txt

2
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

1
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

Loading…
Cancel
Save