Show/hide search form New Manual Order Print Pending Orders
<% if @orders.count > 0 %><%= raw order.id %> | <%= raw order.order_number %> | <% if order.customer.nil? %> Unknown <% else %> <% if order.customer.first_name && order.customer.first_name.strip.length > 0 %> <%= order.customer.first_name %> <%= order.customer.last_name %> <% else %> <%= order.customer.email %> <% end %> <% end %> | <%= raw order.date_created %> | <%= number_to_currency(order.total) %> | <%= raw order.status %> |
<%= raw @pager.generate %>
<% else %>There are no orders right now.
<% end %> <% content_for :caboose_js do %> <% end %>