⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.94
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
41bb64c76fa2cd4a49ce81ad65c42b82.php
<?php $__env->startPush('scripts'); ?> <?php echo $__env->make('layouts.includes.datatable-js', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo e($dataTable->scripts()); ?> <script> $(document).on('click', '.code', function () { var type = $(this).val(); if (type == 'manual') { $('#manual').removeClass('d-none'); $('#manual').addClass('d-block'); $('#auto').removeClass('d-block'); $('#auto').addClass('d-none'); } else { $('#auto').removeClass('d-none'); $('#auto').addClass('d-block'); $('#manual').removeClass('d-block'); $('#manual').addClass('d-none'); } }); $(document).on('click', '#code-generate', function () { var length = 10; var result = ''; var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; var charactersLength = characters.length; for (var i = 0; i < length; i++) { result += characters.charAt(Math.floor(Math.random() * charactersLength)); } $('#auto-code').val(result); }); </script> <?php $__env->stopPush(); ?> <?php $__env->startSection('page-title'); ?> <?php echo e(__('Manage Coupon')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page-breadcrumb'); ?> <?php echo e(__('Coupon')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page-action'); ?> <div> <?php if (app('laratrust')->hasPermission('coupon create')) : ?> <a href="#" data-size="lg" data-url="<?php echo e(route('coupons.create')); ?>" data-ajax-popup="true" data-bs-toggle="tooltip" title="<?php echo e(__('Create')); ?>" data-title="<?php echo e(__('Create Coupon')); ?>" class="btn btn-sm btn-primary"> <i class="ti ti-plus"></i> </a> <?php endif; // app('laratrust')->permission ?> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('css'); ?> <?php echo $__env->make('layouts.includes.datatable-css', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-sm-12"> <div class="card"> <div class="card-body table-border-style"> <div class="table-responsive"> <?php echo e($dataTable->table(['width' => '100%'])); ?> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/id/erp.dev-unit.com/resources/views/coupon/index.blade.php ENDPATH**/ ?>