<?php if(request()->is('admin/*') || request()->is('reports') || request()->is('reports/*/edit') || request()->is('dashboard')): ?>
    <a href="#" class="btn d-flex align-items-center btn-sm text-primary" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php echo $__env->make('icons.more-horiz', ['class' => 'fill-current width-4 height-4'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>&#8203;</a>
<?php endif; ?>

<div class="dropdown-menu <?php echo e((__('lang_dir') == 'rtl' ? 'dropdown-menu' : 'dropdown-menu-right')); ?> border-0 shadow z-1001">
    <?php if(request()->is('admin/*') || Auth::check() && Auth::user()->role == 1 || Auth::check() && $report->user_id == Auth::user()->id): ?>
        <a class="dropdown-item d-flex align-items-center" href="<?php echo e(request()->is('admin/*') || (Auth::user()->role == 1 && $report->user_id != Auth::user()->id) ? route('admin.reports.edit', $report->id) : route('reports.edit', $report->id)); ?>"><?php echo $__env->make('icons.edit', ['class' => 'text-muted fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-3' : 'mr-3')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo e(__('Edit')); ?></a>
    <?php endif; ?>

    <a class="dropdown-item d-flex align-items-center" href="<?php echo e(route('reports.show', ['id' => $report->id])); ?>"><?php echo $__env->make('icons.eye', ['class' => 'text-muted fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-3' : 'mr-3')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo e(__('View')); ?></a>

    <a class="dropdown-item d-flex align-items-center" href="<?php echo e($report->fullUrl); ?>" target="_blank" rel="nofollow noreferrer noopener"><?php echo $__env->make('icons.open-in-new', ['class' => 'text-muted fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-3' : 'mr-3')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo e(__('Open')); ?></a>

    <?php if(request()->is('admin/*') || Auth::check() && Auth::user()->role == 1 || Auth::check() && $report->user_id == Auth::user()->id): ?>
        <div class="dropdown-divider"></div>

        <a class="dropdown-item text-danger d-flex align-items-center" href="#" data-toggle="modal" data-target="#modal" data-action="<?php echo e(request()->is('admin/*') || (Auth::user()->role == 1 && $report->user_id != Auth::user()->id) ? route('admin.reports.destroy', $report->id) : route('reports.destroy', ['id' => $report->id, 'project' => request()->input('project')])); ?>" data-button="btn btn-danger" data-title="<?php echo e(__('Delete')); ?>" data-text="<?php echo e(__('Are you sure you want to delete :name?', ['name' => $report->url])); ?>"><?php echo $__env->make('icons.delete', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-3' : 'mr-3')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo e(__('Delete')); ?></a>
    <?php endif; ?>
</div><?php /**PATH /home/repixa5/dashboard.rankqwik.com/resources/views/reports/partials/menu.blade.php ENDPATH**/ ?>