diff --git a/app.rb b/app.rb index cf3545a..49eca12 100644 --- a/app.rb +++ b/app.rb @@ -98,7 +98,7 @@ get '/services/:slug' do end get '/services/:slug/payments' do - @FILTER_VALUES = %w[ 500 1000 2500 5000 10000 ] + @FILTER_VALUES = %w[ 500 1000 2500 5000 10000 20000 ] @service = Service.first(:slug => params[:slug]) # payments_filter_min cookie persists user selection of filter value unless @min = request.cookies["payments_filter_min"] diff --git a/views/servicepayments.haml b/views/servicepayments.haml index a64969b..0b37010 100644 --- a/views/servicepayments.haml +++ b/views/servicepayments.haml @@ -16,6 +16,7 @@ $('#min2500').click(function() { getPayments(2500, $(this)); return false; }); $('#min5000').click(function() { getPayments(5000, $(this)); return false; }); $('#min10000').click(function() { getPayments(10000, $(this)); return false; }); + $('#min20000').click(function() { getPayments(20000, $(this)); return false; }); }); .grid_12