

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

<div class="container mt-5">
    <div class="card">
        <div class="card-body">
            <div class="text-center mb-1 float-right">
                <a href="https://patronic.ir" class="text-muted" target="_blank">
                <img src="<?php echo e(asset('assets/images/patronic-logo-dark.png')); ?>" alt="سیستم پشتیبانی و ارسال تیکت پاترونیک" class="mb-1" height="35">
                <p>www.patronic.ir</p>
                </a>
            </div>
            <h3 class="card-title">مرحله دوم نصب - تایید لایسنس</h3>
            <p class="card-subtitle">بررسی لایسنس محصول جهت تایید خرید</p>
            <hr>
            <div class="row">

                <?php echo $__env->make('layouts.setup.vertical-tabs', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                <div class="col-9">
                    <div class="tab-content pt-0" id="v-pills-tabContent">
                        <div class="tab-pane fade show active" id="v-pills-license-check" role="tabpanel" aria-labelledby="v-pills-license-check-tab">
                            <?php $__errorArgs = ['licenseError'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="alert alert-danger"><strong>خطا! </strong><?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            <form action="<?php echo e(route('setup.handle', ['step' => 2])); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <div class="form-group">
                                    <label for="LicenseUsername">نام کاربری شما در سایت راستچین</label>
                                    <input type="text" class="form-control <?php $__errorArgs = ['licenseUsername'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e(old('licenseUsername')); ?>" id="LicenseUsername" name="licenseUsername" placeholder="مثال: patronic" required>
                                    <?php $__errorArgs = ['licenseUsername'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <div class="invalid-feedback">
                                        <span><?php echo e($message); ?></span>
                                    </div>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                                <div class="form-group">
                                    <label for="LicenseOrderId">کد سفارش خرید محصول</label>
                                    <input type="text" class="form-control <?php $__errorArgs = ['licenseOrderId'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e(old('licenseOrderId')); ?>" id="LicenseOrderId" name="licenseOrderId" placeholder="مثال: 334987654321" required>
                                    <?php $__errorArgs = ['licenseOrderId'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <div class="invalid-feedback">
                                        <span><?php echo e($message); ?></span>
                                    </div>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                                <div class="form-group">
                                    <label for="licenseDomain">آدرس سایت</label>
                                    <input type="text" class="form-control <?php $__errorArgs = ['licenseDomain'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="LicenseAddress" name="licenseDomain" value="<?php echo e(url('/')); ?>" readonly>
                                    <?php $__errorArgs = ['licenseDomain'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <div class="invalid-feedback">
                                            <span><?php echo e($message); ?></span>
                                        </div>
                                    <?php else: ?>
                                        <small class="form-text text-muted">لایسنس برای این آدرس ثبت میشود و تنها امکان <span class="text-warning">یکبار نصب و استفاده</span> از پاترونیک بروی این دامنه امکان پذیر خواهد بود</small>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                                <div class="form-group clearfix">
                                    <button type="submit" class="btn btn-primary float-right">مرحله بعد</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.setup.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/iphoneun/public_html/peygirsho.ir/patronic/resources/views/setup/step2.blade.php ENDPATH**/ ?>