app/views/caboose/orders/admin_index.html.erb in caboose-cms-0.5.188 vs app/views/caboose/orders/admin_index.html.erb in caboose-cms-0.5.189

- old
+ new

@@ -37,19 +37,21 @@ <% if @orders.count > 0 %> <table class='data' id='orders_table'> <tr> <%= raw @pager.sortable_table_headings({ 'id' => 'ID', + 'order_number' => 'Order Number', 'customer_id' => 'Customer', 'date_created' => 'Date Created', 'total' => 'Total', 'status' => 'Status' }) %> </tr> <% @orders.each do |order| %> <tr onclick="window.location='/admin/orders/<%= order.id %>';"> <td><%= raw order.id %></td> + <td><%= raw order.order_number %></td> <td> <% if order.customer.nil? %> Unknown <% else %> <% if order.customer.first_name && order.customer.first_name.strip.length > 0 %>