<!-- Sidebar -->
<div class="sidebar sidebar-style-1">			
	<div class="sidebar-wrapper scrollbar scrollbar-inner">
		<div class="sidebar-content">
			<div class="user">
				<div class="avatar-sm float-left mr-2">
					<span class="avatar-title rounded-circle bg-dark">
								<?php echo e(Str::limit(ucfirst(Auth::user()->name),1,' ')); ?>

					</span>
				</div>
				<div class="info">
					<a data-toggle="collapse" href="#collapseExample" aria-expanded="true">
						<span>
						<?php echo e(ucfirst(Auth::user()->name)); ?> 
							<span class="user-level">Organization</span>
							<span class="caret"></span>
						<span class="user-level">Customer</span>
							<span class="caret"></span>
						</span>
					</a>
					<div class="clearfix"></div>

					<div class="collapse in" id="collapseExample">
						<ul class="nav">
						<li>
							<a href="#">
							<span class="link-collapse">My Profile</span>   
							</a>
						</li>
						
						<li>
							<a href="<?php echo e(route('mobisurvey.survey-request')); ?>">
							<span class="link-collapse">Request Survey</span>   
							</a>
						</li>

						<li>		
							<a href="<?php echo e(route('logout')); ?>">
								<span class="link-collapse">Logout</span>
							</a>
						</li>					
					</ul>
				</div>
			</div>
		</div>
			<ul class="nav nav-danger">
			    <li class="nav-item <?php echo e((request()->is('customer')) ? 'active' : ''); ?>">
					<a href="<?php echo e(url('/home')); ?>" class="collapsed" aria-expanded="false">
						<i class="fas fa-home"></i>
						<p>Home</p>
					</a>
				</li>
				<!-- survey -->
				<?php if(Auth::user()->userOrg): ?>
					<?php if(Auth::user()->userOrg->orgSurvey['status'] == 1): ?>
					
							<li  class="nav-item">
								<a href="<?php echo e(route('mobisurvey.surveys')); ?>">
								    <i class="fas fa-hands-helping"></i>
									<p>Survey</p>
								</a>
							</li>
							
							<li  class="nav-item">
								<a href="<?php echo e(route('mobisurvey.my-surveys')); ?>">
								    <i class="fas fa-hands-helping"></i>
									<p>Reports</p>
								</a>
							</li>
						
					<?php endif; ?>
				<?php endif; ?>
				<!-- /survey -->
				
				
				<li class="mx-4 mt-2 text-white">
					<a href="#" class="btn btn-warning btn-block text-white"><span class="btn-label mr-2"></span>Bal: KES. <?php echo e(round($wallet[0],2)); ?> </a> 
				</li>
			</ul>
		</div>
	</div>
</div>
<!-- End Sidebar --><?php /**PATH /home/dashmobisky/public_html/Accounts/resources/views/fcviews/mobisurvey/partials/org-side.blade.php ENDPATH**/ ?>