<!-- 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()->userShopCustomer['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.userprofile', Auth::user()->shop_id)); ?>">
									<span class="link-collapse">My 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('user')) ? 'active' : ''); ?>">
					<a href="<?php echo e(route('user-dashboard')); ?>" class="collapsed">
						<i class="fas fa-tachometer-alt"></i>
						<p>Dashboard</p>
					</a>
				</li>
				<li class="nav-item <?php echo e((request()->is('groups*')) ? 'active' : ''); ?>">
					<a href="<?php echo e(route('at.groups')); ?>" class="collapsed" aria-expanded="false">
						<i class="fas fa-user-friends"></i>
						<p>Groups</p>
					</a>
				</li>
				<li class="nav-item <?php echo e((request()->is('contacts*')) ? 'active' : ''); ?>">
					<a href="<?php echo e(route('at.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('message*')) ? 'active' : ''); ?>">
					<a data-toggle="collapse" href="#topup">
						<i class="fa fa-table"></i>
						<p>Topup</p>
						<span class="caret"></span>
					</a>
					<div class="collapse" id="topup">
						<ul class="nav nav-collapse">
							<li>
								<a href="<?php echo e(route('at.topup.group')); ?>">
									<span class="sub-item">Top-up Group Contacts</span>
								</a>
							</li>
							<li>
								<a href="<?php echo e(route('at.topup.contact')); ?>">
									<span class="sub-item">Select Contacts</span>
								</a>
							</li>
							<li>
								<a href="<?php echo e(route('at.topup.myline')); ?>">
									<span class="sub-item">Topup My Line</span>
								</a>
							</li>

												<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('at.topup.groupbundles')); ?>">
									<span class="sub-item">Top-up Group Contacts</span>
								</a>
							</li>
							<li>
								<a href="<?php echo e(route('at.topup.contactbundles')); ?>">
									<span class="sub-item">Select Contacts</span>
								</a>
							</li>
							<li>
								<a href="<?php echo e(route('at.topup.mylinebundles')); ?>">
									<span class="sub-item">Topup My Line</span>
								</a>
							</li>

		<li>
								<a href="<?php echo e(route('at.historybundles')); ?>">
									<span class="sub-item">Data Assignment</span>
								</a>
							</li>
			
						</ul>
					</div>
				</li>
				
				<li class="nav-item <?php echo e((request()->is('transactions*')) || (request()->is('topup*')) ? 'active' : ''); ?>">
					<a data-toggle="collapse" href="#wallet">
						<i class="fas fa-wallet"></i>
						<p>Billing</p>
						<span class="caret"></span>
					</a>
					<div class="collapse" id="wallet">
						<ul class="nav nav-collapse">
							<li>
								<a href="<?php echo e(route('attopup')); ?>">
									<span class="sub-item">Payment Method</span>
								</a>
							</li>
							<li>
								<a href="<?php echo e(route('attransactions')); ?>">
									<span class="sub-item">Top Ups</span>
								</a>
							</li>							
						</ul>
					</div>
				</li>

				<li class="nav-item <?php echo e((request()->is('history*')) ? 'active' : ''); ?>">
					<a data-toggle="collapse" href="#history">
						<i class="fa fa-history"></i>
						<p>History</p>
						<span class="caret"></span>
					</a>
					<div class="collapse" id="history">
						<ul class="nav nav-collapse">
							<li>
								<a href="<?php echo e(route('at.history')); ?>">
									<span class="sub-item">Credit Assignment</span>
								</a>
							</li>
						</ul>
					</div>
				</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($wallet[0]); ?></a> 
				</li>
			</ul>
		</div>
	</div>
</div>
<!-- End Sidebar --><?php /**PATH /home/dashmobisky/public_html/Accounts/resources/views/atviews/partials/user-side.blade.php ENDPATH**/ ?>