
<?php $__env->startSection('title', $title); ?>
<?php $__env->startSection('content'); ?>
<div class="udex-main" id="main" style="position: relative;">
	<div class="container">
	
	
		<li class="breadcrumb-item"><a href="">Home</a></li>
		<li class="breadcrumb-item active">Dashboard</li>
	</ul>	
	<h3 class="font-weight-bold mb-3">Make Deposit</h3>
	<div class="row">
	


		<?php $__empty_1 = true; $__currentLoopData = $signals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $signal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
		<div class="col-12 col-md-3 py-2">
		
				<div class="card text-center">
					<div class="card-header"><h5 class="m-0"><?php echo e($signal->name); ?></h5></div>
					<div class="card-body p-0">
						<h5 class="font-weight-bold text-center my-3"> Signal Price: <?php echo e(Auth::user()->currency); ?> <?php echo e($signal->price); ?></h5>
						<ul class="list-group list-group-flush">
							
							
							<li class="list-group-item">
								Percentage: <?php echo e($signal->increment_amount); ?>%
							</li>
							
					</div>
					
						<button type="button" class="btn btn-primary px-4 btn-sm" data-toggle="modal"
                                        data-target="#exampleModal<?php echo e($signal->id); ?>">
                                        Subscribe Now
                                    </button>

					
				</div>
			
		</div>
		<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
		<h2> No signals</h2>
			</div>
		<?php endif; ?>

		<script>
			$("#n_method").change(function(){
				$(".n_method").val($(this).val());
			});
		</script>
	</div>	\
   </div>

   <?php $__empty_1 = true; $__currentLoopData = $signals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $signal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>



<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
		<h2> No signals</h2>
			</div>
		<?php endif; ?>





    <?php $__currentLoopData = $signals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $signal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="modal fade" id="exampleModal<?php echo e($signal->id); ?>" tabindex="-1"
                                        aria-labelledby="exampleModalLabel" aria-hidden="true">
                                        <div class="modal-dialog">
                                            <div class="modal-content">
                                                <div class="modal-header">
                                                    <h5 class="modal-title" id="exampleModalLabel">Subscribe</h5>
                                                    <button type="button" class="close" data-dismiss="modal"
                                                        aria-label="Close">
                                                        <span aria-hidden="true">&times;</span>
                                                    </button>
                                                </div>
                                                <div class="modal-body">
                                                    <div>
                                                       
                                                            <div class="row">
                                                               
                                                            </div>
                                                      
                                                            <form  method="POST" action="<?php echo e(route('newdeposit')); ?>" >
																<?php echo csrf_field(); ?>
                                                                <div class="form-group mb-2 text-left">
                                                                    <label for="">  </label>
                                                                    <select name="payment_method" required  class="form-control" >
                                                                        <option value="Choose" selected disabled>Choose Payment Method</option>
                                                                        <?php $__empty_1 = true; $__currentLoopData = $dmethods; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $method): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                                                        <option value="<?php echo e($method->name); ?>"><?php echo e($method->name); ?></option>
                                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                                                        <option class="">No Payment Method enabled at the moment, please check
                                                                            back later.</option>
                                                                        <?php endif; ?>
                                                                       
                                                                    </select>
                                                                </div>
																<input type="hidden" name='asset' value="<?php echo e($signal->name); ?>" class="form-control" readonly >
                                                                <div class="form-group mb-2 text-left">
                                                                    <label for="">Amount (<?php echo e(Auth::user()->currency); ?>)</label>
                                                                    <input type="number" name='amount' value="<?php echo e($signal->price); ?>" class="form-control" readonly >
                                                                    
                                                                </div>
                                                                <div class="form-group mb-2 text-left">
                                                                    <button class="btn btn-primary">Subscribe</button>
                                                                </div>
                                                            </form>
                                                       
                                                    
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
         
			
								</div>

							</div>
							<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							</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/signal.blade.php ENDPATH**/ ?>