
<div class="page-header">
 <ul class="breadcrumb">
  <li><a href="<%=  %>">Home</a></li>
  <li>Cashier Terminal</li>
  <span style="float: right">
    <%= link_to t('.new', :default => t("helpers.links.new")),new_settings_cashier_terminal_path,:class => 'btn btn-primary btn-sm' %>
  </span>
 </ul>
</div>
<div class="card">
  <table class="table table-striped">
    <thead>
      <tr>
        <th>Name</th>
        <th>Active</th>
        <th>Login?</th>
        <th>Auto print</th>
        <th>Printer name</th>
        <th>Show tax</th>
        <th>Show cashier</th>
        <th>Show guest info</th>
        <th style="width:20%">Action</th>
      </tr>
    </thead>

    <tbody>
      <% @settings_cashier_terminals.each do |settings_cashier_terminal| %>
        <tr>
          <td><%= settings_cashier_terminal.name %></td>
          <td><%= settings_cashier_terminal.is_active %></td>
          <td><%= settings_cashier_terminal.is_currently_login %></td>
          <td><%= settings_cashier_terminal.auto_print_receipt %></td>
          <td><%= settings_cashier_terminal.printer_name %></td>
          <td><%= settings_cashier_terminal.show_tax %></td>
          <td><%= settings_cashier_terminal.show_cashier %></td>
          <td><%= settings_cashier_terminal.show_guest_info %></td>
          <td><%= link_to 'Edit', edit_settings_cashier_terminal_path(settings_cashier_terminal) %>
          | <%= link_to 'Destroy', settings_cashier_terminal_path(settings_cashier_terminal), method: :delete, data: { confirm: 'Are you sure?' } %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>
