One Hat Cyber Team
Your IP :
216.73.216.93
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
www
/
storage
/
framework
/
views
/
View File Name :
4f533137b8e79a9d5f3e042894dad4afb13bc456.php
<?php $selLang = \App\Models\User\Language::where([['code', request()->input('language')], ['user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id]])->first(); $userDefaultLang = \App\Models\User\Language::where([['user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id], ['is_default', 1]])->first(); $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id)->get(); ?> <?php if(!empty($selLang) && $selLang->rtl == 1): ?> <?php $__env->startSection('styles'); ?> <style> form:not(.modal-form) input, form:not(.modal-form) textarea, form:not(.modal-form) select, select[name='userLanguage'] { direction: rtl; } form:not(.modal-form) .note-editor.note-frame .note-editing-area .note-editable { direction: rtl; text-align: right; } </style> <?php $__env->stopSection(); ?> <?php endif; ?> <?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e(__('Offline Gateways')); ?></h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('user-dashboard')); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Payment Gateways')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Offline Gateways')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-6"> <div class="card-title d-inline-block"><?php echo e(__('Offline Gateways')); ?></div> </div> <div class="col-lg-6 mt-2 mt-lg-0"> <a href="#" class="btn btn-primary float-lg-right float-left btn-sm" data-toggle="modal" data-target="#createModal"><i class="fas fa-plus"></i> <?php echo e(__('Add Gateway')); ?></a> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($ogateways) == 0): ?> <h3 class="text-center"><?php echo e(__('NO OFFLINE PAYMENT GATEWAY FOUND')); ?></h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3" id="basic-datatables"> <thead> <tr> <th scope="col"><?php echo e(__('Name')); ?></th> <?php if($shopsettings->catalog_mode == 0): ?> <th scope="col">Status</th> <?php endif; ?> <th scope="col"><?php echo e(__('Serial Number')); ?></th> <th scope="col"><?php echo e(__('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $ogateways; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $ogateway): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <?php echo e($ogateway->name); ?> </td> <?php if($shopsettings->is_shop == 1 && $shopsettings->catalog_mode == 0): ?> <td> <form id="ItemForm<?php echo e($ogateway->id); ?>" class="d-inline-block" action="<?php echo e(route('user.offline.status')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="ogateway_id" value="<?php echo e($ogateway->id); ?>"> <input type="hidden" name="type" value="item"> <select class="form-control form-control-sm <?php echo e($ogateway->item_checkout_status == 1 ? 'bg-success' : 'bg-danger'); ?>" name="item_checkout_status" onchange="document.getElementById('ItemForm<?php echo e($ogateway->id); ?>').submit();"> <option value="1" <?php echo e($ogateway->item_checkout_status == 1 ? 'selected' : ''); ?>> Active</option> <option value="0" <?php echo e($ogateway->item_checkout_status == 0 ? 'selected' : ''); ?>> Deactive</option> </select> </form> </td> <?php endif; ?> <td><?php echo e($ogateway->serial_number); ?></td> <td> <a class="btn btn-secondary btn-sm editbtn" href="#editModal" data-toggle="modal" data-ogateway_id="<?php echo e($ogateway->id); ?>" data-name="<?php echo e($ogateway->name); ?>" data-short_description="<?php echo e($ogateway->short_description); ?>" data-instructions="<?php echo e(replaceBaseUrl($ogateway->instructions)); ?>" data-is_receipt="<?php echo e($ogateway->is_receipt); ?>" data-serial_number="<?php echo e($ogateway->serial_number); ?>"> <span class="btn-label"> <i class="fas fa-edit"></i> </span> <?php echo e(__('Edit')); ?> </a> <form class="deleteform d-inline-block" action="<?php echo e(route('user.offline.gateway.delete')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="ogateway_id" value="<?php echo e($ogateway->id); ?>"> <button type="submit" class="btn btn-danger btn-sm deletebtn"> <span class="btn-label"> <i class="fas fa-trash"></i> </span> <?php echo e(__('Delete')); ?> </button> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> <!-- Create Offline Gateway Modal --> <?php if ($__env->exists('user.gateways.offline.create')) echo $__env->make('user.gateways.offline.create', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <!-- Edit Package Modal --> <?php if ($__env->exists('user.gateways.offline.edit')) echo $__env->make('user.gateways.offline.edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/business/public_html/resources/views/user/gateways/offline/index.blade.php ENDPATH**/ ?>