mirror of
https://github.com/fspc/bike-database.git
synced 2025-02-23 09:33:23 -05:00
lk | print bike sale labels does not show freecyclery bikes
This commit is contained in:
parent
3cc429f2e6
commit
efd7197a35
@ -17,7 +17,7 @@ class BikesController < ApplicationController
|
|||||||
def edit; end
|
def edit; end
|
||||||
|
|
||||||
def print_select
|
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
|
end
|
||||||
|
|
||||||
def print_labels
|
def print_labels
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
make sure you can mark bike completion dates
|
make sure you can mark bike completion dates
|
||||||
|
|
||||||
Freecyclery Receipts
|
Freecyclery Receipts
|
||||||
print sales labels should not show freecyclery bikes
|
|
||||||
|
|
||||||
convert to bootstrap-less
|
convert to bootstrap-less
|
||||||
integrate with autocomplete to get manufacturers & models
|
integrate with autocomplete to get manufacturers & models
|
||||||
|
Loading…
x
Reference in New Issue
Block a user