app/views/plugins/ecommerce/admin/coupons/index.html.erb in camaleon_ecommerce-0.0.4 vs app/views/plugins/ecommerce/admin/coupons/index.html.erb in camaleon_ecommerce-1.1
- old
+ new
@@ -32,10 +32,10 @@
<td><%= raw row.the_status %></td>
<td><%= row.the_amount %></td>
<td><%= options[:min_cart_total] %></td>
<td><%= options[:expirate_date] %></td>
<td><%= options[:allowed_applications] %></td>
- <td><%= options[:used_applications] || 0 %></td>
+ <td><%= row.used_applications %></td>
<td>
<%= link_to raw('<i class="fa fa-edit"></i>'), {action: :edit, id: row.id}, class: "btn btn-default btn-xs", title: "#{t('camaleon_cms.admin.button.edit')}" %>
</td>
</tr>
<% end %>