<!-- 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()->cust_name),1,' ')); ?>

				</span>
				</div>
				<div class="info">
    				<a data-toggle="collapse" href="#collapseExample" aria-expanded="true">
						<span>
						<?php echo e(ucfirst(Auth::user()->userShopCustomer['Name'])); ?>

						
							<span class="user-level">User [<?php echo e(ucfirst(Auth::user()->userShopUser['fname'])); ?>]</span>
							<span class="caret"></span>
						</span>
					</a>
					<div class="clearfix"></div>

					<div class="collapse in" id="collapseExample">
						<ul class="nav">
							<li>
								<a href="<?php echo e(route('profile.customerprofile',Auth::user()->shop_id)); ?>">
								<span class="link-collapse">My Profile</span>
								</a>
							</li>

							<li>
								<a href="<?php echo e(route('profile.customerprofile',Auth::user()->shop_id)); ?>">	
								<span class="link-collapse">Edit Profile</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-warning">
			    <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>
				<li class="nav-item <?php echo e((request()->is('customer')) ? 'active' : ''); ?>">
					<a href="<?php echo e(route('data.user-dashboard')); ?>" class="collapsed" aria-expanded="false">
						<i class="fas fa-tachometer-alt"></i>
						<p>Dashboard</p>
					</a>
				</li>
			
				<li class="nav-item <?php echo e((request()->is('datagroups*')) ? 'active' : ''); ?>">
					<a href="<?php echo e(route('data.groups')); ?>" class="collapsed" aria-expanded="false">
						<i class="fas fa-user-friends"></i>
						<p>Group</p>
					</a>
				</li>
				<li class="nav-item <?php echo e((request()->is('datacontacts*')) ? 'active' : ''); ?>">
					<a href="<?php echo e(route('data.contacts')); ?>" class="collapsed" aria-expanded="false">
						<i class="fas fa-users"></i>
						<p>Contacts</p>
					</a>
				</li>
				
				<li class="nav-item <?php echo e((request()->is('tailmessages*')) ? 'active' : ''); ?>">
					<a href="<?php echo e(route('data.tailmessages')); ?>" class="collapsed" aria-expanded="false">
						<i class="fas fa-user-friends"></i>
						<p>Tail Message</p>
					</a>
				</li>



				<li class="nav-item <?php echo e((request()->is('message*')) ? 'active' : ''); ?>">
			
			

							<li class="nav-item <?php echo e((request()->is('message*')) ? 'active' : ''); ?>">
					<a data-toggle="collapse" href="#topupbundles">
						<i class="fa fa-table"></i>
						<p>Topup Bundles</p>
						<span class="caret"></span>
					</a>
							<div class="collapse" id="topupbundles">
							<ul class="nav nav-collapse">
							<li>
								<a href="<?php echo e(route('data.topup.groupbundles')); ?>">
									<span class="sub-item">Top-up Group Contacts</span>
								</a>
							</li>
							<li>
								<a href="<?php echo e(route('data.topup.contactbundles')); ?>">
									<span class="sub-item">Select Contacts</span>
								</a>
							</li>
								
			
						</ul>
						</div>	</li>



				<li class="nav-item <?php echo e((request()->is('topups*')) ? 'active' : ''); ?>">
					<a href="<?php echo e(route('bundlestransactions')); ?>" class="collapsed" aria-expanded="false">
						<i class="fas fa-user-friends"></i>
						<span class="sub-item">Top Ups Report</span>
					</a>
				</li>

			

		

	

				

				<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($datawallet[0]); ?></a> 
				</li>
					<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:
					
					<?php if($datawallet[0]='15728'): ?>
					 1 TB 
					<?php elseif($datawallet[0]<'157286'): ?>
					 GB.  $datawallet[0]/1000 
				<?php endif; ?>     </a> 
				</li>


			</ul>
		</div>
	</div>
</div>
<!-- End Sidebar -->
<?php /**PATH C:\xamppkkkkkkkkkkkkkkkkkkk\htdocs\Accounts\resources\views/bundleviews/partials/user-side.blade.php ENDPATH**/ ?>