<nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow justify-content-end">
    
    <!--<img src="{{ asset('img/navar_logo.png') }}" />-->

    

    <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
        <i class="fa fa-bars"></i>
    </button>
 
    <ul class="navbar-nav">
        <li class="nav-item dropdown no-arrow d-sm-none">
            <a class="nav-link dropdown-toggle" href="#" id="searchDropdown" role="button"
                data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <i class="fas fa-search fa-fw"></i>
            </a>
            <div class="dropdown-menu dropdown-menu-right p-3 shadow animated--grow-in"
                aria-labelledby="searchDropdown">
                <form class="form-inline mr-auto w-100 navbar-search">
                    <div class="input-group">
                        <input type="text" class="form-control bg-light border-0 small"
                            placeholder="Search for..." aria-label="Search"
                            aria-describedby="basic-addon2">
                        <div class="input-group-append">
                            <button class="btn btn-primary" type="button">
                                <i class="fas fa-search fa-sm"></i>
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </li>
<!-- <li class="nav-item {{ Request::is('ticket*') ? 'active' : '' }}">
        <a class="nav-link" href="{{ route('tickets') }}">
          <i class="fa fa-ticket" class="mr-2 d-none d-lg-inline text-gray-600 small"></i>
            <span class="mr-2 d-none d-lg-inline text-gray-600 medium">&nbsp TechnicalSupport</span>
        </a>
    </li> -->
        <!-- <li class="nav-item dropdown no-arrow">
            <a class="nav-link dropdown-toggle " href="#" id="userNotify" role="button"
                data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <span class="mr-2 d-none d-lg-inline text-gray-600 medium main_class" onclick="notification();"><i class="far fa-bell"></i></span><span class="badge badge-primary navbar-badge main_class_2">0</span>
            </a>
            <div id="notify_hide" class="dropdown-menu dropdown-menu-right shadow animated--grow-in"
                aria-labelledby="userNotify">
                   <h4 class="notify_head">Notifications</h4>
                   <ul class="notify_ul dropdown-item" id="top_notification">
                       
                   </ul>
               
                <a href="{{ route('notifications') }}" class="d-block text-center seeall_notify" style="text-decoration: none;">
                    See All
                    <hr style="margin:0; margin-top: 5px ;border-top: 1px solid ">
                </a>
            </div>
        </li> -->
        <div class="topbar-divider d-none d-sm-block"></div>
        <?php
$img = DB::table('global_configuration')->select('*')->where('status','active')->first();
    //dd($img);
      /* $login_logo1 = $img->login_logo1;
       $login_logo2 = $img->login_logo2;*/
 if($img == null){
      $login_logo1 = "http://erp.ibgroup.in/public/assets/img/111.jpg";
      $login_logo2 = "http://erp.ibgroup.in/public/assets/img/222.jpg";
  }
  else{
      $login_logo1 = $img->login_logo1;
      $login_logo2 = $img->login_logo2;
  }
?>
        <li class="nav-item dropdown no-arrow">
            <a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button"
                data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                
                @if(isset($vendor))
    <span class="mr-2 d-none d-lg-inline text-gray-600 medium">{{ $vendor->name_of_company }}</span>
@endif


                
            </a>
            <div class="dropdown-menu dropdown-menu-right shadow animated--grow-in"
                aria-labelledby="userDropdown">

                <a class="dropdown-item" href="{{ route('vendorlogout') }}" >
                    <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>
                    Logout
                </a>
                <br>
                <a class="dropdown-item" href="{{ route('vendor.change_password') }}" >
                    <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>
                    Change Password
                </a>
            </div>
        </li>
    </ul>
</nav>