
<div class="page-header">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
    <li class="breadcrumb-item active"><%= t("views.right_panel.header.order_queue_stations") %></li>
    <span class="float-right">
      <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
    </span>
  </ol>
</div>



<div class="row">
  <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
  <div class="m-b-10 clearfix">
  <%= link_to t("views.btn.new"),new_settings_order_queue_station_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
</div>
    <div class="card">
      <table class="table">
        <thead>
          <tr>
            <th><%= t("views.right_panel.detail.station_name") %></th>
            <th><%= t("views.right_panel.detail.printer_name") %></th>
            <th><%= t("views.right_panel.detail.is_active") %></th>
            <th><%= t("views.right_panel.detail.auto_print") %></th>
            <th><%= t("views.right_panel.detail.print_copy") %></th>
            <!-- <th>Cut per item</th> -->
            <th><%= t("views.right_panel.detail.alternate_name") %></th>
            <!-- <th>Created by</th> -->
            <th><%= t("views.right_panel.detail.created_at") %></th>
            <!-- <th>Updated  At</th> -->
            <th colspan="2"><%= t("views.right_panel.detail.actions") %></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.printer_name %></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.cut_per_item %></td> -->
              <td><%= settings_order_queue_station.use_alternate_name %></td>
              <!-- <td><%= settings_order_queue_station.created_by %></td> -->
              <td width="15%"><%= settings_order_queue_station.created_at.strftime("%m-%d-%Y") %></td>
              <!-- <td><%= settings_order_queue_station.updated_at.strftime("%m-%d-%Y") %></td> -->
              <td colspan="2">
                <%= link_to 'Assign Items', new_settings_order_queue_station_processing_item_path(settings_order_queue_station),:class => 'btn btn-success btn-sm waves-effect' %>
                &nbsp;&nbsp;
                <%= link_to t("views.btn.edit"), edit_settings_order_queue_station_path(settings_order_queue_station),:class => 'btn btn-info btn-sm waves-effect' %>
                
              </td>
            </tr>
          <% end %>
        </tbody>
      </table>
      <%= paginate @settings_order_queue_stations %>
    </div>
  </div>
 <div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
    <div class="card">
      <div class="body">
          <h5><i class="material-icons md-18">view_headline <%= t("views.right_panel.header.page_detail") %></i></h5>
          <p>
          1) <%= t("views.right_panel.detail.station_name") %> -  <%= t("views.right_panel.detail.station_name_txt") %> <%= t("views.right_panel.detail.name_txt") %> <%= t("views.right_panel.detail.station_name_txt") %> <br>
          2) <%= t("views.right_panel.detail.printer_name") %> - <%= t("views.right_panel.detail.name_txt2") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.printer_txt") %><br>
          3) <%= t("views.right_panel.detail.is_active") %> - <%= t("views.right_panel.detail.order_queue_stations_txt") %> <%= t("views.right_panel.detail.is_active_txt") %> <br>
          4) <%= t("views.right_panel.detail.auto_print") %> - <%= t("views.right_panel.detail.status_txt2") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.auto_print_txt") %><br>
          5) <%= t("views.right_panel.detail.print_copy") %> - <%= t("views.right_panel.detail.status_txt2") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.copy_print_txt") %><br>
          6) <%= t("views.right_panel.detail.alternate_name") %> - <%= t("views.right_panel.detail.alt_name_txt") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.order_queue_stations_txt") %><br>
          7) <%= t("views.right_panel.detail.created_at") %> - <%= t("views.right_panel.detail.created_at_txt") %> <%= t("views.right_panel.detail.order_queue_stations_txt") %><br>
          8) <%= t("views.right_panel.detail.actions") %> - <%= t("views.right_panel.detail.actions_txt3") %> <%= t("views.right_panel.detail.order_queue_stations_txt") %> <br>
          </p>
          <h5><i class="material-icons md-18">list <%= t("views.right_panel.header.button_lists") %></i> </h5>
          <p>
          1) <%= t("views.right_panel.button.new") %> - <%= t("views.right_panel.detail.new_btn_txt") %> <%= t("views.right_panel.detail.order_queue_stations_txt") %> <br>
          2) <%= t("views.right_panel.button.edit") %> - <%= t("views.right_panel.detail.edit_btn_txt") %> <%= t("views.right_panel.detail.order_queue_stations_txt") %> <br>
          3) <%= t("views.right_panel.button.assign_processing_items") %> - <%= t("views.right_panel.detail.assign_processing_items_txt") %> <br>
          </p>
          <h5><i class="material-icons md-18">list <%= t("views.right_panel.header.link_lists") %></i> </h5>
          <p>
            1) <%= t("views.right_panel.button.home") %> - <%= t("views.right_panel.detail.home_txt") %> <br>
            2) <%= t("views.right_panel.button.back") %> - <%= t("views.right_panel.detail.home_txt") %> <br>
      </div>
    </div>  
  </div>
</div>
