<?php $request = app('Illuminate\Http\Request'); ?>
<aside class="left-sidebar">
    <!-- Sidebar scroll-->
    <div class="scroll-sidebar">
        <!-- Sidebar navigation-->
        <nav class="sidebar-nav">
            <ul id="sidebarnav">
                <li class="<?php echo e($request->segment(1) == 'home' ? 'active' : ''); ?>">
                    <a class="has-arrow" href="#" aria-expanded="false"><i class="mdi mdi-gauge"></i><span class="hide-menu">Dashboard </span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a href="<?php echo e(url('/')); ?>/home">Main Dashboard</a></li>
                        <li><a href="<?php echo e(url('/')); ?>/businessdashboard">Business Dashboard</a></li>
                    </ul>
                </li>
                <!-- <li>
                    <a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-upload"></i><span class="hide-menu">Upload Bill</span></a>
                    <ul aria-expanded="false" class="collapse">                      
                      <li><a href="<?php echo e(url('/')); ?>/users/billSentReport">Upload EV Bill</a></li>
                      <li><a href="<?php echo e(url('/')); ?>/users/billSentReport/SOLAR">Upload SOLAR Bill</a></li>
                    </ul>
                </li> -->
                <li>
                    <a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-account-multiple"></i><span class="hide-menu">My Team</span></a>
                    <ul aria-expanded="false" class="collapse">
                      <!-- <li><a href="<?php echo e(url('/')); ?>/users/direct">My Direct</a></li>
                      <li><a href="<?php echo e(url('/')); ?>/users/downlines">My Downlines</a></li> -->
                      <!-- <li><a href="<?php echo e(url('/')); ?>/users/levelgeneology">Level Genealogy</a></li> -->
                      <li><a href="<?php echo e(url('/')); ?>/users/geneology">Genealogy</a></li>
                      <li><a href="<?php echo e(url('/')); ?>/users/b-direct">My Direct</a></li>
                      <li><a href="<?php echo e(url('/')); ?>/users/b-downlines">My Downlines</a></li>
                    </ul>
                </li>
                <li>
                    <a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-account-card-details"></i><span class="hide-menu">My Account</span></a>
                    <ul aria-expanded="false" class="collapse">
                      <li><a href="<?php echo e(url('/')); ?>/users/kyc">KYC</a></li>
                      <li><a href="#" onclick="return false;">Print Receipt</a></li>
                    </ul>
                </li>
                <li>
                    <a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-bank"></i><span class="hide-menu">Wallet</span></a>
                    <ul aria-expanded="false" class="collapse">
                      <li><a href="<?php echo e(url('/')); ?>/users/billSentReportOnly">Bill Sent Report</a></li>
                      <li><a href="<?php echo e(url('/')); ?>/incomes/directwallet">Direct Income Wallet</a></li>
                      <li><a href="<?php echo e(url('/')); ?>/incomes/matchingwallet">Matching Income Wallet</a></li>
                      <li><a href="<?php echo e(url('/')); ?>/incomes/bonuswallet">Bonus Income Wallet</a></li>
                      <li><a href="<?php echo e(url('/')); ?>/incomes/rewardwallet">Rewards Income Wallet</a></li>
                      <li><a href="#">Cash Back Wallet</a></li>
                      <?php if(Auth::user()->ev_is_franchise != NULL): ?>
                      <li><a href="<?php echo e(url('/')); ?>/incomes/franchisewallet">Franchise Income Wallet</a></li>
                      <?php endif; ?>
                    </ul>
                </li>
                <li>
                    <a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-bank"></i><span class="hide-menu">Fund Manager</span></a>
                    <ul aria-expanded="false" class="collapse">
                      <li><a href="<?php echo e(url('/')); ?>/incomes/payoutwallet">Payout Request</a></li>
                      <?php if(Auth::user()->ev_is_franchise != NULL): ?>
                      <li><a href="<?php echo e(url('/')); ?>/incomes/payoutwalletfrnchs">Franchise Payout Request</a></li>
                      <?php endif; ?>
<!--                       <li><a href="<?php echo e(url('/')); ?>/incomes/fundtransfer">Fund Transfer</a></li>
                      <li><a href="<?php echo e(url('/')); ?>/incomes/bookingwallet">Holding Wallet</a></li> -->
                    </ul>
                </li>

                <li>
                    <a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-gift"></i><span class="hide-menu">Rewards</span></a>
                    <ul aria-expanded="false" class="collapse">
                      <li><a href="<?php echo e(url('/')); ?>/incomes/rewardwallet">Rewards</a></li>
                    </ul>
                </li>
                <li>
                    <a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-cube"></i><span class="hide-menu">Help & Support</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a href="<?php echo e(url('/')); ?>/users/urequests">Request</a></li>
                        <li><a href="<?php echo e(url('/')); ?>/users/complaints">Complaints/Suggestion</a></li>
                    </ul>
                </li>

                 <?php if(Auth::user()->role_id == 1): ?>
                <li class="">
                    <a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-settings"></i><span class="hide-menu">Admin Tools</span></a>
                    <ul aria-expanded="true" class="collapse in" style="max-height: 500px; overflow-y: scroll;">
                        <li><a href="<?php echo e(url('/')); ?>/admin/dashboards">CRM Dashboards</a></li>
                        <li><a href="<?php echo e(url('/')); ?>/admin/users/cleardb">Clear DB **Do Not Click**</a></li>
                        
                        <li>
                            <a class="has-arrow" href="#" aria-expanded="false">Users</a>
                            <ul aria-expanded="false" class="collapse">
                                <li><a href="<?php echo e(url('/')); ?>/admin/users">All Users</a></li>
                                <li><a href="<?php echo e(route('admin.users.pendingUsers')); ?>">Franchisee</a></li>
                            </ul>
                        </li>
                        <li>
                            <a class="has-arrow" href="#" aria-expanded="false">Dealers</a>
                            <ul aria-expanded="false" class="collapse">
                                <li><a href="<?php echo e(url('/')); ?>/admin/dealers">All Dealers</a></li>
                                <li><a href="<?php echo e(url('/')); ?>/admin/dealers/create">Add Dealers</a></li>
                            </ul>
                        </li>

                        <li>
                            <a class="has-arrow" href="#" aria-expanded="false">Add EV/Solar </a>
                            <ul aria-expanded="false" class="collapse">
                                <li><a href="<?php echo e(url('/')); ?>/admin/addev">Add EV Models</a></li>
                                <li><a href="<?php echo e(url('/')); ?>/admin/addsolar">Add Solar Models</a></li>
                                <li><a href="<?php echo e(url('/')); ?>/admin/addcolor">Manage Color</a></li>
                                <li><a href="<?php echo e(url('/')); ?>/admin/addhsn">Manage HSN</a></li>
                                
                            </ul>
                        </li>
                        <li>
                            <a href="<?php echo e(url('/')); ?>/admin/users/activationRcvd" aria-expanded="false">Bills Received Report</a>
                        </li>
                        <li>
                            <a class="has-arrow" href="#" aria-expanded="false">Payouts</a>
                            <ul aria-expanded="false" class="collapse">
                                <li><a href="<?php echo e(url('/')); ?>/admin/payments/pendingPayouts">Pending Payouts</a></li>
                                <li><a href="<?php echo e(url('/')); ?>/admin/payments/processedPayouts">Processed Payouts</a></li>
                            </ul>
                        </li>
                        <li>
                            <a class="has-arrow" href="#" aria-expanded="false">Franchise Payouts</a>
                            <ul aria-expanded="false" class="collapse">
                                <li><a href="<?php echo e(url('/')); ?>/admin/payments/pendingPayoutsfrnchs">Pending Payouts</a></li>
                                <li><a href="<?php echo e(url('/')); ?>/admin/payments/processedPayoutsfrnchs">Processed Payouts</a></li>
                            </ul>
                        </li>
                        <li>
                            <a class="has-arrow" href="#" aria-expanded="false">Dealer Payouts</a>
                            <ul aria-expanded="false" class="collapse">
                                <li><a href="<?php echo e(url('/')); ?>/admin/payments/pendingPayoutsdealer">Pending Payouts</a></li>
                                <li><a href="<?php echo e(url('/')); ?>/admin/payments/processedPayoutsdealer">Processed Payouts</a></li>
                            </ul>
                        </li>
                        <li>
                            <a href="<?php echo e(url('/')); ?>/admin/users/userMonthlyGSTReport" aria-expanded="false">GST Report</a>
                        </li>
                        <li>
                            <a class="has-arrow" href="#" aria-expanded="false">TDS Report</a>
                            <ul aria-expanded="false" class="collapse">
                                <li><a href="<?php echo e(url('/')); ?>/admin/users/userMonthlyTDSReport">Pending TDS Report</a></li>
                                <li><a href="<?php echo e(url('/')); ?>/admin/users/paidTDSReport">Paid TDS Report</a></li>
                            </ul>
                        </li>
                        <li>
                            <a class="has-arrow" href="#" aria-expanded="false">Message Alerts</a>
                            <ul aria-expanded="false" class="collapse">
                                <li><a href="<?php echo e(url('/')); ?>/admin/users/urequests">Request</a></li>
                                <li><a href="<?php echo e(url('/')); ?>/admin/users/complaints">Complaints/Suggestion</a></li>
                            </ul>
                        </li>
                        <li>
                            <a class="has-arrow" href="#" aria-expanded="false">Gallery</a>
                            <ul aria-expanded="false" class="collapse">
                                <li><a href="<?php echo e(url('/')); ?>/admin/addgallery">Video Gallery</a></li>
                                <li><a href="<?php echo e(url('/')); ?>/admin/addgalleryimg">Image Gallery</a></li>
                            </ul>
                        </li>
                        <li>
                            <a href="<?php echo e(url('/')); ?>/admin/addnews" aria-expanded="false">News</a>
                        </li>
                    </ul>
                </li>
                <?php endif; ?>
    </ul>
</nav>
    </div>
    <!-- End Sidebar scroll-->
</aside>
<?php /**PATH G:\xampp\htdocs\yeselectricv.loc\resources\views/partials/sidebar.blade.php ENDPATH**/ ?>