<?php $__env->startSection('content'); ?>
<div class="section bg--light">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-8">
                <div class="card custom--card">
                    <div class="card-header">
                        <h5 class="card-title"><?php echo app('translator')->get('Withdraw Via'); ?> <?php echo e($withdraw->method->name); ?></h5>
                    </div>
                    <div class="card-body">
                        <div class="alert alert-primary">
                            <p class="mb-0"><i class="las la-info-circle"></i> <?php echo app('translator')->get('You are requesting'); ?> <b><?php echo e(showAmount($withdraw->amount)); ?></b> <?php echo app('translator')->get('for withdraw.'); ?> <?php echo app('translator')->get('The admin will send you'); ?>
                                <b class="text--success"><?php echo e(showAmount($withdraw->final_amount,currencyFormat:false) .' '.$withdraw->currency); ?> </b> <?php echo app('translator')->get('to your account.'); ?></p>
                        </div>
                        <form action="<?php echo e(route('user.withdraw.submit')); ?>" class="disableSubmission" method="post" enctype="multipart/form-data">
                            <?php echo csrf_field(); ?>
                            <div class="mb-2">
                                <?php
                                    echo $withdraw->method->description;
                                ?>
                            </div>
                            <?php if (isset($component)) { $__componentOriginal3bd95de28203859144f617d3fb6afebc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal3bd95de28203859144f617d3fb6afebc = $attributes; } ?>
<?php $component = App\View\Components\ViserForm::resolve(['identifier' => 'id','identifierValue' => ''.e($withdraw->method->form_id).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('viser-form'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\ViserForm::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal3bd95de28203859144f617d3fb6afebc)): ?>
<?php $attributes = $__attributesOriginal3bd95de28203859144f617d3fb6afebc; ?>
<?php unset($__attributesOriginal3bd95de28203859144f617d3fb6afebc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3bd95de28203859144f617d3fb6afebc)): ?>
<?php $component = $__componentOriginal3bd95de28203859144f617d3fb6afebc; ?>
<?php unset($__componentOriginal3bd95de28203859144f617d3fb6afebc); ?>
<?php endif; ?>
                            <?php if(auth()->user()->ts): ?>
                            <div class="form-group">
                                <label><?php echo app('translator')->get('Google Authenticator Code'); ?></label>
                                <input type="text" name="authenticator_code" class="form-control form--control" required>
                            </div>
                            <?php endif; ?>
                     
                                <button type="submit" class="btn btn--base h-45 w-100"><?php echo app('translator')->get('Submit'); ?></button>
                           
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('style-lib'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('assets/global/css/select2.min.css')); ?>">
<?php $__env->stopPush(); ?>

<?php $__env->startPush('script-lib'); ?>
    <script src="<?php echo e(asset('assets/global/js/select2.min.js')); ?>"></script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make($activeTemplate.'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ulsitlqp/titleagency.it.com/U.S/Arizona/GreatAmericanTitle/core/resources/views/templates/basic/user/withdraw/preview.blade.php ENDPATH**/ ?>