<% content_for :page_title do %> <%= Spree.t(:recurring_orders) %> <% end %> <% if @recurring_orders.any? %> <% @recurring_orders.each do |order| %> <% end %>
<%= Spree.t(:original_order_number, resource: I18n.t(:other, :scope => 'activerecord.attributes.spree/recurring_order')) %> <%= Spree.t(:customer_email, resource: I18n.t(:other, :scope => 'activerecord.attributes.spree/recurring_order')) %> <%= Spree.t(:customer_phone, resource: I18n.t(:other, :scope => 'activerecord.attributes.spree/recurring_order')) %> <%= Spree.t(:active?, resource: I18n.t(:other, :scope => 'activerecord.attributes.spree/recurring_order')) %> <%= Spree.t(:created_at, resource: I18n.t(:created_at, :scope => 'activerecord.attributes.spree/recurring_order')) %>
<%= link_to order.original_order.number, edit_admin_order_path(order.original_order) %> <%= mail_to order.email %> <%= mail_to order.phone %> YES <%= l (order.created_at).to_date %>
<% else %>
<%= Spree.t(:no_recurring_orders_found, resource: I18n.t(:other, scope: 'activerecord.models.spree/recurring_order')) %>
<% end %>