{% include 'header.twig' %}

          		  <div class="container">
    <div class="row">
      <div class="col-md-6">
        <div class="well">
          <ul class="nav nav-pills pillsmain">
            <li class="active"><a data-toggle="pill" href="#addfund"><i class="fas fa-wallet"></i> Paytm QR</a></li>
            <li><a data-toggle="pill" href="#fundhistory"><i class="fa fa-external-link"></i> Another Method</a></li>
          </ul>
          <div class="tab-content">
            <div id="addfund" class="tab-pane fade in active">
              <form  method="post" action="">
								{% if error %}
								  <div class="alert alert-dismissible alert-danger">
									<button type="button" class="close" data-dismiss="alert">×</button>
									{{ errorText }}
								  </div>
								{% endif %}
								{% if success %}
								  <div class="alert alert-dismissible alert-success">
									<button type="button" class="close" data-dismiss="alert">×</button>
									{{ successText }}
								  </div>
								{% endif %}
				<center><h3>Pay With PayTm/PhonePe [QR]</h3></center>
                                <center>
                        <img src="{{ settings['paytmqr'] }}" width="350">
                              </center>
                              <br>
                        <label for="method" class="control-label"><font color="#000000">ENTER YOUR PAID AMOUNT:</font></label>
                        <input class="form-control" name="payment_amount" value="{{ data['payment_amount'] }}">
                        <br>
                        <label for="method" class="control-label"><font color="#000000">ENTER TRANSACTION/ORDER ID:</font></label>
                        <input class="form-control" name="paytmqr_orderid" value="{{ data['paytmqr_orderid'] }}">
                        <input type="hidden" class="form-control" name="payment_type" value="14">
<br>

                <button type="submit" class="btn btn-primary">Pay</button>
              </form>
            </div>
            <div id="fundhistory" class="tab-pane fade in">
                {% if paymentsList %}
              <form method="post" action="addfunds">
        					{% if error %}
							<div class="alert alert-dismissible alert-danger">
							<button type="button" class="close" data-dismiss="alert">×</button>
							{{ errorText }}
							</div>
							{% endif %}
							{% if success %}
							<div class="alert alert-dismissible alert-success">
							<button type="button" class="close" data-dismiss="alert">×</button>
							{{ successText }}
							</div>
							{% endif %}
                                                <div class="form-group">
                  <label for="method" class="control-label">Method</label>
                   <select class="form-control" id="payment_method" name="payment_type">
								   {% for payment in paymentsList %}
									  <option value="{{ payment['id'] }}" {% if data['payment_type'] == payment['id'] %} selected {% endif %} >{{ payment['method_name'] }}</option>
									{% endfor %}
                                      </select>
                </div>
                <div class="form-group">
                  <label for="amount" class="control-label">Amount</label>
                  <input class="form-control" placeholder="Min - 2 $" name="payment_amount" value="{{ data['payment_amount'] }}">
                </div>
                <button type="submit" class="btn btn-primary">Pay</button>
              </form>
                {% endif %}
            </div>
          </div>
        </div>
      </div>
      <div class="col-md-6">
        <div class="well">
          <div class="wellheading mb-2"><h4><i class="far fa-university"></i> More about payments</h4></div>
          <div class="panel-group normalaccordion" id="faqAccordion">
            <div class="panel panel-default ">
              <div class="panel-heading accordion-toggle question-toggle collapsed" data-toggle="collapse" data-parent="#faqAccordion" data-target="#question1">
                <h4 class="panel-title">
                  <a href="javascript:void(0);" class="ing"><i class="fab fa-bitcoin"></i> Payment 1</a>
                </h4>
              </div>
              <div id="question1" class="panel-collapse collapse" style="height: 0px;">
                <div class="panel-body">
                  <p>This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.</p>
                </div>
              </div>
            </div>
            <div class="panel panel-default ">
              <div class="panel-heading accordion-toggle collapsed question-toggle" data-toggle="collapse" data-parent="#faqAccordion" data-target="#question2">
                <h4 class="panel-title">
                  <a href="javascript:void(0);" class="ing"><i class="fab fa-bitcoin"></i> Payment 2</a>
                </h4>
              </div>
              <div id="question2" class="panel-collapse collapse" style="height: 0px;">
                <div class="panel-body">
                  <p>This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.</p>
                </div>
              </div>
            </div>
            <div class="panel panel-default ">
              <div class="panel-heading accordion-toggle collapsed question-toggle" data-toggle="collapse" data-parent="#faqAccordion" data-target="#question3">
                <h4 class="panel-title">
                  <a href="javascript:void(0);" class="ing"><i class="fab fa-bitcoin"></i> Payment 3</a>
                </h4>
              </div>
              <div id="question3" class="panel-collapse collapse" style="height: 0px;">
                <div class="panel-body">
                  <p>This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.</p>
                </div>
              </div>
            </div>
            <div class="panel panel-default ">
              <div class="panel-heading accordion-toggle collapsed question-toggle" data-toggle="collapse" data-parent="#faqAccordion" data-target="#question4">
                <h4 class="panel-title">
                  <a href="javascript:void(0);" class="ing"><i class="fab fa-bitcoin"></i> Payment 4</a>
                </h4>

              </div>
              <div id="question4" class="panel-collapse collapse" style="height: 0px;">
                <div class="panel-body">
                  <p>This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.</p>
                </div>
              </div>
            </div>
            <div class="panel panel-default ">
              <div class="panel-heading accordion-toggle collapsed question-toggle" data-toggle="collapse" data-parent="#faqAccordion" data-target="#question5">
                <h4 class="panel-title">
                  <a href="javascript:void(0);" class="ing"><i class="fab fa-bitcoin"></i> Payment 5</a>
                </h4>
              </div>
              <div id="question5" class="panel-collapse collapse" style="height: 0px;">
                <div class="panel-body">
                  <p>This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.</p>
                </div>
              </div>
            </div>
            <div class="panel panel-default ">
              <div class="panel-heading accordion-toggle collapsed question-toggle" data-toggle="collapse" data-parent="#faqAccordion" data-target="#question6">
                <h4 class="panel-title">
                  <a href="javascript:void(0);" class="ing"><i class="fab fa-bitcoin"></i> Payment 6</a>
                </h4>
              </div>
              <div id="question6" class="panel-collapse collapse" style="height: 0px;">
                <div class="panel-body">
                  <p>This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.</p>
                </div>
              </div>
            </div>
            <div class="panel panel-default ">
              <div class="panel-heading accordion-toggle collapsed question-toggle" data-toggle="collapse" data-parent="#faqAccordion" data-target="#question7">
                <h4 class="panel-title">
                  <a href="javascript:void(0);" class="ing"><i class="fab fa-bitcoin"></i> Payment 7</a>
                </h4>
              </div>
              <div id="question7" class="panel-collapse collapse" style="height: 0px;">
                <div class="panel-body">
                  <p>This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.</p>
                </div>
              </div>
            </div>
            <div class="panel panel-default ">
              <div class="panel-heading accordion-toggle collapsed question-toggle" data-toggle="collapse" data-parent="#faqAccordion" data-target="#question8">
                <h4 class="panel-title">
                  <a href="javascript:void(0);" class="ing"><i class="fab fa-bitcoin"></i> Payment 8</a>
                </h4>
              </div>
              <div id="question8" class="panel-collapse collapse" style="height: 0px;">
                <div class="panel-body">
                  <p>This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.</p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

      	</div>

{% include 'footer.twig' %} 