<nav class="navbar navbar-toggleable-md fixed-top navbar-light setting_nav">
   <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
     <span class="navbar-toggler-icon"></span>
   </button>
   <a class="navbar-brand" href="#" style="color: rgba(67, 185, 220, 0.9)">E-menu</a>
   <div class="collapse navbar-collapse" id="navbarCollapse">
     <ul class="navbar-nav mr-auto">
        <li class="navbar-nav mr-auto dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Settings</a>
          <ul class="dropdown-menu">
              <li><%= link_to "Menus ", settings_menus_path, :tabindex =>"-1" %></li>
              <li><%= link_to "Menu Categories", settings_menu_categories_path, :tabindex =>"-1" %></li>
              <li><%= link_to "Menu Item Attributes", settings_menu_item_attributes_path, :tabindex =>"-1" %></li>
              <li><%= link_to "Menu Item Options",settings_menu_item_options_path, :tabindex =>"-1" %></li>
              <hr>
              <li><%= link_to "Order Queue Stations",settings_order_queue_stations_path, :tabindex =>"-1" %></li>
              <li><%= link_to "Zones", settings_zones_path, :tabindex =>"-1" %></li>
              <hr>
              <li><%= link_to "Cashier Terminals ", settings_cashier_terminals_path, :tabindex =>"-1" %></li>
              <li><%= link_to "Employees", settings_employees_path, :tabindex =>"-1" %></li>
              <li><%= link_to "Membership Setting",settings_membership_settings_path, :tabindex =>"-1" %></li>
              <li><%= link_to "Membership Action",settings_membership_actions_path, :tabindex =>"-1" %></li>
              <li><%= link_to "Payment Method", settings_payment_method_settings_path, :tabindex =>"-1" %></li>
              <li><%= link_to "Tax Profile", settings_tax_profiles_path, :tabindex =>"-1" %></li>
              <li><%= link_to "Print Setting", print_settings_path, :tabindex =>"-1" %></li>
              <hr>
              <li><%= link_to "Accounts", settings_accounts_path, :tabindex =>"-1" %></li>
          </ul>
        </li>

        <li class="navbar-nav mr-auto dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">&nbsp;&nbsp;&nbsp;Transactions</a>
          <ul class="dropdown-menu">
            <li><%= link_to "Orders ", transactions_orders_path, :tabindex =>"-1" %></li>
            <li><%= link_to "Sales ", transactions_sales_path, :tabindex =>"-1" %></li>
             <li><%= link_to "Credit Note ", transactions_credit_notes_path, :tabindex =>"-1" %></li> 
          </ul>
        </li>
        <li class="navbar-nav mr-auto dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">&nbsp;&nbsp;&nbsp;Reports</a>
          <ul class="dropdown-menu">
            <li><%= link_to "Daily Sale Report", reports_dailysale_index_path, :tabindex =>"-1" %></li>
            <li><%= link_to "Sales Item Report", reports_saleitem_index_path, :tabindex =>"-1" %></li>
            <li><%= link_to "Receipt Report", reports_receipt_no_index_path, :tabindex =>"-1" %></li>
            <li><%= link_to "Shift Sale Report", reports_shiftsale_index_path, :tabindex =>"-1" %></li> 
          </ul>
        </li>
     </ul>

   </div>
   <% if current_login_employee %>
     <div class="right">
          <ul class="navbar-nav mr-auto">
          <%if current_login_employee.role !="waiter" %>
            <li style="color: #959595"><%= current_login_employee.name %> </li>
            
            <li style="padding-right:10px;padding-left:10px"> | </li>
            <li ><%= link_to 'Logout', logout_path, method: :delete, data: { confirm: 'Are you sure?' } %>
            </li>
          <%end%>
          </ul>
     </div>
   <% end %>

 </nav>
