%= render 'spree/admin/shared/taxes_tabs' %> <% admin_breadcrumb(t('spree.settings') ) %> <% admin_breadcrumb(t('spree.admin.tab.taxes')) %> <% admin_breadcrumb(plural_resource_name(Spree::TaxCategory)) %> <% content_for :page_actions do %>
<% end %> <% if @tax_categories.any? %><%= Spree::TaxCategory.human_attribute_name(:name) %> | <%= Spree::TaxCategory.human_attribute_name(:tax_code) %> | <%= Spree::TaxCategory.human_attribute_name(:description) %> | <%= Spree::TaxCategory.human_attribute_name(:is_default) %> | |
---|---|---|---|---|
<%= tax_category.name %> | <%= tax_category.tax_code %> | <%= tax_category.description %> | <%= tax_category.is_default? ? t('spree.say_yes') : t('spree.say_no') %> | <% if can?(:update, tax_category) %> <%= link_to_edit tax_category, no_text: true %> <% end %> <% if can?(:destroy, tax_category) %> <%= link_to_delete tax_category, no_text: true %> <% end %> |