Untitled

 avatar
unknown
plain_text
a year ago
15 kB
5
Indexable
<div class="row">
            <div class="accordion" id="accordionAdmisison">
                <div class="accordion-item">
                    <h4 class="accordion-header" id="headingAdmission">
                        <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseAdmission" aria-expanded="false" aria-controls="collapseAdmission" style="font-size:1.75rem; font-weight:700; color:rgb(12, 12, 112);">
                            Pay Program Admission Fees
                        </button>
                    </h4>
                    <div id="collapseAdmission" class="accordion-collapse collapse" aria-labelledby="headingAdmission" data-bs-parent="#accordionAdmission">
                        <div class="accordion-body">
                            <br>
                            <div class="row text-align">
                                <p class="text-center">
                                    <b>
                                        Welcome to the Program. You are now required to pay the admission fees to complete your admission.
                                        <br>
                                        We wish you a great experience of learning in your association with BITS Pilani
                                    </b>
                                </p>
                            </div>
                        <br>
                        <div class="row fs-3" style="color: rgb(12, 12, 112);">
                            <div class="col-md-offset-2 col-md-8">
                            <span>Fee Amount &nbsp;&nbsp;&nbsp;
                            <span class="fw-bold">: {{ap_fee_amount}}</span></span>
                            </div>
                        </div>
                            
                            <div class="row">
                            <div class="col-md-offset-1 col-md-8">
                                <div class="col-md-12">
                                {% if messages %}
                                <ul class="messages" style="color: red">
                                    {% for message in messages %}
                                        <li {% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
                                    {% endfor %}
                                </ul>
                                {% endif %}
                                </div>
                            </div>
                            </div><br>
                            <!-- check for admission flag -->
                            {% if is_adm_inactive %}
                            <div class="row">
                                <div class="col-md-offset-2 col-md-10">
                                {% include 'inclusions/deactivate_prog_msg.html' %}
                                </div>
                            </div>
                            {% else %}
                            <!-- paytm -->
                            <div class="container">
                                <div class="d-flex flex-wrap justify-content-evenly align-items-stretch text-center">
                                    {% if is_paytm %}
                                    <div class="pt-3">
                                        <a id="pay-tm" href="{% if active_emi %} # {% else %} {% url 'bits_rest:paytm:adm_payment' %} {% endif %}" class="btn custom-pay-btn btn-primary {% if active_emi %} disabled {% endif %}">Pay through PayTm Gateway</a>
                                        <br><a class="fs-5" href={% static "static_pdf/Paytm.pdf" %} target="_blank"><u>View Payment Charge Details</u></a>
                                    </div>
                                    {% endif %}
                                    <!-- tech process -->
                                    <div>
                                        <form id="tpsl-form" method='post'
                                        {% if not active_emi  %}
                                            action="{% url 'registrationForm:payment-adm-redirect' %}" 
                                        {% else %}          
                                            action="#" disabled
                                        {%endif %}>
                                            {% csrf_token %}
                                            <input type="submit" name="tpsl-pay" value="Direct Payment" class="btn custom-pay-btn btn-primary">
                                            <br><a class="fs-5" href={% static "static_pdf/Techprocess.pdf" %} target="_blank"><u>View Payment Charge Details</u></a>
                                        </form>
                                    </div>
                                    <!-- emi -->
                                    <!-- eduvanz -->
                                    {% if eduvanz_form %}
                                    <div>
                                    {% if eduvanz_declined%}
                                        <a class="btn" style="pointer-events: none;">Your loan application is rejected.<br>You cannot re-apply to Eduvanz for another loan</a>
                                    {% elif eduvanz_progress %}
                                        <a href="https://eduvanz.com/sign" target="_blank" class="btn custom-pay-btn btn-primary">Go to Eduvanz Site for Loan Status and Actions</a>
                                        <br>
                                        <br>
                                        You have Applied for a loan with Eduvanz with Loan ID - <strong>{{eduvanz_progress.order_id}}</strong>. The current status of your loan is <strong>{{eduvanz_progress.get_status_code_display}}</strong>
                                    {%endif%}
                                    {% if eduvanz_declined %}
                                    {% elif not eduvanz_declined  %}
                                        <form  id="eduvanz-form" method="post"
                                        {% if  active_emi and not eduvanz_progress %}
                                        action="#" disabled
                                        {% else %}
                                            action="{% url 'bits_rest:eduvanz:application' %}"
                                        {% endif %}  
                                        {% comment %} {% if not active_propelld %}
                                            action="{% url 'bits_rest:eduvanz:application' %}"
                                        {% elif  active_emi and not eduvanz_progress %}
                                            action="#" disabled
                                            {%else%}
                                            action="{% url 'bits_rest:eduvanz:application' %}"
                                            {%endif%} {% endcomment %}
                                        >
                                            {% csrf_token %}
                                            {{eduvanz_form.id}}
                                            {% if not eduvanz_progress and not eduvanz_declined %}
                                                <input type='submit' class="btn custom-pay-btn btn-primary" value="Pay Using Eduvanz (EMI)"><br>
                                            {% endif %}
                                            {{eduvanz_form.application}}
                                            {{eduvanz_form.amount_requested}}
                                        </form>
                                    {%endif%}
                                    </div>
                                    {% endif %}            
                                    <!-- propelld -->
                                    {% if propelld_form %}
                                    <div>
                                    {% if propelld_data.status == "REJECTED" %}
                                        <a class="btn" style="pointer-events: none;">You cannot apply for another No Cost EMI (Fintech) <br>as your prior application has been Rejected</a>
                                    {% else %}
                                        <form id="propelld-form" method="post" 
                                        {% if active_emi and not propelld_progress %}
                                        action = "#" disabled
                                        {% else %}
                                        action="{% url 'bits_rest:propelld:application' %}"
                                        {% endif %}
                                        >
                                            {% csrf_token %}
                                            {% if propelld_progress and not propelld_data.status == "REJECTED" and not propelld_data.status == "DROPPED"%}
                                                <input type='submit' class="btn custom-pay-btn btn-primary" value="Resume Your No Cost EMI (Fintech) Application"><br>
                                            {% elif propelld_data.status == "REJECTED" %}
                                                <a href="#" class="btn custom-pay-btn btn-primary disabled">No Cost EMI (Fintech) is Rejected</a>
                                            {% else %}
                                                <input type='submit' class="btn custom-pay-btn btn-primary" value="No Cost EMI (Fintech)"><br>
                                            {% endif %}
                                            {{propelld_form.loan_amount}}
                                        </form>
                                    {% endif %}
                                    </div>
                                    {% endif %} 
                                    {% if is_gq_enabled %}
                                    <div>
                                    {% if gq_decline %}
                                        <a class="btn" style="pointer-events: none; text-align: left; margin-top:-3%; color:#337ab7;">Your No Cost EMI (Fintech) application is declined.<br>Please try other payment methods provided on the screen.</a>
                                    {% else %}
                                        <form id="gq-form" method="post" 
                                            {% if active_emi and not gq_progress %}
                                            action="#" disabled
                                            {% else %}
                                            action="{% url 'registrationForm:gq_adm_fee_view' %}"
                                            {% endif %}
                                        >
                                        {% csrf_token %}
                                        <input type="hidden" name="application_id" value="{{ap_id}}">
                                        <input type="hidden" name="student" value="{{ student_id }}">
                                        <input type="hidden" name="email_id" value="{{email}}">
                                        <input type="hidden" name="amount_requested" value="{{amount_requested}}">
                                        <input type="hidden" name="name" value="{{name}}">
                                        <input type="hidden" name="program" value="{{program}}">
                                        <input type="hidden" name="mobile" value="{{mobile}}">
                                        <input type="hidden" name="address_pin_code" value="{{address_pin_code}}">
                                        <input type="hidden" name="plan_id" value="{{gq_plan_id}}">
                                        {% if gq_progress %}
                                        <input type="submit" class="btn custom-pay-btn btn-primary" value="Resume No Cost EMI (Fintech)">
                                        {% else %}
                                        <input type="submit" class="btn custom-pay-btn btn-primary" value="No Cost EMI (Fintech)">
                                        {% endif %}
                                        <br>
                                        </form>
                                    {% endif %}
                                    </div>
                                    {% endif %}
                                    {% if is_payu_enabled %}
                                    <div>
                                    {% if payu_decline %}
                                        <a class="btn" style="pointer-events: none; text-align: left; margin-top:-3%; color:#337ab7;">Your No Cost EMI (Credit Card)application is failed.<br>Please try other payment methods provided on the screen.</a>
                                    {% else %}
                                        <form id="payu-form" method="post" 
                                        {% if active_emi  %}
                                        action="#" disabled
                                        {% else %} action="{% url 'registrationForm:payu_payment' %}"
                                        {% endif %} >
                                        {% csrf_token %}
                                            <input type="hidden" name="application_id" value="{{ap_id}}">
                                            <input type="hidden" name="student" value="{{student_id}}">
                                            <input type="hidden" name="email_id" value="{{email}}">
                                            <input type="hidden" name="amount_requested" value="{{payu_loan_amount}}">
                                            <input type="hidden" name="name" value="{{name}}">
                                            <input type="hidden" name="program" value="{{program}}">
                                            <input type="hidden" name="mobile" value="{{mobile}}">
                                            <input type="submit" class="btn custom-pay-btn btn-primary" value="No Cost EMI (Credit Card)">
                                            <br>
                                        </form>
                                    {% endif %}
                                    </div>
                                    {% endif %}
                                </div>
                            </div>
                            {% endif %}
                        </div>
                    </div>
                </div>
            </div>
        </div>
Editor is loading...
Leave a Comment