JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "996b3c32d303f36357655eb5fb1cfe2c.php"
Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/storage/framework/views/996b3c32d303f36357655eb5fb1cfe2c.php
File size: 5.64 KB
MIME-type: text/x-php
Charset: utf-8
<?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 C:\xampp\htdocs\Arise\resources\views/admin/instructor/instructor_setting.blade.php ENDPATH**/ ?>