<?php $__env->startSection('title', $title); ?>
<?php $__env->startSection('content'); ?>
<div class="udex-main" id="main">
	<?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.danger-alert','data' => []]); ?>
<?php $component->withName('danger-alert'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
    <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.success-alert','data' => []]); ?>
<?php $component->withName('success-alert'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
    
    <ul class="breadcrumb shadow-none p-0" style="background-color: transparent">
		<li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>">Home</a></li>
		<li class="breadcrumb-item active">Withdrawal</li>
	</ul><h1 class="clearfix">Complete Withdraw<div class="float-right"></div></h1>
			<div class="bg-white p-4 mt-3 rounded mb-5">
				<div class="mb-3">
					<h4 class="h2"> <i class="bi bi-cursor"></i> <?php echo e($payment_mode); ?></h4>
				</div>
				<form method="POST" action="<?php echo e(route('completewithdrawal')); ?>">
					<?php echo csrf_field(); ?>

    <input  type="hidden" name="method" value="<?php echo e($payment_mode); ?>"  >
                  
                   
                    <label class="">Enter Amount to
                        withdraw(<?php echo e(Auth::user()->currency); ?>)</label>
					<div class="input-group mb-3">
                       
						<div class="input-group-prepend">
							<span class="input-group-text"><?php echo e($settings->currency); ?></span>
						</div>
						
						<input type="number" required name="amount" placeholder="Amount" class="form-control" />
					</div>
                  
	      <?php if($payment_mode=="Bank Transfer"): ?>
		  <fieldset>
            <div class="row">
                <div class="mb-3 col-md-6">
                    <label class="">Bank Name</label>
                    <input type="text" name="bank_name"  class="form-control "
                        placeholder="Enter bank name">
                </div>
                <div class="mb-3 col-md-6">
                    <label class="">Account Name</label>
                    <input type="text" name="account_name" 
                        class="form-control " placeholder="Enter Account name">
                </div>
                <div class="mb-3 col-md-6">
                    <label class="">Account Number</label>
                    <input type="text" name="account_no"
                        class="form-control " placeholder="Enter Account Number">
                </div>
                <div class="mb-3 col-md-6">
                    <label class="">Swift Code</label>
                    <input type="text" name="swiftcode"  class="form-control "
                        placeholder="Enter Swift Code">
                </div>
            </div>
        </fieldset>  
		  <?php else: ?>
                    <label class="">Enter <?php echo e($payment_mode); ?> Wallet Address </label>
                    <div class="input-group mb-3">
                       
					
						<input type="text" required name="details" placeholder="Enter <?php echo e($payment_mode); ?> wallet address" class="form-control" />
					</div>
<?php endif; ?>
					
					<button class="btn btn-primary">Complete Withdrawal</button>
				</form>
			</div>
			
			


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

<?php echo $__env->make('layouts.dasht', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/remedy/public_html/resources/views/user/withdraw.blade.php ENDPATH**/ ?>