

<div class="page-header">
 <ul class="breadcrumb">
  <li><a href="<%=  %>">Home</a></li>
  <li>Order Queue Stations</li>
  <span style="float: right">
    <%= link_to t('.new', :default => t("helpers.links.new")),new_settings_order_queue_station_path,:class => 'btn btn-primary btn-sm' %>
  </span>
 </ul>
</div>

<br>
<div class="card">
  <table class="table">
    <thead>
      <tr>
        <th>Station name</th>
        <th>Is active</th>
        <th>Auto Print</th>
        <th>Print copy</th>
        <th>Printer name</th>
        <th>Cut per item</th>
        <th>Use alternate name</th>
        <th>Created by</th>
        <th colspan="3"></th>
      </tr>
    </thead>

    <tbody>
      <% @settings_order_queue_stations.each do |settings_order_queue_station| %>
        <tr>
          <td><%= link_to settings_order_queue_station.station_name, settings_order_queue_station_path(settings_order_queue_station) %></td>
          <td><%= settings_order_queue_station.is_active %></td>
          <td><%= settings_order_queue_station.auto_print %></td>
          <td><%= settings_order_queue_station.print_copy %></td>
          <td><%= settings_order_queue_station.printer_name %></td>
          <td><%= settings_order_queue_station.cut_per_item %></td>
          <td><%= settings_order_queue_station.use_alternate_name %></td>
          <td><%= settings_order_queue_station.created_by %></td>
          <td><%= link_to 'Assign Processing Items', new_settings_order_queue_station_processing_item_path(settings_order_queue_station) %></td>
          <td><%= link_to 'Edit', edit_settings_order_queue_station_path(settings_order_queue_station) %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
  <%= paginate @settings_order_queue_stations %>
</div>
