File manager - Edit - /var/www/payraty/lms_main/storage/framework/views/f7535b7a77c0db11bc4a6576dd4ca375.php
Back
<?php $__env->startPush('title', get_phrase('Instructor Setting')); ?> <?php $__env->startPush('meta'); ?><?php $__env->stopPush(); ?> <?php $__env->startPush('css'); ?><?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="ol-card radius-8px"> <div class="ol-card-body my-3 py-4 px-20px"> <div class="d-flex align-items-center justify-content-between gap-3 flex-wrap flex-md-nowrap"> <h4 class="title fs-16px"> <i class="fi-rr-settings-sliders me-2"></i> <?php echo e(get_phrase('Public Instructor Settings')); ?> </h4> </div> </div> </div> <div class="row"> <div class="col-xl-6"> <div class="ol-card p-4"> <h3 class="title text-14px mb-3"><?php echo e(get_phrase('Instructor settings')); ?></h3> <div class="ol-card-body"> <form action="<?php echo e(route('admin.instructor.setting.store')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <input type="hidden" name="first" value="item_1"> <div class="fpb-7 mb-3"> <label class="form-label ol-form-label"><?php echo e(get_phrase('Allow public instructor')); ?></label> <select class="form-control ol-form-control ol-select2" data-toggle="select2" name="allow_instructor" required> <option value="1" <?php if($allow_instructor->description == 1): ?> selected <?php endif; ?>> <?php echo e(get_phrase('Yes')); ?></option> <option value="0" <?php if($allow_instructor->description == 0): ?> selected <?php endif; ?>> <?php echo e(get_phrase('No')); ?></option> </select> </div> <div class="fpb-7 mb-3"> <label class="form-label ol-form-label" for="instructor_application_note"><?php echo e(get_phrase('Instructor application note')); ?></label> <textarea class="form-control ol-form-control" name="instructor_application_note" rows="8" cols="80"><?php echo e($application_note->description); ?></textarea> </div> <button type="submit" class="btn ol-btn-primary mt-3"><?php echo e(get_phrase('Update settings')); ?></button> </form> </div> </div> </div> <div class="col-xl-6"> <div class="ol-card p-4"> <h3 class="title text-14px mb-3"><?php echo e(get_phrase('Revenue settings')); ?></h3> <div class="ol-card-body"> <form action="<?php echo e(route('admin.instructor.setting.store')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <input type="hidden" name="second" value="item_2"> <div class="fpb-7 mb-3"> <label class="form-label ol-form-label" for="instructor_revenue"><?php echo e(get_phrase('Instructor revenue percentage')); ?></label> <div class="input-group"> <input type="number" name = "instructor_revenue" id = "instructor_revenue" class="form-control ol-form-control" onkeyup="calculateAdminRevenue(this.value)" min="0" max="100" value="<?php echo e($instructor_revenue->description); ?>"> <div class="input-group-append"> <span class="input-group-text ol-form-control">%</span> </div> </div> </div> <div class="fpb-7 mb-3"> <label class="form-label ol-form-label" for="admin_revenue"><?php echo e(get_phrase('Admin revenue percentage')); ?></label> <div class="input-group"> <input type="number" name = "admin_revenue" id = "admin_revenue" class="form-control ol-form-control" value="0" disabled> <div class="input-group-append"> <span class="input-group-text ol-form-control">%</span> </div> </div> </div> <button type="submit" class="btn ol-btn-primary mt-3"><?php echo e(get_phrase('Update settings')); ?></button> </form> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('js'); ?> <script type="text/javascript"> "use strict"; $(document).ready(function() { var instructor_revenue = $('#instructor_revenue').val(); calculateAdminRevenue(instructor_revenue); }); function calculateAdminRevenue(instructor_revenue) { if (instructor_revenue <= 100) { var admin_revenue = 100 - instructor_revenue; $('#admin_revenue').val(admin_revenue); } else { $('#admin_revenue').val(0); } } </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/payraty/lms_main/resources/views/admin/instructor/instructor_setting.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings