<div class="main-menu menu-fixed menu-light menu-accordion    menu-shadow " data-scroll-to-active="true">
    <div class="main-menu-content">
      <ul class="navigation navigation-main" id="main-menu-navigation" data-menu="menu-navigation">
        <li class=" nav-item"><a href="<?php echo e(route('dashboard')); ?>"><i class="la la-home"></i><span class="menu-title">Dashboard</span></a>
        </li>
        <?php if(Auth::user()->role==1 || Auth::user()->role==3 ||  Auth::user()->role==4 ||  Auth::user()->role==5): ?>
            <div class="dropdown-divider"></div>
            <li class=" nav-item"><a href="<?php echo e(route('member.create')); ?>"><i class="la la-user-plus"></i><span class="menu-title">Add </span></a>
            </li>
        <?php endif; ?>
        <?php if(Auth::user()->role==1 || Auth::user()->role==4): ?>
            <div class="dropdown-divider"></div>
            <li class=" nav-item"><a href="<?php echo e(route('members.pending')); ?>"><i class="la la-warning"></i><span class="menu-title">Pending </span></a>
            </li>
        <?php endif; ?>
        <?php if(Auth::user()->role==1 || Auth::user()->role==5): ?>
            <div class="dropdown-divider"></div>
            <li class=" nav-item"><a href="<?php echo e(route('members.verified')); ?>"><i class="la la-warning"></i><span class="menu-title">Verified </span></a>
            </li>
        <?php endif; ?>
        <?php if(Auth::user()->role==1): ?>
            <div class="dropdown-divider"></div>
            <li class=" nav-item"><a href="<?php echo e(route('members.active')); ?>"><i class="la la-check-circle"></i><span class="menu-title">Population </span></a>
            </li>
        <?php endif; ?>
          <?php if(Auth::user()->role==1): ?>
            <div class="dropdown-divider"></div>
            <li class=" nav-item"><a href="<?php echo e(route('members.live')); ?>"><i class="la la-check-circle"></i><span class="menu-title">Voter List</span></a>
            </li>
        <?php endif; ?>
        <?php if(Auth::user()->role==1 || Auth::user()->role==2 || Auth::user()->role==3 || Auth::user()->role==4 || Auth::user()->role==5): ?>
            <div class="dropdown-divider"></div>
            <li class=" nav-item"><a href="<?php echo e(route('member.find')); ?>"><i class="la la-search"></i><span class="menu-title">Find </span></a>
            </li>
        <?php endif; ?>
         <?php if(Auth::user()->role == 1): ?>
            <div class="dropdown-divider"></div>

            <li class="nav-item"><a href="#"><span class="menu-title" data-i18n="nav.dash.main"><i
                class="la la-check-square-o"></i>Reports</span></a>
                <ul class="menu-content">
                    <?php if(Auth::user()->role == 1): ?>

                        <div class="dropdown-divider"></div>

                        <li class=" nav-item"><a href="<?php echo e(route('age_report')); ?>"><i
                            class="la la-check-square-o"></i><span class="menu-title">Age Wise Report</span></a>
                        </li>
                    <?php endif; ?>
                     <?php if(Auth::user()->role == 1): ?>

                        <div class="dropdown-divider"></div>

                        <li class=" nav-item"><a href="<?php echo e(route('qualification_report')); ?>"><i
                            class="la la-check-square-o"></i><span class="menu-title">Qualification Report</span></a>
                        </li>
                    <?php endif; ?>
                     <?php if(Auth::user()->role == 1): ?>

                        <div class="dropdown-divider"></div>

                        <li class=" nav-item"><a href="<?php echo e(route('gender_report')); ?>"><i
                            class="la la-check-square-o"></i><span class="menu-title">Gender Wise Report</span></a>
                        </li>
                    <?php endif; ?>
                     <?php if(Auth::user()->role == 1): ?>

                        <div class="dropdown-divider"></div>

                        <li class=" nav-item"><a href="<?php echo e(route('maritial_report')); ?>"><i
                            class="la la-check-square-o"></i><span class="menu-title">Maritial Status</span></a>
                        </li>
                    <?php endif; ?>
                     <?php if(Auth::user()->role == 1): ?>

                        <div class="dropdown-divider"></div>

                        <li class=" nav-item"><a href="<?php echo e(route('income_report')); ?>"><i
                            class="la la-check-square-o"></i><span class="menu-title">Income Report</span></a>
                        </li>
                    <?php endif; ?>
                     <?php if(Auth::user()->role == 1): ?>

                        <div class="dropdown-divider"></div>

                        <li class=" nav-item"><a href="<?php echo e(route('profession_report')); ?>"><i
                            class="la la-check-square-o"></i><span class="menu-title">Profession Report</span></a>
                        </li>
                    <?php endif; ?>

                     <?php if(Auth::user()->role == 1): ?>

                        <div class="dropdown-divider"></div>

                        <li class=" nav-item"><a href="<?php echo e(route('decease_report')); ?>"><i
                            class="la la-check-square-o"></i><span class="menu-title">Deceased Report</span></a>
                        </li>
                    <?php endif; ?>
                     <?php if(Auth::user()->role == 1): ?>

                        <div class="dropdown-divider"></div>

                        <li class=" nav-item"><a href="<?php echo e(route('fee_report')); ?>"><i
                            class="la la-check-square-o"></i><span class="menu-title">Fee Report</span></a>
                        </li>
                    <?php endif; ?>
                </ul>
            </li>
        <?php endif; ?>
        <?php if(Auth::user()->role==1): ?>
            <div class="dropdown-divider"></div>
            <li class=" nav-item"><a href="<?php echo e(route('user.add_new')); ?>"><i class="la la-user-plus"></i><span class="menu-title">Create User </span></a>
            </li>
        <?php endif; ?>

      </ul>
    </div>
  </div>
<?php /**PATH /home2/aimpgorg/public_html/datasys/resources/views/layout/sidebar.blade.php ENDPATH**/ ?>