diff options
author | jessib <jessib@riseup.net> | 2013-10-10 11:35:26 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-10-10 11:35:26 -0700 |
commit | 51f93fc87c9cadbe52877ddc3e7c5fd07866b397 (patch) | |
tree | 86098fd4f837151e8e292fbd39d92b1fc1f7819a /billing/app/controllers/billing_admin_controller.rb | |
parent | 5627b01230cdfa918ad144b26183b4c0bf151360 (diff) |
Admins can cancel pastdue subscriptions, but users cannot cancel their own pastdue subscription, as then admins won't be able to search for them.
Diffstat (limited to 'billing/app/controllers/billing_admin_controller.rb')
-rw-r--r-- | billing/app/controllers/billing_admin_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/billing/app/controllers/billing_admin_controller.rb b/billing/app/controllers/billing_admin_controller.rb index 2a5165c..419a937 100644 --- a/billing/app/controllers/billing_admin_controller.rb +++ b/billing/app/controllers/billing_admin_controller.rb @@ -8,6 +8,7 @@ class BillingAdminController < BillingBaseController @all_past_due = Braintree::Subscription.search do |search| search.status.is Braintree::Subscription::Status::PastDue + #cannot search by balance. end end |