<!-- 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">
					{{ Str::limit(ucfirst(Auth::user()->cust_name),1,' ')}}
				</span>
				</div>
				<div class="info">
    				<a data-toggle="collapse" href="#collapseExample" aria-expanded="true">
						<span>
						{{ ucfirst(Auth::user()->userShopCustomer['Name']) }}
						
							<span class="user-level">Admin[{{ 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="{{ route('profile.customerprofile',Auth::user()->shop_id)}}">
								<span class="link-collapse">My Profile</span>
								</a>
							</li>

							<li>
								<a href="{{ route('profile.customerprofile',Auth::user()->shop_id)}}">	
								<span class="link-collapse">Edit Profile</span>
								</a>
							</li>
							<li>
								<a href="{{ route('logout')}}">
								<span class="link-collapse">Logout</span>
								</a>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<ul class="nav nav-warning">
			    <li class="nav-item {{ (request()->is('customer')) ? 'active' : '' }}">
					<a href="{{ url('/home')}}" class="collapsed" aria-expanded="false">
						<i class="fas fa-home"></i>
						<p>Home</p>
					</a>
				</li>
				<li class="nav-item {{ (request()->is('customer')) ? 'active' : '' }}">
					<a href="{{ route('customer-dashboard')}}" class="collapsed" aria-expanded="false">
						<i class="fas fa-tachometer-alt"></i>
						<p>Dashboard</p>
					</a>
				</li>
				<li class="nav-item {{ (request()->is('airtimeuser*')) ? 'active' : '' }}">
					<a href="{{ route('airtimeuser.index',Auth::user()->shop_id)}}">
						<i class="fas fa-users"></i>
						<p>Users</p>
					</a>
				</li>
				<li class="nav-item {{ (request()->is('datagroups*')) ? 'active' : '' }}">
					<a href="{{ route('data.groups')}}" class="collapsed" aria-expanded="false">
						<i class="fas fa-user-friends"></i>
						<p>Group</p>
					</a>
				</li>
				<li class="nav-item {{ (request()->is('datacontacts*')) ? 'active' : '' }}">
					<a href="{{ route('data.contacts')}}" class="collapsed" aria-expanded="false">
						<i class="fas fa-users"></i>
						<p>Contactsccc</p>
					</a>
				</li>
				
			</ul>
		</div>
	</div>
</div>
<!-- End Sidebar -->
