Sha256: 993e04d19b6744ad2d6845a6ee3b8395fdb5b7c3fcd67ca9de9dfc288d4c4280
Contents?: true
Size: 991 Bytes
Versions: 6
Compression:
Stored size: 991 Bytes
Contents
<%= render :partial => 'admin/shared/order_tabs', :locals => {:current => "History"} %> <h2><%= t("history")%></h2> <table class="index"> <tr> <th><%= t("event") %></th> <th><%= t("from_state") %></th> <th><%= t("to_state") %></th> <th><%= t("user") %></th> <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th> </tr> <% @order.state_events.sort.each do |event| %> <tr> <td><%=t("#{event.name}") if event.name.present? %></td> <td><%=t("#{event.name}_state#{'s' unless event.name == 'order'}.#{event.previous_state}") %></td> <td><%=t("#{event.name}_state#{'s' unless event.name == 'order'}.#{event.next_state}") %></td> <td><%=event.user.email if event.user %></td> <td><%=event.created_at.to_s(:date_time24) %></td> </tr> <% end %> <% if @order.state_events.empty? %> <tr> <td colspan="3"><%= t("none_available") %></td> </tr> <% end %> </table> <%= button_link_to t('continue'), admin_orders_url %>
Version data entries
6 entries across 6 versions & 1 rubygems