class ApplicationHelper::Button::ChargebackRates < ApplicationHelper::Button::Basic
    def role_allows_feature?
      role_allows?(:feature => 'chargeback_reports')
    end

    def visible?
      @view_context.x_active_tree == :cb_reports_tree
    end
end

class ApplicationHelper::Button::ChargebackRates < ApplicationHelper::Button::Basic
    def role_allows_feature?
      role_allows?(:feature => 'chargeback_reports')
    end

    def visible?
      @view_context.x_active_tree == :cb_rates_tree
    end
end

Bring chargeback rates buttons back
Bring chargeback rates buttons back

Hidden since fd0e99728920fc2ee3491dba1e46349d0d0206a0.
(transferred from ManageIQ/manageiq@20940f46183c9ecde3cedf01576146b36e02e936)
