<?php $__env->startSection('mainContent'); ?>
    <?php echo generateBreadcrumb(); ?>


    <section class="admin-visitor-area up_st_admin_visitor">
        <div class="container-fluid p-0">
            <div class="row justify-content-center">
                <div class="col-12">
                    <div class="box_header">
                        <div class="main-title d-flex">

                        </div>
                    </div>
                </div>
                <div class="col-12">
                    <div class="">
                        <div class="row">

                            <div class="col-lg-12">

                                <div class="tab-content " id="myTabContent">

                                    <div class="tab-pane fade white-box show active" id="Activation"
                                         role="tabpanel" aria-labelledby="Activation-tab">
                                        <div class="main-title mb-25">


                                            <form action="<?php echo e(route('bundle.setting.store')); ?>"
                                                  method="POST"
                                                  enctype="multipart/form-data">

                                                <?php echo csrf_field(); ?>

                                                <div class="row">
                                                    <div class="col-xl-3">
                                                        <div class="primary_input mb-25">
                                                            <label class="primary_input_label"
                                                                   for=""><?php echo e(__('subscription.Admin Commission Rate')); ?>

                                                                (%)</label>
                                                            <input class="primary_input_field"
                                                                   placeholder="Please enter admin commission"
                                                                   type="number"
                                                                   name="" min="0" max="100"
                                                                   oninput="planCalCommission()"
                                                                   id="admin_comm"
                                                                   value="<?php echo e(100-$setting->commission_rate); ?>">
                                                        </div>
                                                    </div>

                                                    <div class="col-xl-3">
                                                        <div class="primary_input mb-25">
                                                            <label class="primary_input_label"
                                                                   for=""><?php echo e(__('subscription.Instructor Commission Rate')); ?>

                                                                (%)</label>
                                                            <input class="primary_input_field" placeholder="0"
                                                                   type="number" id="instructor_comm"
                                                                   name="commission_rate" min="0" max="100" readonly
                                                                   value="<?php echo e($setting->commission_rate); ?>">
                                                        </div>
                                                    </div>
                                                    <div class="col-xl-2">
                                                        <div class="primary_input mb-25">
                                                            <label class="primary_input_label"
                                                                   for=""><?php echo e(__('bundleSubscription.Show instructor profile  bundle')); ?>

                                                            </label>
                                                            <label class="switch_toggle  mt-2"
                                                                   for="show_bundle_in_instructor_profile">
                                                                <input type="checkbox" class="status_enable_disable"
                                                                       name="show_bundle_in_instructor_profile"
                                                                       id="show_bundle_in_instructor_profile"
                                                                       <?php echo e(Settings('show_bundle_in_instructor_profile')==1?'checked':''); ?>

                                                                       value="1">
                                                                <i class="slider round"></i>
                                                            </label>

                                                        </div>
                                                    </div>


                                                    <div class="col-xl-2">
                                                        <div class="primary_input mb-25">
                                                            <label class="primary_input_label"
                                                                   for=""><?php echo e(__('bundleSubscription.Show Review')); ?>

                                                            </label>
                                                            <label class="switch_toggle  mt-2"
                                                                   for="show_review_for_bundle_subscription">
                                                                <input type="checkbox" class="status_enable_disable"
                                                                       name="show_review_for_bundle_subscription"
                                                                       id="show_review_for_bundle_subscription"
                                                                       <?php echo e(Settings('show_review_for_bundle_subscription')==1?'checked':''); ?>

                                                                       value="1">
                                                                <i class="slider round"></i>
                                                            </label>

                                                        </div>
                                                    </div>

                                                    <div class="col-xl-2">
                                                        <div class="primary_input mb-25">
                                                            <label class="primary_input_label"
                                                                   for=""><?php echo e(__('bundleSubscription.Hide Category')); ?>

                                                            </label>
                                                            <label class="switch_toggle  mt-2"
                                                                   for="hide_category_for_bundle_subscription">
                                                                <input type="checkbox" class="status_enable_disable"
                                                                       name="hide_category_for_bundle_subscription"
                                                                       id="hide_category_for_bundle_subscription"
                                                                       <?php echo e(Settings('hide_category_for_bundle_subscription')==1?'checked':''); ?>

                                                                       value="1">
                                                                <i class="slider round"></i>
                                                            </label>

                                                        </div>
                                                    </div>
                                                </div>


                                                <div class="submit_btn d-flex justify-content-center align-content-center">
                                                    <button class="primary-btn fix-gr-bg" type="submit"
                                                            id=""><i
                                                            class="ti-check"></i> <?php echo e(__('common.Save')); ?></button>
                                                </div>
                                            </form>
                                        </div>
                                    </div>

                                </div>


                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('setting::page_components.script', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

<?php echo $__env->make('setting::layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/minialms/card.minialms.com/Modules/BundleSubscription/Resources/views/backend/setting/index.blade.php ENDPATH**/ ?>