XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • System
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      Update modal template app/views/master/providers/plans/edit.html.erb with PF4.

      How to show the modal

      From master account, go to a provider account and try to change its plan. A modal will pop up:

      NOTE: in order to show the modal, hack the following method in app/controllers/master/providers/plans_controller.rb:

        def find_new_plan
          @new_plan = Account.master.application_plans.stock.find(params.permit(:plan_id)[:plan_id])
          # @new_switches = @provider.available_plans[@new_plan.system_name]
          @new_switches = []
          render_error "Plan #{@new_plan.name} is not one of the 3scale stock plans. Cannot automatically change to it." unless @new_switches
        end
      

              Unassigned Unassigned
              jgallaso Jose Miguel Gallas Olmedo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: