{% extends "base.html" %} {% import "macros/modal.html" as modal %} {% block content %}
{% set app = application %} {% set has_gateway = online_payment_available %} {% set has_upi = upi_payment_available and app.upi_payment_uri %} {% set awaiting_approval = app.status == 'submitted_for_approval' or app.status == 'pending_payment' or app.status == 'payment_claimed' or app.status == 'payment_confirmed' %} {% set fee_is_paid = fee_paid | default(value=false) or app.due_status == 'paid' %} {% set show_qr = show_upi_qr | default(value=false) or (awaiting_approval and not fee_is_paid and has_upi) %} {% set show_pay = awaiting_approval and not fee_is_paid and (has_gateway or has_upi) %}

{{ app.profile_name }}

{{ app.status | replace(from='_', to=' ') }}

Application status

  • Submitted
  • {{ labels.signatory_label | default(value='Signatory') }} review
  • Badge issued
{% if awaiting_approval %}

Your membership application has been submitted for approval. A {{ labels.signatory_label | default(value='signatory') | lower }} will review it shortly.

{% if fee_is_paid %}

Fee payment received.

{% elif show_pay %}

Fee payment

Fee due: {{ currency_symbol }}{{ app.due_amount | default(value=app.fee_amount) | price }}

{% if has_gateway %}

Paying with the online gateway issues your badge right away. UPI/QR still goes to signatory review.

{% endif %}
{% if has_gateway %}
{% if active_gateway %}{{ active_gateway | replace(from='-', to=' ') | title }}{% else %}Online gateway{% endif %} Pay securely online — membership is issued immediately (no signatory wait).
{% endif %} {% if show_qr %}
UPI / QR Scan or tap to pay. This QR stays available until your membership is approved.
{% if show_upi_intent_button %} Pay with UPI app

Or pay via QR

{% else %}

Pay via QR

{% endif %}

Tap the QR to open your UPI apps for payment. If it doesn't work, take a screenshot of the QR code and scan it from any UPI app.

{% endif %}
{% else %}

Fee due: {{ currency_symbol }}{{ app.due_amount | default(value=app.fee_amount) | price }}. No online payment methods are configured yet.

{% endif %} {% elif app.status == 'approved' %}

Membership approved!

View badge {% elif app.status == 'rejected' %}

Application rejected{% if app.rejection_reason %}: {{ app.rejection_reason }}{% endif %}

You can review your submitted details on the right, update them, and submit a new application.

Reapply with updated details {% endif %}

Your details

{% if app.profile_data %}
{% for key, val in app.profile_data %}
{{ app.profile_field_labels[key] | default(value=key | replace(from='_', to=' ') | title) }}
{{ val }}
{% endfor %}
{% else %}

No profile data.

{% endif %}
{{ modal::modal(id="membership-payment-modal", title="Complete payment", body_html='

', footer_html='', modal_attrs='data-plugin="membership"') }}
{% endblock %} {% block scripts %} {% endblock %}