⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
storage
/
framework
/
views
/
View File Name :
eed6ab735920c03522d471a3ee563c85.php
<?php $__env->startPush('script-page'); ?> <?php $__env->stopPush(); ?> <?php $__env->startSection('page-title'); ?> <?php echo e(__('Support')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('title'); ?> <div class="d-inline-block"> <h5 class="h4 d-inline-block font-weight-400 mb-0 "><?php echo e(__('Support')); ?></h5> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('breadcrumb'); ?> <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>"><?php echo e(__('Dashboard')); ?></a></li> <li class="breadcrumb-item active" aria-current="page"><?php echo e(__('Support')); ?></li> <?php $__env->stopSection(); ?> <?php $__env->startSection('action-btn'); ?> <div class="float-end"> <a href="<?php echo e(route('support.index')); ?>" class="btn btn-sm btn-primary" data-bs-toggle="tooltip" title="<?php echo e(__('List View')); ?>"> <i class="ti ti-list"></i> </a> <a href="#" data-size="lg" data-url="<?php echo e(route('support.create')); ?>" data-ajax-popup="true" data-bs-toggle="tooltip" title="<?php echo e(__('Create')); ?>" data-title="<?php echo e(__('Create Support')); ?>" class="btn btn-sm btn-primary"> <i class="ti ti-plus"></i> </a> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('filter'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <?php $__currentLoopData = $supports; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $support): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-md-3"> <div class="card card-fluid"> <div class="card-header"> <div class="row align-items-center"> <div class="col-auto"> <a href="#" class="avatar rounded-circle"> <img alt="" class="" <?php if(!empty($support->createdBy) && !empty($support->createdBy->avatar)): ?> src="<?php echo e(asset(Storage::url('uploads/avatar')).'/'.$support->createdBy->avatar); ?>" <?php else: ?> src="<?php echo e(asset(Storage::url('uploads/avatar')).'/avatar.png'); ?>" <?php endif; ?>> <?php if($support->replyUnread()>0): ?> <span class="avatar-child avatar-badge bg-success"></span> <?php endif; ?> </a> </div> <div class="col"> <a href="#!" class="d-block h6 mb-0"><?php echo e(!empty($support->createdBy)?$support->createdBy->name:''); ?></a> <small class="d-block text-muted"><?php echo e($support->subject); ?></small> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col text-center"> <span class="h6 mb-0"><?php echo e($support->ticket_code); ?></span> <span class="d-block text-sm"><?php echo e(__('Code')); ?></span> </div> <div class="col text-center"> <span class="h6 mb-0"> <?php if($support->priority == 0): ?> <span class="text-capitalize badge bg-primary rounded-pill badge-sm"><?php echo e(__(\App\Models\Support::$priority[$support->priority])); ?></span> <?php elseif($support->priority == 1): ?> <span class="text-capitalize badge badge-info rounded-pill badge-sm"><?php echo e(__(\App\Models\Support::$priority[$support->priority])); ?></span> <?php elseif($support->priority == 2): ?> <span class="text-capitalize badge badge-warning rounded-pill badge-sm"><?php echo e(__(\App\Models\Support::$priority[$support->priority])); ?></span> <?php elseif($support->priority == 3): ?> <span class="text-capitalize badge badge-danger rounded-pill badge-sm"><?php echo e(__(\App\Models\Support::$priority[$support->priority])); ?></span> <?php endif; ?> </span> <span class="d-block text-sm"><?php echo e(__('Priority')); ?></span> </div> <div class="col text-center"> <span class="h6 mb-0"> <?php if(!empty($support->attachment)): ?> <a href="<?php echo e(asset(Storage::url('uploads/supports')).'/'.$support->attachment); ?>" download="" class="btn btn-sm btn-secondary btn-icon rounded-pill" target="_blank"> <span class="btn-inner--icon"><i class="ti ti-download"></i></span> </a> <?php else: ?> - <?php endif; ?> </span> </div> </div> </div> <div class="card-footer"> <div class="row align-items-center"> <div class="col-6 text-start"> <span data-toggle="tooltip" data-title="<?php echo e(__('Created Date')); ?>"><?php echo e(\Auth::user()->dateFormat($support->created_at)); ?></span> </div> <div class="col-6 d-flex float-end"> <div class="action-btn bg-warning me-2"> <a href="<?php echo e(route('support.reply',\Crypt::encrypt($support->id))); ?>" data-title="<?php echo e(__('Support Reply')); ?>" class="mx-3 btn btn-sm align-items-center" data-bs-toggle="tooltip" title="<?php echo e(__('Reply')); ?>" data-original-title="<?php echo e(__('Reply')); ?>"> <i class="ti ti-corner-up-left text-white"></i> </a> </div> <?php if(\Auth::user()->id==$support->ticket_created): ?> <div class="action-btn bg-primary me-2"> <a href="#" data-size="lg" data-url="<?php echo e(route('support.edit',$support->id)); ?>" data-ajax-popup="true" data-title="<?php echo e(__('Edit Support')); ?>" class="mx-3 btn btn-sm align-items-center" data-bs-toggle="tooltip" title="<?php echo e(__('Edit')); ?>" data-original-title="<?php echo e(__('Edit')); ?>"> <i class="ti ti-edit text-white"></i> </a> </div> <div class="action-btn bg-danger me-2"> <?php echo Form::open(['method' => 'DELETE', 'route' => ['support.destroy', $support->id],'id'=>'delete-form-'.$support->id]); ?> <a href="#!" class="mx-3 btn btn-sm align-items-center bs-pass-para" data-bs-toggle="tooltip" title="<?php echo e(__('Delete')); ?>" data-original-title="<?php echo e(__('Delete')); ?>" data-confirm="Are You Sure?|This action can not be undone. Do you want to continue?" data-confirm-yes="document.getElementById('delete-form-<?php echo e($support->id); ?>').submit();"> <i class="ti ti-trash text-white"></i> </a> <?php echo Form::close(); ?> </div> <?php endif; ?> </div> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/crm/resources/views/support/grid.blade.php ENDPATH**/ ?>