<?php $__env->startSection('title', $title); ?>
<?php $__env->startSection('content'); ?>
<div class="udex-main" id="main" style="position: relative;">
	<?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; ?>
	<div class="container">
	<script src="<?php echo e(asset('themes/custom/js/validation.js')); ?>"></script>
	<h3><?php echo e(Auth::user()->name); ?>,<br /><?php echo e(\Carbon\Carbon::now()->toDayDateTimeString()); ?></h3>
    <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">Dashboard</li>
	</ul>	
<form method="POST" enctype="multipart/form-data" action="<?php echo e(route('savedeposit')); ?>">
<?php echo csrf_field(); ?>

	<div class="card">
		<div class="card-header">
			<h4 class="m-0">Add Fund(<?php echo e($payment_mode->name); ?>)</h4>
		</div>
		<div class="card-body">
			<div class="form-group">
				<div class="input-group">
					<div class="input-group-prepend">
					<select name="method" class="custom-select input-group-text" style="width: 100px">
						<option selected><?php echo e(Auth::user()->currency); ?></option>
						<option><?php echo e($payment_mode->name); ?></option>
					</select>
					</div>
					<!-- <input type="number" step="0.00000000001" name="invest_amount" max="20000" required placeholder="Enter Amount" required class="form-control" id="amount"> -->
				</div>
			</div>
			<div class="amountDisplay">Make Payment of <?php echo e($amount); ?><?php echo e(Auth::user()->currency); ?> to the address below and click "SEND PROOF OF DEPOSIT"</div><div class="row">
				<div class="col-md-3 pt-3">
					<img src="https://chart.googleapis.com/chart?chs=150x150&amp;cht=qr&amp;chl=<?php echo e($payment_mode->name); ?>:<?php echo e($payment_mode->wallet_address); ?>">
				</div>
				<div class="col-md-9 py-3">
					<div class="input-group mb-3">
						<input type="text" class="form-control" value="<?php echo e($payment_mode->wallet_address); ?>" required>
						<div class="input-group-append">
							<button type="button" onclick="<?php echo e($payment_mode->wallet_address); ?>" class="btn btn-light text-dark">Copy</button>
						</div>
					</div>
					<div class="custom-file">
						<input type="file" name="proof" class="custom-file-input" id="customFile" required>
						<label class="custom-file-label" for="customFile">Choose file</label>
					</div>
					<input type="hidden" name="amount" value="<?php echo e($amount); ?>">
              <input type="hidden" name="paymethd_method" value="<?php echo e($payment_mode->name); ?>">
			  <?php if($asset): ?>
			  <input type="hidden" name="asset" value="<?php echo e($asset); ?>">
			  <?php endif; ?>
				</div>
			</div></div>
		<div class="card-footer">
			<button class="btn btn-primary"><i class="fas fa-paper-plane mr-2"></i> SEND PROOF OF DEPOSIT</button>
		</div>
	</div>
	<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.dasht', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/icttradeup/public_html/dash.ict-tradeup.com/resources/views/user/payment.blade.php ENDPATH**/ ?>