Sha256: 738dc46196768185935abef5346731eccf3419d2b4f62ee54840e451d31afff8

Contents?: true

Size: 832 Bytes

Versions: 1

Compression:

Stored size: 832 Bytes

Contents

<dl>
  <dt><%= t('.customer') %></dt>
  <dd>
    <%= link_to @subscription.user.email, spree.admin_user_path(@subscription.user) %>
  </dd>

  <dt><%= t('.status') %></dt>
  <dd>
    <%= content_tag :span, class: "state #{ @subscription.state }" do %>
      <%= @subscription.human_state_name %>
    <% end %>
  </dd>

  <dt><%= t('.fulfillment_status') %></dt>
  <dd>
    <%= content_tag :span,  class: "state #{ @subscription.processing_state }" do %>
      <%= @subscription.class.human_attribute_name("processing_state.#{ @subscription.processing_state }") %>
    <% end %>
  </dd>

  <dt><%= t('.revenue') %></dt>
  <dd>
    <%= @subscription.line_item.dummy_line_item.try(:display_price) %>
  </dd>

  <dt><%= t('.interval') %></dt>
  <dd><%= @subscription.line_item.interval.inspect %></dd>
</dl>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_subscriptions-alpha-0.0.4 app/views/spree/admin/subscriptions/_legacy_sidebar.html.erb