Sha256: 30f14fcb37ed921779a32d5dbe90997fdfe9b4da38175acbbc95ecd368b16083

Contents?: true

Size: 846 Bytes

Versions: 6

Compression:

Stored size: 846 Bytes

Contents

<div class='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("ext_tax_calculator_tax_rates") %></h1>
<table class="index">
  <thead>                        
    <th><%=t("zone")%></th>
    <th><%=t("category")%></th>
    <th><%=t("amount")%></th>
    <th><%=t("tax_type")%></th>
    <th><%=t("action")%></th>
  </thead>
  <tbody>
    <% @tax_rates.each do |tax_rate|%>
    <tr>
      <td><%=tax_rate.zone.name %></td>
      <td><%=tax_rate.tax_category.name %></td>
      <td><%=tax_rate.amount %></td>
      <td><%=TaxRate::TaxType.from_value tax_rate.tax_type %></td>
      <td>
      	<%= link_to_edit tax_rate %> &nbsp;
      	<%= link_to_delete tax_rate %>
      </td>
    </tr>
    <% end %>
  </tbody>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree-0.8.4 vendor/extensions/tax_calculator/app/views/admin/tax_rates/index.html.erb
spree-0.8.5 vendor/extensions/tax_calculator/app/views/admin/tax_rates/index.html.erb
spree-0.8.0 vendor/extensions/tax_calculator/app/views/admin/tax_rates/index.html.erb
spree-0.8.1 vendor/extensions/tax_calculator/app/views/admin/tax_rates/index.html.erb
spree-0.8.2 vendor/extensions/tax_calculator/app/views/admin/tax_rates/index.html.erb
spree-0.8.3 vendor/extensions/tax_calculator/app/views/admin/tax_rates/index.html.erb