Current File : /home/tradevaly/www/resources/views/user/ayaan/sidebar.blade.php
<!-- ========== Left Sidebar Start ========== -->
<div class="vertical-menu">

    <div data-simplebar class="h-100">


        <!--- Sidemenu -->
        <div id="sidebar-menu">
            <!-- Left Menu Start -->
            <ul class="metismenu list-unstyled" id="side-menu">
                <li class="menu-title" key="t-menu">{{ translate("Menu") }}</li>
                
                
                
                
                <li class="{{menuActive('user.dashboard')}}">
                    <a href="{{route('user.dashboard')}}" class="waves-effect">
                        <i class="bx bx-home-circle"></i>
                        <span key="t-dashboards">{{ translate("Dashboard") }}</span>
                    </a>
                </li>
                
                
               
                
                
                <li class="{{menuActive('user.profile.view')}}">
                    <a href="{{route('user.profile.view')}}" class="waves-effect">
                        <i class="fas fa-user"></i>
                        <span key="t-dashboards">{{ translate("My Profile") }}</span>
                    </a>
                </li>
                
                 @if(Auth::user()->verified == 1 && Auth::user()->type == 'buyer')
                 @php
                 $category_slug = App\Models\Category::find(Auth::user()->category_id)->slug;
                 @endphp
                <li class="{{menuActive('user.recommand.products')}}">
                    <a href="{{ route('category', $category_slug) }}" class="waves-effect">
                        <i class="bx bx-home-circle"></i>
                        <span key="t-dashboards">{{ translate("Recommandation") }}</span>
                    </a>
                </li>
                <li class=" {{ request()->is('/related/seller/list') ? 'active' : '' }} ">
                    <a href="{{ route('related_seller_list') }}" class="waves-effect">
                        <i class="fas fa-user"></i>
                        <span key="t_table">{{translate("Releted Sellers")}}</span>
                    </a>
                </li>
                @else 
              
                 <li class="{{menuActive('user.recommand.offer.foryou*')}}">
                    <a href="javascript: void(0);" class="has-arrow waves-effect">
                        <i class="fab fa-product-hunt"></i>
                        <span key="t-ecommerce">{{ translate("Buy Offers") }}</span>
                    </a>
                    <ul class="sub-menu {{menuActive('user.product*',3)}}" aria-expanded="false">
                        <li class="{{menuActive('user.recommand.offer.foryou')}} "><a href="{{route('user.recommand.offer.foryou')}}" key="t-products">{{ translate("Only For You") }}</a></li>
                        <li class="{{menuActive('user.recommand.offer.global')}} "><a href="{{route('user.recommand.offer.global')}} " key="t-product-detail">{{ translate("Global Offer") }}</a></li>
                       
                    </ul>
                </li>
                 <li class="{{menuActive('user.my.buy.advertiser*')}}">
                    <a href="javascript: void(0);" class="has-arrow waves-effect">
                        <i class="fab fa-product-hunt"></i>
                        <span key="t-ecommerce">Advertisment</span>
                    </a>
                    <ul class="sub-menu {{menuActive('user.advertisment*',3)}}" aria-expanded="false">
                        <li class="{{menuActive('user.advertisment.index')}} "><a href="{{route('user.advertisment.index')}} " key="t-product-detail">{{ ("Advertisment") }}</a></li>
                        <li class="{{menuActive('user.advertisment.pending')}} "><a href="{{route('user.advertisment.pending')}} " key="t-product-detail">{{ ("Pending Advertisment") }}</a></li>
                        <li class="{{menuActive('user.advertisment.expired')}} "><a href="{{route('user.advertisment.expired')}} " key="t-product-detail">{{__("Expired Advertisment")}}</a></li>
                       
                    </ul>
                </li>
                
                <li class="{{menuActive('user.my.buy.advertiser.all')}}">
                    <a href="{{route('user.my.buy.advertiser.all')}}" class="waves-effect">
                        <i class="fas fa-file"></i>
                        <span key="t_refferal">{{ translate("My Invoices") }}</span>
                    </a>
                </li>
                @endif
                <li class="{{menuActive('user.category.*')}}">
                    <a href="{{url('user/company/setting')}}" class="waves-effect">
                        <i class="fas fa-list"></i>
                        <span key="t_refferal">{{ translate("Company Setting") }}</span>
                    </a>
                </li>
                <li class="{{menuActive('user.pdf.*')}}">
                    <a href="{{url('user/pdf/index')}}" class="waves-effect">
                        <i class="far fa-money-bill-alt"></i>
                        <span key="t_table">{{ translate("Company Brochures") }}</span>
                    </a>
                </li>
                <li class="{{menuActive('user.award.*')}}">
                    <a href="{{url('user/award/index')}}" class="waves-effect">
                        <i class="far fa-money-bill-alt"></i>
                        <span key="t_table">{{ translate("Company Award") }}</span>
                    </a>
                </li>
                
                 <li class="{{ request()->is('user/certificate/*') ? 'active' : '' }}">
                    <a href="{{url('user/certificate/index')}}" class="waves-effect">
                        <i class="fas fa-tags"></i>
                        <span key="t_table">{{translate("Company Certificates")}}</span>
                    </a>
                </li>
             
               @if(Auth::user()->verified == 1 && Auth::user()->type == 'seller')
                
                 <li class="{{menuActive('user.products*',3)}}">
                    <a href="javascript: void(0);" class="has-arrow waves-effect">
                        <i class="fab fa-product-hunt"></i>
                        <span key="t-ecommerce">{{ translate("Products") }}</span>
                    </a>
                    <ul class="sub-menu {{menuActive('user.product*',3)}}" aria-expanded="false">
                        <li class="{{menuActive('user.addproducts')}} "><a href="{{route('user.addproducts')}}" key="t-products">{{ translate("Add") }}</a></li>
                        <li class="{{menuActive('user.products')}} "><a href="{{route('user.products')}} " key="t-product-detail">{{ translate("Active") }}</a></li>
                        <li class="{{menuActive('user.pending_products')}} "><a href="{{route('user.pending_products')}} " key="t-product-detail">{{ translate("Pending") }}</a></li>
                        <li class="{{menuActive('user.rej_products')}} "><a href="{{route('user.rej_products')}} " key="t-product-detail">{{ translate("Rejected") }}</a></li>
                        <li class="{{menuActive('user.trashed_products')}} "><a href="{{route('user.trashed_products')}} " key="t-product-detail">{{ translate("Recycle Bin") }}</a></li>
                       
                    </ul>
                </li>
                @endif
                  <li class="{{menuActive('user.products*',3)}}">
                    <a href="javascript: void(0);" class="has-arrow waves-effect">
                        <i class="fab fa-product-hunt"></i>
                        <span key="t-ecommerce">{{ translate("Feature Product") }}</span>
                    </a>
                    <ul class="sub-menu {{menuActive('user.product*',3)}}" aria-expanded="false">
                        <li class="{{menuActive('user.featuredlist')}} "><a href="{{route('user.featuredlist')}}" key="t-products">{{ translate("Add feature Product") }}</a></li>
                        <li class="{{menuActive('user.active.feature.Profuct.list')}} "><a href="{{route('user.active.feature.Profuct.list')}} " key="t-product-detail">{{ translate("Active Products") }}</a></li>
                       
                    </ul>
                </li>
                <li class=" {{ request()->is('/related/buyer/list') ? 'active' : '' }} ">
                    <a href="{{ route('related_buyer_list') }}" class="waves-effect">
                        <i class="fas fa-user"></i>
                        <span key="t_table">{{translate("Releted Buyers")}}</span>
                    </a>
                </li>
             
                <li class="{{ request()->is('user/message/*') ? 'active' : '' }} ">
                    <a href="{{ route('user.message.index') }}" class="waves-effect">
                        <i class="fas fa-sms"></i>
                        <span key="t_refferal">{{translate("Messages")}}</span>
                    </a>
                </li>
                @if(Auth::user()->type == 'seller')
                 <li class="{{menuActive('user.order*',3)}}">
                    <a href="javascript: void(0);" class="has-arrow waves-effect">
                        <i class="fas fa-box-open"></i>
                        <span key="t-ecommerce">{{ translate("Selling Orders") }}</span>
                    </a>
                    <ul class="sub-menu {{menuActive('user.product*',3)}}" aria-expanded="false">
                        <li class="{{menuActive('user.order.index')}} "><a href="{{route('user.order.index')}}" key="t-products">{{ translate("All Order") }}</a></li>
                        <li class="{{menuActive('user.order.new')}} "><a href="{{route('user.order.new')}} " key="t-product-detail">{{ translate("New Order") }}</a></li>
                        <li class="{{menuActive('user.order.pending')}} "><a href="{{route('user.order.pending')}} " key="t-product-detail">{{ translate("Pending Order") }}</a></li>
                        <li class="{{menuActive('user.order.delevered')}} "><a href="{{route('user.order.delevered')}} " key="t-product-detail">{{ translate("Compleate Order") }}</a></li>
                        <li class="{{menuActive('user.order.cancel')}} "><a href="{{route('user.order.cancel')}} " key="t-product-detail">{{ translate("Cancel Order") }}</a></li>
                       
                    </ul>
                </li>
                @endif
                @if(Auth::user()->type == 'buyer')
                <li class="{{ request()->is('orders/buying*') ? 'active' : '' }} ">
                    <a href="{{route('user.order.buying')}}" class="waves-effect">
                        <i class="fa fa-box"></i>
                        <span key="t_refferal">{{translate("Buying Orders")}}</span>
                    </a>
                </li>
                @endif
                <li class="{{ request()->is('user.selling.index*') ? 'active' : '' }} ">
                    <a href="{{route('user.selling.index')}}" class="waves-effect">
                        <i class="fa fa-coins"></i>
                        <span key="t_refferal">{{translate("Pending Payments ")}}</span>
                    </a>
                </li>
                
                
                <li class="{{ request()->is('user/subscription/*') ? 'active' : '' }} ">
                    <a href="{{url('user/subscription/index')}}" class="waves-effect">
                        <i class="fa fa-question-circle"></i>
                        <span key="t_refferal">{{translate("Subscription")}}</span>
                    </a>
                </li>
                <li class="{{ request()->is('user/product/watch-history*') ? 'active' : '' }} ">
                    <a href="{{ route('user.viewHistory') }}" class="waves-effect">
                        <i class="fab fa-product-hunt"></i>
                        <span key="t_refferal">My Product Visitors</span>
                    </a>
                </li>

            </ul>
            <div>
                    <a href="javascript:"class="tawk__to__popup">
                      
                       <i class="fas fa-headset"></i>
                        <span key="t_refferal">{{translate("Live Support")}}</span>
                    </a>
                </div>
        </div>
        <!-- Sidebar -->
    </div>
</div>
<!-- Left Sidebar End -->