<!-- ============================================================== -->
<!-- Left Sidebar - style you can find in sidebar.scss  -->
<!-- ============================================================== -->
<aside class="left-sidebar">
    <!-- Sidebar scroll-->
    <div class="scroll-sidebar">
        <!-- Sidebar navigation-->
        <nav class="sidebar-nav mb-5">
            <ul id="sidebarnav">

                <!-- Dashboard Section -->
                <li class="{{ request()->routeIs('dashboard') ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('dashboard') }}">
                        <i class="icon-speedometer"></i>
                        <span class="hide-menu">Dashboard</span>
                    </a>
                </li>

                @canany(['Member-list', 'Sale Man-list', 'Role-list'])

                    <!-- Users Manager -->
                    <li class="">
                        <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                            <i class="fa fa-users"></i>
                            <span class="hide-menu">Users Manager</span>
                        </a>
                        <ul aria-expanded="false" class="collapse">
                            <li class="">
                                @can('Member-list')
                                    <a href="{{ route('member') }}">Member</a>
                                @endcan
                            </li>

                            <li class="">
                                @can('Sale Man-list')
                                    <a href="{{ route('subadmin') }}">Salesman</a>
                                @endcan
                            </li>
                            @can('Role-list')
                                <li class="">
                                    <a href="{{ route('roles') }}">Role Manager</a>
                                </li>
                            @endcan

                            <li class="">
                                <a href="{{ route('member.comments') }}">Member Comments</a>
                            </li>

                            <li class="">
                            <a href="{{ route('member.logs') }}">Member Logs</a>
                        </li>
                            

                        </ul>
                    </li>

                    

                @endcanany
               
                @can('DF-panels')
                <li class="{{ request()->routeIs(['areamanager']) ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('areamanager') }}">
                        <i class="fa fa-globe"></i>
                        <span class="hide-menu">DF Panel</span>
                    </a>
                </li>
                @endcan

                @can('Checklist-manager')
                <li class="{{ request()->routeIs(['checklistmanager']) ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('checklistmanager') }}">
                        <i class="fa fa-globe"></i>
                        <span class="hide-menu">Checklist Manager</span>
                    </a>
                </li>
                @endcan

                




                @can('Lead-manager-list')
                <li class="{{ request()->routeIs(['lead.list']) || request()->routeIs(['lead.show']) ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('lead.list') }}">
                        <i class="fa fa-database"></i>
                        <span class="hide-menu">Lead Half Valuation</span>
                    </a>
                </li>
                @endcan

                 @can('Lead-manager-list')
                <li class="{{ request()->routeIs(['fullValuation.lead.list']) || request()->routeIs(['lead.show']) ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('fullValuation.lead.list') }}">
                        <i class="fa fa-database"></i>
                        <span class="hide-menu">Lead Full Valuation</span>
                    </a>
                </li>
                @endcan

                
                @can('Lead-distribution-panel-list')
                {{-- <li class="{{ request()->routeIs(['leadDistribution']) ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('leadDistribution') }}">
                        <i class="fa fa-database"></i>
                        <span class="hide-menu">Lead Distribution Panel</span>
                    </a>
                </li> --}}
                @endcan

                @can('Lead-report-list')
                <li class="{{ request()->routeIs(['leadDistributionList']) ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('leadDistributionList') }}">
                        <i class="fa fa-database"></i>
                        <span class="hide-menu">Lead Report</span>
                    </a>
                </li>
                @endcan

                <li class="{{ request()->routeIs(['leadUnDistribution']) ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('leadUnDistribution') }}">
                        <i class="fa fa-database"></i>
                        <span class="hide-menu">Lead Que</span>
                    </a>
                </li>
                
                
                

                @can('Plan-manager-list')
                    <li class="{{ request()->routeIs(['plan']) ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('plan') }}">
                            <i class="fa fa-square"></i>
                            <span class="hide-menu">Plan Manager</span>
                        </a>
                    </li>
                 @endcan


                @can('Transaction-list')
                <li class="{{ request()->routeIs(['transaction']) ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('transaction') }}">
                        <i class="fa fa-file"></i>
                        <span class="hide-menu">Transaction Manager Credit</span>
                    </a>
                </li>
                @endcan

                {{-- @can('Transaction-list') --}}
                <li class="{{ request()->routeIs(['lead.transaction']) ? 'active' : '' }}">
                    <a class="waves-effect waves-dark" href="{{ route('lead.transaction') }}">
                        <i class="fa fa-file"></i>
                        <span class="hide-menu">Transaction Manager Lead</span>
                    </a>
                </li>
                {{-- @endcan --}}

                

                {{-- Report manager --}}
                @can('Report-manager')
                <li class="{{ request()->routeIs(['reports.salesman.monthwise']) ? 'active' : '' }}">
                    <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="fa fa-laptop"></i><span class="hide-menu">Report Manager</span>
                    </a>
                    <ul aria-expanded="false" class="collapse">
                        @can('Member-report-based-on-salesman')
                        <li class="{{ request()->routeIs('reports.salesman.monthwise') ? 'active' : '' }}">
                            <a href="{{ route('reports.salesman.monthwise') }}">Member report based on Salesman</a>
                        </li>
                        @endcan

                          {{-- @can('Member-report-based-on-salesman') --}}
                        <li class="{{ request()->routeIs('reports.half.car.valuation.report') ? 'active' : '' }}">
                            <a href="{{ route('reports.half.car.valuation.report') }}">Half Car Valuation</a>
                        </li>
                        <li class="{{ request()->routeIs('reports.full.car.valuation.report') ? 'active' : '' }}">
                            <a href="{{ route('reports.full.car.valuation.report') }}">Full Car Valuation</a>
                        </li>
                        {{-- @endcan --}}

                        @can('Member-report-based-on-areas')
                        <li class="{{ request()->routeIs('reports.areas.members') ? 'active' : '' }}">
                            <a href="{{ route('reports.areas.members') }}">Member report based on Areas</a>
                        </li>
                        @endcan

                        @can('Leads-distribution-based-on-areas')

                        <li class="{{ request()->routeIs('reports.leads.areas.members') ? 'active' : '' }}">
                            <a href="{{ route('reports.leads.areas.members') }}">Leads distribution based on Members</a>
                        </li>
                        @endcan


                        @can('Member-account-balance-based-on-area')

                        <li class="{{ request()->routeIs('reports.members.balance') ? 'active' : '' }}">
                            <a href="{{ route('reports.members.balance') }}">Member Account balance</a>
                        </li>
                        @endcan

                        {{-- @can('Member-account-balance-based-on-status') --}}
                        <li class="{{ request()->routeIs('reports.members.status.balance') ? 'active' : '' }}">
                            <a href="{{ route('reports.members.status.balance') }}">Member Account balance Active/InActive</a>
                        </li>

                        {{-- @endcan --}}

                        {{-- <li class="{{ request()->routeIs('reports.leads.areas') ? 'active' : '' }}">
                            <a href="{{ route('reports.leads.areas') }}">Leads distribution (generated, distributed, undistributed)</a>
                        </li> --}}

                        @can('Credit-paids')
                        <li class="{{ request()->routeIs('reports.credit.paid') ? 'active' : '' }}">
                            <a href="{{ route('reports.credit.paid') }}">Credits Purchased</a>
                        </li>
                        @endcan

                        {{-- @can('Credit-paids') --}}
                        <li class="{{ request()->routeIs('reports.unutilized.lead') ? 'active' : '' }}">
                            <a href="{{ route('reports.unutilized.lead') }}">Unutilized Lead Report</a>
                        </li>
                        {{-- @endcan --}}

                        @can('Lead-analysis-via-area-members')
                        <li class="{{ request()->routeIs('reports.active.leads.subscribe') ? 'active' : '' }}">
                            <a href="{{ route('reports.active.leads.subscribe') }}">Lead analysis via Area members
                            </a>
                        </li>
                        @endcan


                        @can('Lead-analysis-via-area-subscription')
                        <li class="{{ request()->routeIs('reports.active.leads.area.subscribe') ? 'active' : '' }}">
                            <a href="{{ route('reports.active.leads.area.subscribe') }}">Lead analysis via Area subscription
                            </a>
                        </li>
                        @endcan



                        @can('DF-change-history-report')
                        <li class="{{ request()->routeIs('reports.area.df.change.report') ? 'active' : '' }}">
                            <a href="{{ route('reports.area.df.change.report') }}">DF change history Report
                            </a>
                        </li>
                        @endcan

                        @can('Member-plan-purchased-report')
                        <li class="{{ request()->routeIs('reports.plan.purchased.report') ? 'active' : '' }}">
                            <a href="{{ route('reports.plan.purchased.report') }}">Member Plan Purchased Report
                            </a>
                        </li>
                        @endcan

                        @can('Audit-checks-report')
                        <li class="{{ request()->routeIs('reports.audit.checks') ? 'active' : '' }}">
                            <a href="{{ route('reports.audit.checks') }}">Audit checks  Report
                            </a>
                        </li>
                        @endcan

@can('Undistrbuted-leads-report')
                        <li class="{{ request()->routeIs('reports.undistributed.leads') ? 'active' : '' }}">
                            <a href="{{ route('reports.undistributed.leads') }}">Leads distribution report
                            </a>
                        </li>
                        @endcan
                        

                    </ul>
                </li>
                @endcan

                 {{-- Report Manager --}}
                 @canany(['Access-limits', 'Ip-listing'])
                 <li class="{{ request()->routeIs(['ips.index','ips.access.limit']) ? 'active' : '' }}">
                    <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="fa fa-laptop"></i><span class="hide-menu">Ip Manager</span>
                    </a>
                    <ul aria-expanded="false" class="collapse">
                        @can('Access-limits')
                        <li class="{{ request()->routeIs('ips.access.limit') ? 'active' : '' }}">
                            <a href="{{ route('ips.access.limit') }}">Access Limits </a>
                        </li>
                        @endcan
                        
                        @can('Ip-listing')
                        <li class="{{ request()->routeIs('ips.index') ? 'active' : '' }}">
                            <a href="{{ route('ips.index') }}">IP Listing</a>
                        </li>
                        @endcan
                        <li class="{{ request()->routeIs('ip.record.index') ? 'active' : '' }}">
                            <a href="{{ route('ip.record.index') }}">IP Record</a>
                        </li>
                        {{-- @can('Access-limits') --}}
                        <li class="{{ request()->routeIs('blacklist.email') ? 'active' : '' }}">
                            <a href="{{ route('blacklist.email') }}">Blacklist Emails</a>
                        </li>
                        {{-- @endcan --}}
                    </ul>
                </li>
                @endcanany

                {{-- <li class="">
                    <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="fa fa-file"></i>
                        <span class="hide-menu">Analytics and Reports</span>
                    </a>
                    <ul aria-expanded="false" class="collapse">
                        <li class="">
                            <a href="{{ route('subscription.chart') }}">Subscriptions Report</a>
                        </li>
                        <li class="">
                            <a href="{{ route('jobPostGraph.chart') }}">Job Post Report</a>
                        </li>
                        <li class="">
                            <a href="{{ route('services.chart') }}">Services Report</a>
                        </li>
                    </ul>
                </li> --}}

                <!-- Masters Manager -->
                {{-- <li
                    class="{{ request()->routeIs(['country', 'state', 'promo', 'airport', 'language']) ? 'active' : '' }}">
                    <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="fa fa-database"></i>
                        <span class="hide-menu">Masters Manager</span>
                    </a>
                    <ul aria-expanded="false" class="collapse">
                        <li class="{{ request()->routeIs('employmentType') ? 'active' : '' }}">
                            <a href="{{ route('employmentType') }}">Employment Type</a>
                        </li>
                        <li class="{{ request()->routeIs('category') ? 'active' : '' }}">
                            <a href="{{ route('category') }}">Category</a>
                        </li>
                        <li class="{{ request()->routeIs('serviceCategory') ? 'active' : '' }}">
                            <a href="{{ route('serviceCategory') }}">Service Category</a>
                        </li>
                        <li class="{{ request()->routeIs('skill') ? 'active' : '' }}">
                            <a href="{{ route('skill') }}">Skill</a>
                        </li>
                        <li class="{{ request()->routeIs('industry') ? 'active' : '' }}">
                            <a href="{{ route('industry') }}">Industry</a>
                        </li>
                    </ul>
                </li> --}}
                {{-- @endcanany --}}
                @canany(['CMS Pages-list', 'Email Template-list', 'Testimonial-list', 'Faq-list'])

                    <!-- Content Manager -->
                    <li class="{{ request()->routeIs(['cms_pages', 'email_templates']) ? 'active' : '' }}">
                        <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                            <i class="fa fa-laptop"></i>
                            <span class="hide-menu">Content Manager</span>
                        </a>
                        <ul aria-expanded="false" class="collapse">



                            @can('CMS Pages-list')
                                <li class="{{ request()->routeIs('content') ? 'active' : '' }}">
                                    <a href="{{ route('content') }}">CMS Pages</a>
                                </li>
                            @endcan
                            {{-- @can('CMS Pages-list') --}}
                                <li class="{{ request()->routeIs('sitePage') ? 'active' : '' }}">
                                    <a href="{{ route('sitePage') }}">Site Page</a>
                                </li>
                            {{-- @endcan --}}
                            @can('Blog-list')
                                <li class="{{ request()->routeIs('blog') ? 'active' : '' }}">
                                    <a href="{{ route('blog') }}">Blogs</a>
                                </li>
                            @endcan
                            @can('Email Template-list')
                                <li class="{{ request()->routeIs('email') ? 'active' : '' }}">
                                    <a href="{{ route('email') }}">Email Templates</a>
                                </li>
                            @endcan
                            <li class="{{ request()->routeIs('termsCondition') ? 'active' : '' }}">
                                    <a href="{{ route('termsCondition') }}">Terms & Conditions</a>
                                </li>

                            <li class="{{ Request::is('admin/thankyou/template*') ? 'active' : '' }}">
                                <a href="{{ route('admin.setting.thankyouTemplate') }}">Custom Template Manager</a>
                            </li>

                            <li class="{{ Request::is('admin/textMessage/template*') ? 'active' : '' }}">
                                <a href="{{ route('textMessage') }}">Custom Message Manager</a>
                            </li>
                          
                                <li class="{{ request()->routeIs('faq') ? 'active' : '' }}">
                                    <a href="{{ route('faq') }}">FAQs</a>
                                </li>

                         
                        </ul>
                    </li>
                @endcanany
                @canany(['Inquiries-list', 'Newsletters Subscriptions-list'])

                    <!-- Help & Support -->
                    <li class="">
                        <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                            <i class=" fas fa-hands-helping"></i>
                            <span class="hide-menu">Help & Support</span>
                        </a>
                        <ul aria-expanded="false" class="collapse">
                            @can('Inquiries-list')
                                <li class="">
                                    <a href="{{ route('inquiries-index') }}">Inquiries</a>
                                </li>
                            @endcan

{{-- @can('dealerInquiries-list') --}}
                                <li class="">
                                    <a href="{{ route('dealer.inquiries.index') }}">Dealer Inquiries</a>
                                </li>
                            {{-- @endcan --}}                         
                        </ul>


                    </li>
                @endcanany


             
                @canany(['General Settings-list', 'Logo/Fav Setting-create', 'SMTP-create'])
                    <!-- Settings -->
                    <li class="{{ Request::is('admin/settings*') ? 'active' : '' }}">
                        <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                            <i class="fa fa-cogs"></i>
                            <span class="hide-menu">Settings</span>
                        </a>
                        <ul aria-expanded="false" class="collapse">
                                
                            @can('General Settings-list')
                                <li class="{{ Request::is('admin/settings/general*') ? 'active' : '' }}">
                                    <a href="{{ route('admin.setting.general') }}">General Settings</a>
                                </li>
                            @endcan
                            @can('Logo/Fav Setting-create')
                                <li class="{{ Request::is('admin/logos*') ? 'active' : '' }}">
                                    <a href="{{ route('admin.settingtheme') }}">Logo/Fav Setting</a>
                                </li>
                            @endcan
                            @can('SMTP-create')
                                <li class="{{ Request::is('admin/settings/smtp*') ? 'active' : '' }}">
                                    <a href="{{ route('admin.setting.smtp') }}">SMTP</a>
                                </li>
                            @endcan
                        </ul>
                    </li>

                @endcanany

                <li class="">
                    <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="fa fa-users"></i>
                        <span class="hide-menu">Master Manager</span>
                    </a>
                    <ul aria-expanded="false" class="collapse">
                        <li class="">
                            @can('Member-list')
                                <a href="{{ route('makes') }}">Make</a>
                            @endcan
                        </li>

                       

                    </ul>
                </li>
                <!-- Logout -->
                <li>
                    <a class="waves-effect waves-dark" href="{{ route('logout') }}">
                        <i class="fa fa-sign-out-alt"></i>
                        <span class="hide-menu">Logout</span>
                    </a>
                </li>
                {{-- <li> --}}
                    
                    {{-- </li> --}}
                </ul>
            </nav>
<span style="margin:20px">
                © Copyright by CarBaBa
            </span>
        <!-- End Sidebar navigation -->
    </div>
            
    <!-- End Sidebar scroll-->
</aside>
<!-- ============================================================== -->
<!-- End Left Sidebar - style you can find in sidebar.scss  -->
<!-- ============================================================== -->

<!-- ============================================================== -->
<!-- Page wrapper  -->
<!-- ============================================================== -->
<div class="page-wrapper">
