Sha256: c6bc0d44318200df5cc703f96b5c78cd8287234eb4422ee9e4fd8a3095b1bae6

Contents?: true

Size: 912 Bytes

Versions: 8

Compression:

Stored size: 912 Bytes

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(:calculator) %></th>
      <th><%= t(:action) %></th>
    </tr>
  </thead>
  <tbody>
    <% @tax_rates.each do |tax_rate|%>
    <tr id="<%= dom_id tax_rate %>" data-hook="rate_row">
      <td><%=tax_rate.zone.name %></td>
      <td><%=tax_rate.tax_category.name %></td>
      <td><%=tax_rate.amount %></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

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-0.70.7 app/views/admin/tax_rates/index.html.erb
spree_core-0.70.6 app/views/admin/tax_rates/index.html.erb
spree_core-0.70.5 app/views/admin/tax_rates/index.html.erb
spree_core-0.70.4 app/views/admin/tax_rates/index.html.erb
spree_core-0.70.3 app/views/admin/tax_rates/index.html.erb
spree_core-0.70.2 app/views/admin/tax_rates/index.html.erb
spree_core-0.70.1 app/views/admin/tax_rates/index.html.erb
spree_core-0.70.0 app/views/admin/tax_rates/index.html.erb