app/views/plugins/ecommerce/front/orders/index.html.erb in camaleon_ecommerce-1.2.1 vs app/views/plugins/ecommerce/front/orders/index.html.erb in camaleon_ecommerce-2.0.0
- old
+ new
@@ -1,6 +1,6 @@
-<%= render plugin_view('partials/cart_widget') %>
+<%= render 'post_types/commerce/cart_widget' %>
<h2><%= t('.title', default: 'My Orders') %></h2>
<table id="table-shopping-cart" class="table">
<thead>
<tr>
<th><%= t('.id', default: 'ID') %></th>
@@ -25,10 +25,10 @@
<% end %>
</td>
<td><%= order.cache_the_sub_total %></td>
<td><%= order.cache_the_discounts %></td>
<td><%= order.cache_the_total %></td>
- <td><%= order.paid_at %></td>
+ <td><%= order.the_paid_at %></td>
<td><%= order.payment_method.name rescue '' %></td>
<td>
<a href="<%= plugins_ecommerce_order_show_path(order: order.slug) %>" class="btn btn-default btn-xs"><%= t('.view', default: 'View') %></a>
</td>
</tr>