Sha256: 12fcb506b44e63b7bcd1dd10ce2e2753a75c7057b27985430bacbfdab1755b9a

Contents?: true

Size: 818 Bytes

Versions: 8

Compression:

Stored size: 818 Bytes

Contents

<%= render :partial => 'admin/shared/configuration_menu' %>

<h1><%= t(:tax_settings) %></h1>

<%= form_tag admin_tax_settings_path, :method => :put do %>

  <p data-hook="show_vat">
    <%= label_tag nil, t(:show_price_inc_vat) %>
    <%= hidden_field_tag 'preferences[show_price_inc_vat]', '0' %>
    <%= check_box_tag 'preferences[show_price_inc_vat]', '1',  Spree::Config[:show_price_inc_vat] %>
  </p>

  <p data-hook="shipment_vat">
    <%= label_tag nil, t(:shipment_inc_vat) %>
    <%= hidden_field_tag 'preferences[shipment_inc_vat]', '0' %>
    <%= check_box_tag 'preferences[shipment_inc_vat]', '1',  Spree::Config[:shipment_inc_vat] %>
  </p>

  <p class="form-buttons" data-hook="buttons">
    <%= button t(:update) %> 
    <%= t(:or) %> <%= link_to t(:cancel), admin_tax_settings_url %>
  </p>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

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