app/views/caboose/store/admin_edit_tax.html.erb in caboose-cms-0.7.85 vs app/views/caboose/store/admin_edit_tax.html.erb in caboose-cms-0.8.1
- old
+ new
@@ -7,10 +7,10 @@
<p><div id='storeconfig_<%= sc.id %>_auto_calculate_tax' ></div></p>
<p><div id='storeconfig_<%= sc.id %>_taxcloud_api_id' ></div></p>
<p><div id='storeconfig_<%= sc.id %>_taxcloud_api_key' ></div></p>
<div id='custom_tax_container' <% if sc.auto_calculate_tax %>style='display: none;'<% end %>>
<h3>Custom Tax Function</h3>
- <p><code>def custom_tax_function(order) {</code></p>
+ <p><code>def custom_tax_function(invoice) {</code></p>
<p><div id='storeconfig_<%= sc.id %>_custom_tax_function' ></div></p>
<p><code># return 0.00<br />}</code></p>
</div>
<%= render :partial => 'caboose/store/admin_footer' %>