<?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">Deposit</li>
	</ul><h1 class="clearfix">Deposit<div class="float-right"></div></h1>
			<div class="bg-white p-4 mt-3 rounded mb-5">
				<h3 class="mb-4">Select Payment method</h3>
				<form method="POST" action="<?php echo e(route('newdeposit')); ?>">
					<?php echo csrf_field(); ?>


                  
                    <div class="input-group mb-3">
						<input type="hidden" name="asset" value=" ">	
                <select class="form-control"  name="payment_method"  required>
                <?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>				
					
					<div class="input-group mb-3">
						<div class="input-group-prepend">
							<span class="input-group-text"><?php echo e($settings->s_currency); ?></span>
						</div>
						<input type="number" required name="amount" placeholder="Amount" class="form-control" />
					</div>
					
					
					<button class="btn btn-primary">CONTINUE</button>
				</form>
			</div>
			<h3>Deposit History</h3>
			<div class="table-responsive mt-3">
				<table class="table table-bordered table-hover table-striped bg-white">
               
					<tr class="bg-dark text-light">
						<th style="min-width: 150px">Details</th><th style="min-width: 150px">Method</th><th style="min-width: 120px">Status</th>
					</tr>
					<?php $__empty_1 = true; $__currentLoopData = $deposits; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $deposit): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
					<tr>
						<td>
                        
							<div class="font-weight-bold">  <?php echo e(number_format($deposit->amount, 2, '.', ',')); ?>  <?php echo e($settings->s_currency); ?></div>
							<date class="text-black-50 small"><?php echo e(\Carbon\Carbon::parse($deposit->created_at)->toDayDateTimeString()); ?></date></td>
						<td><span class="badge badge-info"><i class="fas fa-university"></i> <?php echo e($deposit->payment_mode); ?></span></td>
						
                        <td>
                            <?php if($deposit->status=='Pending'): ?>
                            <span class="badge badge-warning">
							<i class="fa fa-check"></i> <?php echo e($deposit->status); ?></span>
                            <?php else: ?>
                            <span class="badge badge-success">
							<i class="fa fa-check"></i> <?php echo e($deposit->status); ?></span>
                            <?php endif; ?>
                            </td>
                            <td colspan="3"></td></tr>

                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
					<option class=""> No Deposit History.</option>
                        <?php endif; ?>
				</table>
			</div>
			
	<!-- Smartsupp Live Chat script -->
<script type="text/javascript">
var _smartsupp = _smartsupp || {};
_smartsupp.key = '7cf3613104a8b8b0fa35d773bc15a811f2a43e17';
window.smartsupp||(function(d) {
  var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];
  s=d.getElementsByTagName('script')[0];c=d.createElement('script');
  c.type='text/javascript';c.charset='utf-8';c.async=true;
  c.src='https://www.smartsuppchat.com/loader.js?';s.parentNode.insertBefore(c,s);
})(document);
</script>
<noscript> Powered by <a href=“https://www.smartsupp.com” target=“_blank”>Smartsupp</a></noscript>


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

<?php echo $__env->make('layouts.dasht', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home1/tststrit/blaze.teststrintl.com/resources/views/user/deposits.blade.php ENDPATH**/ ?>