%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= Spree.t(:editing_recurring) %> <%= @recurring.name %> <%= Spree.t(:plans) %> <% end %> <% content_for :page_actions do %>
<%= Spree.t(:api_plan_id) %> | <%= Spree.t(:name) %> | <%= Spree.t(:amount) %> | <%= Spree.t(:interval) %> | <%= Spree.t(:interval_count) %> | <%= Spree.t(:currency) %> | <%= Spree.t(:trial_period_days) %> | <%= Spree.t(:active) %> | <%= Spree.t(:default) %> | |
---|---|---|---|---|---|---|---|---|---|
<%= plan.api_plan_id %> | <%= plan.name %> | <%= plan.amount %> | <%= @recurring.class::INTERVAL[plan.interval.to_sym] %> | <%= plan.interval_count %> | <%= @recurring.class::CURRENCY[plan.currency.to_sym] %> | <%= plan.trial_period_days %> | <%= plan.active ? Spree.t(:say_yes) : Spree.t(:say_no) %> | <%= plan.default ? Spree.t(:say_yes) : Spree.t(:say_no) %> | <%= link_to_edit_url edit_admin_recurring_plan_url(@recurring, plan), :no_text => true %> <%= link_to_delete plan, url: admin_recurring_plan_url(@recurring, plan), :no_text => true %> |