JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "11de6e794c4ec7409aecb0d8dec037fc.php"

Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/storage/framework/views/11de6e794c4ec7409aecb0d8dec037fc.php
File size: 1.49 KB
MIME-type: text/html
Charset: utf-8

<form class="mt-3" method="get">
    <div class="form-group">
        <label for="purchase_code_form_field"><?php echo e(get_phrase('Purchase code')); ?></label>
        <input type="text" class="form-control mb-1" name="purchase_code" id="purchase_code_form_field">
        <small id="invalid_purchase_code_message" class="d-none badge bg-danger">
            <?php echo e(get_phrase('Invalid purchase code')); ?>

        </small>
    </div>
    <div class="form-group mt-3">
        <button class="btn ol-btn-primary" onclick="save_purchase_code()"
            type="button"><?php echo e(get_phrase('Submit')); ?></button>
    </div>
</form>

<script type="text/javascript">
    "use strict";

    function save_purchase_code() {
        var purchase_code = $('#purchase_code_form_field').val();
        $.ajax({
            url: "<?php echo e(route('admin.save_valid_purchase_code', 'update')); ?>",
            type: 'get',
            data: {
                purchase_code: purchase_code
            },
            headers: {
                'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
            },
            success: function(response) {
                if (response == 1) {
                    window.location.reload();
                } else {
                    $('#invalid_purchase_code_message').removeClass('d-none');
                }
            }
        });
    }
</script>
<?php /**PATH C:\xampp\htdocs\Arise\resources\views/admin/setting/save_purchase_code.blade.php ENDPATH**/ ?>