
@extends('layouts.app1')
    @section('content')
    
    <br><br>

<title>{{$settings->site_name}} | Deposit</title>



<!-- <a href="account"><button class="btn btn-dark" style="color:white"><i class="fa fa-undo"></i> Back to Account</button></a> -->





<div class="row">
  <div class="col-sm-16 col-md-8">
    <div class="card">
      <div class="card-header align-items-start justify-content-between flex">
       
        <h4 class="pull-left">Deposit Using   @foreach ($dmethods as $method)<span> {{$method->name}} |</span>@endforeach</h4>
        <ul class="nav nav-pills card-header-pills pull-right">
          <li class="nav-item">
            <button class="btn btn-sm btn-link btn-round" data-toggle="collapse" data-target="#btc_deposit"><i class="fa fa-chevron-down"></i></button>
          </li>
        </ul>
      </div>
      <div class="card-body" id="btc_deposit">
        <div class="ncard small">
          <h6>@foreach ($dmethods as $method)<span> {{$method->name}} |</span>@endforeach Deposit Method</h6>
          <hr>
          <b>
              
            <span style="color:gold"> Please make sure you upload your payment proof for quick payment verification</span><br>
            <span style="color:#17a2b8 !important">On confirmation, our system will automatically Fund ur account and notify you via email address.
            </span>
          </b>
          <br>
          <form action="" method="post">
            @csrf
            <div class="form-group row">
              <label for="amount" class="col-16 col-form-label" style="text-align:left">Amount <font color="crison">{{Auth::user()->currency}} *</font></label>
              
              
              <div class="col-16">
                <input class="form-control" type="number" step="any" value="{{$signal->price}}"name="amount" min="10" id="exa1" required>
                <input type="hidden" value='{{$signal->id}}' name="id" id="payment_method"
                <input type="hidden" value='{{$type}}' name="type" id="payment_method"><br>
                
                <select class="form-control" value="" name="paymentmethod" id="exam4" required>
                  <option disabled value="" selected>--Select Payment Option --</option>
                  @foreach ($dmethods as $method)
                  <option value="{{$method->name}}">{{$method->name}}</option>
                  @endforeach
                </select>
              </div>
              
            </div>
            <div class="form-group row">
              <div class="col-16">
                
                <input type="submit" class="btn btn-success" style="float:right" value="Procced to Payment">
              </div>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
  <div class="col-sm-16 col-md-8">
    <div class="card">
      <div class="card-header align-items-start justify-content-between flex">
        <h4 class="pull-left">Other Deposit Options</h4>
        <ul class="nav nav-pills card-header-pills pull-right">
          <li class="nav-item">
            <button class="btn btn-sm btn-link btn-round" data-toggle="collapse" data-target="#order_depo"><i class="fa fa-chevron-down"></i></button>
          </li>
        </ul>
      </div>
      <div class="card-body" id="order_depo">
        <div class="ncard small">
          <h6>Request other available Deposit Method</h6>
          <hr>
          <b>
            <span style="color:gold">Once requested, you will receive the payment details via our support mail....</span><br>
            <span style="color:#17a2b8 !important"> Once payment is made using this method you are to send your payment
              proof to our support mail <a href="mailto:{{$settings->contact_email}}">{{$settings->contact_email}}</a>
            </span>
          </b>
          <br>
          <form method="post" action="{{route('enquiry')}}">
            <input class="form-control" type="hidden" value="{{Auth::user()->username}}" name="name" id="exam2" required>
            <input class="form-control" type="hidden" value="{{Auth::user()->email}}" name="email" id="exam2" required>
            <div class="form-group row">
              <label for="exam4" class="col-16 col-form-label" style="text-align:left">Payment Option For<font color="crimson">*</font></label>
              <input type="hidden" name="_token" value="{{ csrf_token() }}">
              <input type="hidden" name="subject"  Value='Requested payment method' class="form-control text-{{$text}} bg-{{$bg}}" required>
              <input type='hidden' name="message"  value ='{{Auth::user()->username}} with email {{Auth::user()->email}} request to pay for signal using 'class="form-control text-{{$text}} bg-{{$bg}}" rows="5"></input>
              <div class="col-16">
                <select class="form-control" value="" name="deposit_type" id="exam4" required>
                  <option disabled value="" selected>--Select Payment Option --</option>
                  <option value="BANK TRANSFER">BANK TRANSFER</option>
                  <option value="LITCOIN">LITCOIN</option>
                  <option value="BITCOIN CASH">BITCOIN CASH</option>
                  <option value="USDT">USDT</option>
                  <option value="PAYPAL">PAYPAL</option>
                  <option value="STELLER">STELLER</option>
                  <option value="WESTERN UNION">WESTERN UNION</option>
                  <option value="SKRILL">SKRILL</option>
                  <option value="MONEY GRAM">MONEY GRAM</option>
                </select>
              </div>
            </div>
            <div class="form-group row">
              <div class="col-16">
                <input class="btn btn-success" style="float:right"  type="submit" name="request_deposit" value="Request"></center>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
<a href="{{ url('dashboard') }}"><button class="btn btn-dark" style="color:white"><i class="fa fa-undo"></i> Back to Account</button></a>
</div><br><br>



<div class="row">
  <div class="col-md-12">
    <div class="form-group row">
      <div class="col-6">
        <button type="button" onclick="referralFunction()" class="btn btn-success">Copy Referral Link</button>
      </div>
      <div class="col-10">
        <input type="text" style="color:black" class="form-control" id="referral_link" value="{{Auth::user()->ref_link}}" readonly="">
      </div>
    </div>
  </div>
	@endsection
	