%PDF- %PDF-
Direktori : /home/silvzytp/calling_code/storage/framework/views/ |
Current File : //home/silvzytp/calling_code/storage/framework/views/87ee330096962ab912fa186918806db1d5ceaff0.php |
<!-- START: Header--> <div id="header-fix" class="header fixed-top"> <div class="site-width"> <nav class="navbar navbar-expand-lg p-0"> <div class="navbar-header h4 mb-0 align-self-center logo-bar text-left"> <div class="horizontal-logo text-left"> <img src="<?php echo e(asset('uploads/images/logo.png')); ?>" /> </div> </div> <div class="navbar-header h4 mb-0 text-center h-100 collapse-menu-bar"> <a href="javascript:" class="sidebarCollapse" id="collapse"><i class="icon-menu"></i></a> </div> <div class="navbar-right ml-auto h-100"> <ul class="ml-auto p-0 m-0 list-unstyled d-flex top-icon h-100"> <li class="d-none d-md-block"> <button type="button" class="btn btn-sm btn-info support-btn text-light">Support</button> </li> <li class="d-none d-md-block"> <a href="tel:800555555" class="btn btn-sm btn-primary text-light"><strong>HOTLINE:</strong> 800 555 555</a> </li> <?php if (\Illuminate\Support\Facades\Blade::check('permission', 'app.callings.reject')): ?> <li class="d-none d-md-block"> <a href="<?php echo e(route(routeName().'.callings.reject')); ?>" class="btn btn-sm btn-danger text-light">Recycle Data Pool</a> </li> <?php endif; ?> <?php if(Auth::user()->role->slug == 'agent'): ?> <li class="dropdown align-self-center d-inline-block"> <a href="#" class="nav-link" data-toggle="dropdown" aria-expanded="false"> <i class="icon-bell h4"></i> <span class="badge badge-default"> <span class="ring"> </span><span class="ring-point"> </span></span> </a> <ul class="dropdown-menu dropdown-menu-right border py-0"> <?php $__empty_1 = true; $__currentLoopData = Auth::user()->unreadNotifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <?php if(isset($notification->data['type']) && $notification->data['type'] == 'reminder'): ?> <li> <a class="dropdown-item px-2 py-2 border border-top-0 border-left-0 border-right-0" href="#"> <div class="media"> <div class="media-body"> <p class="mb-0 text-success">Reminder Call - <?php echo e($notification->data['serial_no']); ?></p> <?php echo e(date('d-m-Y H:i', strtotime($notification->data['send_date']))); ?> </div> </div> </a> </li> <?php else: ?> <li> <a class="dropdown-item px-2 py-2 border border-top-0 border-left-0 border-right-0" href="#"> <div class="media"> <div class="media-body"> <p class="mb-0 text-success"><?php echo e($notification->data['message']); ?> - <?php echo e($notification->data['assign_count']); ?></p> <?php echo e(date('d-m-Y H:i', strtotime($notification->data['send_date']))); ?> </div> </div> </a> </li> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <li> <div class="dropdown-item px-2 py-2 border border-top-0 border-left-0 border-right-0"> <div class="media"> <div class="media-body text-danger"> No Notification Found! </div> </div> </div> </li> <?php endif; ?> <li> <a class="dropdown-item text-center py-2" href="<?php echo e(route('app.notification.read-all')); ?>"> Read All Message</a> </li> </ul> </li> <?php endif; ?> <li class="dropdown user-profile align-self-center d-inline-block"> <a href="#" class="nav-link py-0" data-toggle="dropdown" aria-expanded="false"> <div class="media"> <img src="<?php echo e(file_exists(Auth::user()->avatar) ? asset(Auth::user()->avatar) : asset('uploads/images/user.png')); ?>" alt="<?php echo e(Auth::user()->name); ?>" class="d-flex img-fluid rounded-circle" width="29"> </div> </a> <div class="dropdown-menu border dropdown-menu-right p-0"> <?php if (\Illuminate\Support\Facades\Blade::check('super_admin', 'super-admin')): ?> <a class="dropdown-item px-2 align-self-center d-flex" href="<?php echo e(route('super.profile.index')); ?>"><span class="icon-user mr-2 h6 mb-0"></span> Profile</a> <div class="dropdown-divider"></div> <a class="dropdown-item px-2 align-self-center d-flex" href="<?php echo e(route('super.password.index')); ?>"><span class="icon-lock mr-2 h6 mb-0"></span>Password Change</a> <div class="dropdown-divider"></div> <?php else: ?> <?php if (\Illuminate\Support\Facades\Blade::check('permission', 'app.profile.index')): ?> <a class="dropdown-item px-2 align-self-center d-flex" href="<?php echo e(route('app.profile.index')); ?>"><span class="icon-user mr-2 h6 mb-0"></span> Profile</a> <?php endif; ?> <?php if (\Illuminate\Support\Facades\Blade::check('permission', 'app.password.index')): ?> <a class="dropdown-item px-2 align-self-center d-flex" href="<?php echo e(route('app.password.index')); ?>"><span class="icon-lock mr-2 h6 mb-0"></span>Password Change</a> <?php endif; ?> <?php endif; ?> <a href="<?php echo e(route('logout')); ?>" class="dropdown-item px-2 text-danger align-self-center d-flex"> <span class="icon-logout mr-2 h6 mb-0"></span>Sign Out</a> </div> </li> </ul> </div> </nav> </div> </div> <!-- END: Header--> <?php /**PATH /home/silvzytp/calling_code/resources/views/layouts/include/header.blade.php ENDPATH**/ ?>