Sha256: a30b494ed5e45e39853ed5db46cab8ca25082e344aea2e917f67d97c1cabbc9b

Contents?: true

Size: 1 KB

Versions: 7

Compression:

Stored size: 1 KB

Contents

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li>
      <%= button_link_to t(:new_tax_rate), new_object_url, :icon => 'add' %>
    </li>
  </ul>
  <br class="clear" />
</div>
<h1><%= t(:tax_rates) %></h1>
<table class="index">
  <thead>
    <tr data-hook="rate_header">
      <th><%= t(:zone) %></th>
      <th><%= t(:category) %></th>
      <th><%= t(:amount) %></th>
      <th><%= t(:included_in_price) %></th>
      <th><%= t(:calculator) %></th>
      <th><%= t(:action) %></th>
    </tr>
  </thead>
  <tbody>
    <% @tax_rates.each do |tax_rate|%>
    <tr id="<%= spree_dom_id tax_rate %>" data-hook="rate_row">
      <td><%=tax_rate.zone.name %></td>
      <td><%=tax_rate.tax_category.try(:name) || "N/A" %></td>
      <td><%=tax_rate.amount %></td>
      <td><%=tax_rate.included_in_price %></td>
      <td><%=tax_rate.calculator.to_s %></td>
      <td>
        <%= link_to_edit tax_rate %> &nbsp;
        <%= link_to_delete tax_rate %>
      </td>
    </tr>
    <% end %>
  </tbody>
</table>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_core-1.1.3 app/views/spree/admin/tax_rates/index.html.erb
spree_core-1.1.2 app/views/spree/admin/tax_rates/index.html.erb
spree_core-1.1.2.rc1 app/views/spree/admin/tax_rates/index.html.erb
spree_core-1.1.1 app/views/spree/admin/tax_rates/index.html.erb
spree_core-1.1.0 app/views/spree/admin/tax_rates/index.html.erb
spree_core-1.1.0.rc2 app/views/spree/admin/tax_rates/index.html.erb
spree_core-1.1.0.rc1 app/views/spree/admin/tax_rates/index.html.erb