⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.200
Server IP:
15.204.235.159
Server:
Linux srv.techlup.co.ke 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
tech
/
www
/
script
/
storage
/
framework
/
views
/
View File Name :
5f2de23564cda607f2a3587678ebdd5a10f8e2d4.php
<?php $__env->startSection('style'); ?> <link rel="stylesheet" href="<?php echo e(asset('admin/css/summernote.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('admin/css/bootstrap-tagsinput.css')); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-lg-9"> <div class="card"> <div class="card-body"> <h4><?php echo e(__('Edit Service')); ?></h4> <form method="post" action="<?php echo e(route('admin.ecommerce.pricing.update',$info->id)); ?>" id="basicform"> <?php echo csrf_field(); ?> <?php echo method_field('PUT'); ?> <div class="custom-form pt-20"> <div class="form-group"> <label for="title"><?php echo e(__('Pricing Title')); ?><span class="text-danger"><b>*</b></span></label> <input type="text" placeholder="Pricing Title" class="form-control" name="title" id="title" required="" value="<?php echo e($info->title); ?>"> </div> <div class="form-group"> <label for="name"><?php echo e(__('Previous Price')); ?></label> <input type="number" placeholder="Previous Price" class="form-control" name="p_price" id="name" value="<?php echo e($info->productMeta->p_price); ?>"> </div> <div class="form-group"> <label ><?php echo e(__('Selling Price')); ?><span class="text-danger"><b>*</b></span></label> <input type="number" placeholder="Selling Price" class="form-control" name="s_price" required="" value="<?php echo e($info->productMeta->s_price); ?>"> </div> <div class="form-group"> <label for="duration"><?php echo e(__('Duration')); ?></label> <input type="text" placeholder="Per Month" class="form-control" name="duration" id="duration" value="<?php echo e($json->duration); ?>"> </div> <div class="form-group"> <label ><?php echo e(__('Order Url')); ?></label> <input type="text" placeholder="Order Link" class="form-control" name="link" value="<?php echo e($json->link); ?>"> </div> <div class="form-group"> <label ><?php echo e(__('Tax')); ?></label> <input type="text" placeholder="Enter Tax Without Percent Sign" class="form-control" name="tax" value="<?php echo e($info->productMeta->tax); ?>"> </div> <div class="form-group"> <label ><?php echo e(__('Service')); ?></label> <table class="table table-bordered" id="dynamic_field"> <?php $__currentLoopData = $json->service; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr id="row<?php echo e($key); ?>"> <td> <input type="text" name="service[]" placeholder="Enter Service Name" class="form-control name_list" value="<?php echo e($row); ?>"> </td> <td> <button type="button" name="remove" id="<?php echo e($key); ?>" class="btn btn_remove col-12">Remove</button> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </table> <button type="button" name="add" id="add" class="btn btn-success col-12">Add More</button> </div> </div> </div> </div> </div> <div class="col-lg-3"> <div class="single-area"> <div class="card"> <div class="card-body"> <h5><?php echo e(__('Publish')); ?></h5> <hr> <div class="btn-publish"> <button type="submit" class="btn btn-save"><i class="fa fa-save"></i> <?php echo e(__('Save')); ?></button> </div> </div> </div> </div> <div class="single-area"> <div class="card sub"> <div class="card-body"> <h5><?php echo e(__('Status')); ?></h5> <hr> <select class="custom-select mr-sm-2" id="inlineFormCustomSelect" name="status"> <option selected value="1" <?php if($info->status==1): ?> selected <?php endif; ?>><?php echo e(__('Published')); ?></option> <option value="2" <?php if($info->status==2): ?> selected <?php endif; ?>><?php echo e(__('Draft')); ?></option> </select> </div> </div> </div> <div class="single-area"> <div class="card sub"> <div class="card-body"> <h5><?php echo e(__('Is Selected ?')); ?></h5> <hr> <select class="form-control" class="custom-select mr-sm-2" name="active"> <option value="disable" <?php if($json->active=="disable"): ?> selected <?php endif; ?>>No</option> <option value="active" <?php if($json->active=="active"): ?> selected <?php endif; ?>>Yes</option> </select> </div> </div> </div> </div> <input type="hidden" name="type" value="2"> <input type="hidden" name="post_type" value="pricing_table"> </form> <?php echo $__env->make('admin.media.mediamodal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('script'); ?> <script src="<?php echo e(asset('admin/js/summernote.min.js')); ?>"></script> <script src="<?php echo e(asset('admin/js/custom-summernote.min.js')); ?>"></script> <script src="<?php echo e(asset('admin/js/bootstrap-tagsinput.min.js')); ?>"></script> <script src="<?php echo e(asset('admin/js/form.js')); ?>"></script> <script> (function ($) { "use strict"; var i=1; $('#add').click(function(){ i++; $('#dynamic_field').append('<tr id="row'+i+'"><td><input type="text" name="service[]" placeholder="Enter Service Name" class="form-control name_list" /></td><td><button type="button" name="remove" id="'+i+'" class="btn btn_remove col-12">Remove</button></td></tr>'); }); $(document).on('click', '.btn_remove', function(){ var button_id = $(this).attr("id"); $('#row'+button_id+'').remove(); }); })(jQuery); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.backend.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tech/staging.techlup.co.ke/files/script/am-content/Plugins/ecommerce/views/admin/pricingtable/edit.blade.php ENDPATH**/ ?>