Deface::Override.new(:virtual_path => 'spree/admin/orders/index',
                     :name         => 'subscriptions_to_header',
                     :insert_before => "[data-hook='admin_orders_index_header_actions']",
                     :text         => "<th><%= sort_link @search, :interval, t('frequency') %></th>")

Deface::Override.new(:virtual_path => 'spree/admin/orders/index',
                     :name         => 'subscription_to_table',
                     :insert_before => "[data-hook='admin_orders_index_row_actions']",
                     :text         => "<td><%= pluralize(order.subscription.interval, 'month') if order.subscription %></td>")
