%PDF- %PDF-
Direktori : /home/silvzytp/dsr_code/storage/framework/views/ |
Current File : //home/silvzytp/dsr_code/storage/framework/views/23f106db72729f38007b5ec322ed34120e2a4249.php |
<header class="header"> <div class="page-brand"> <a class="link" href="#"> <span class="brand">Management</span> <span class="brand-mini">MG</span> </a> </div> <div class="flexbox flex-1"> <!-- START TOP-LEFT TOOLBAR--> <ul class="nav navbar-toolbar"> <li> <a class="nav-link sidebar-toggler js-sidebar-toggler"><i class="ti-menu"></i></a> </li> </ul> <!-- END TOP-LEFT TOOLBAR--> <!-- START TOP-RIGHT TOOLBAR--> <ul class="nav navbar-toolbar"> <?php if(Auth::user()->role->slug == 'manager'): ?> <li><a href="<?php echo e(route('app.team-member.index')); ?>" class="nav-link"><i class="fa fa-users fa-sm mr-1"></i> Team Member</a></li> <?php endif; ?> <li class="dropdown dropdown-user"> <a class="nav-link dropdown-toggle link" data-toggle="dropdown"> <img src="<?php echo e(file_exists(Auth::user()->avatar) ? asset(Auth::user()->avatar) : asset('uploads/images/user.png')); ?>" /> <span class="d-none d-sm-block">Hi <?php echo e(Auth::user()->name); ?></span><i class="fa fa-angle-down m-l-5"></i></a> <ul class="dropdown-menu dropdown-menu-right"> <?php if (\Illuminate\Support\Facades\Blade::check('super_admin', 'super-admin')): ?> <a class="dropdown-item" href="<?php echo e(route('super.profile.index')); ?>"><i class="fa fa-user"></i>Profile</a> <a class="dropdown-item" href="<?php echo e(route('super.password.index')); ?>"><i class="fa fa-unlock-alt"></i>Password Change</a> <?php else: ?> <?php if (\Illuminate\Support\Facades\Blade::check('permission', 'app.profile.index')): ?> <a class="dropdown-item" href="<?php echo e(route('app.profile.index')); ?>"><i class="fa fa-user"></i>Profile</a> <?php endif; ?> <?php if (\Illuminate\Support\Facades\Blade::check('permission', 'app.password.index')): ?> <a class="dropdown-item" href="<?php echo e(route('app.password.index')); ?>"><i class="fa fa-unlock-alt"></i>Password Change</a> <?php endif; ?> <?php endif; ?> <a class="dropdown-item" href="<?php echo e(route('logout')); ?>"><i class="fa fa-power-off"></i>Logout</a> </ul> </li> </ul> <!-- END TOP-RIGHT TOOLBAR--> </div> </header> <?php /**PATH /home/silvzytp/dsr_code/resources/views/layouts/include/header.blade.php ENDPATH**/ ?>