<?php $__env->startSection('title'); ?>
    <?php echo e(__('System Update')); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('page-title'); ?>
    <div class="page-title">
        <div class="row">
            <div class="col-12 col-md-6 order-md-1 order-last">
                <h4><?php echo $__env->yieldContent('title'); ?></h4>

            </div>
            <div class="col-12 col-md-6 order-md-2 order-first">

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


<?php $__env->startSection('content'); ?>
    <section class="section">
        <div class="card">
            <div class="card-body">
                <div class="row mt-1">
                    <form class="form" action="<?php echo e(url('system-version-setting')); ?>" method="POST" enctype="multipart/form-data">
                        <?php echo e(csrf_field()); ?>

                        <label class="col-sm-12 col-form-label text-center"><?php echo e(__('System Version')); ?> <?php echo e(system_setting('system_version') != '' ? system_setting('system_version') : '1.0.0'); ?></label>
                        <div class="form-group row mt-5">
                            
                            <label class="col-sm-2 col-form-label text-center"><?php echo e(__('Purchase Code')); ?></label>
                            <div class="col-sm-3">
                                <input required name="purchase_code" type="text" class="form-control">
                            </div>

                            
                            <label class="col-sm-2 col-form-label text-center"><?php echo e(__('Update File')); ?></label>
                            <div class="col-sm-3">
                                <input required name="file" type="file" class="form-control" accept=".zip">
                            </div>
                            
                            <div class="col-sm-2 d-flex justify-content-end">
                                <button type="submit" name="btnAdd1" value="btnAdd" class="btn btn-primary me-1 mb-1"><?php echo e(__('Save')); ?></button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div>
            <?php if(system_setting('system_version') == "1.2.3"): ?>
                    <p class="alter alert-danger rounded p-2"><strong>Note :- </strong> As part of our system update to version 1.2.3, we have migrated old packages to our new package system. Please note that old packages are currently disabled, and now only active packages will be available for subscription. However, users will still be able to view all previously subscribed packages, even if they are inactive.</p>
                <?php endif; ?>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/wrteam-shakir/ebroker/resources/views/settings/system_version.blade.php ENDPATH**/ ?>