diff --git a/app/views/admin/enterprises/index.html.erb b/app/views/admin/enterprises/index.html.erb deleted file mode 100644 index 1795b17950..0000000000 --- a/app/views/admin/enterprises/index.html.erb +++ /dev/null @@ -1,76 +0,0 @@ -<% content_for :page_title do %> - Enterprises -<% end %> - -<% content_for :page_actions do %> -
| Name | -Role | -Visible? | -Description | -- |
|---|---|---|---|---|
| <%= link_to enterprise.name, main_app.admin_enterprise_path(enterprise) %> | -<% if enterprise.is_primary_producer && enterprise.is_distributor %> Producer & Distributor - <% elsif enterprise.is_distributor %> Distributor - <% elsif enterprise.is_primary_producer %> Producer - <% else %> - - <% end %> - | -<%= enterprise.visible ? 'Visible' : 'Invisible' %> | -<%= enterprise.description %> | -
-
- <%= link_to_with_icon('icon-edit', 'Edit Profile', main_app.edit_admin_enterprise_path(enterprise), class: 'edit') %> - <%= link_to_delete_enterprise enterprise %> - - <% if enterprise.is_distributor %> - <%= link_to_with_icon 'icon-chevron-right', 'Payment Methods', spree.admin_payment_methods_path(enterprise_id: enterprise.id) %> (<%= enterprise.payment_methods.count %>) - <% if enterprise.payment_methods.count == 0 %> - - <% end %> - <%= link_to_with_icon 'icon-plane', 'Shipping Methods', spree.admin_shipping_methods_path(enterprise_id: enterprise.id) %> (<%= enterprise.shipping_methods.count %>) - <% if enterprise.shipping_methods.count == 0 %> - - <% end %> - <% end %> - <%= link_to_with_icon 'icon-money', 'Enterprise Fees', main_app.admin_enterprise_fees_path(enterprise_id: enterprise.id) %> (<%= enterprise.enterprise_fees.count %>) - <% if enterprise.enterprise_fees.count == 0 %> - - <% end %> - |
-
| <%= t(:none) %> | ||||