{% load i18n %}

{% blocktrans with object.corp_profile.name as bname %}Thank you for applying for the corporate membership "{{ bname }}" on {{ SITE_GLOBAL_SITEDISPLAYNAME }}.{% endblocktrans %}

{% if object.authentication_method == 'secret_code' %}

{% blocktrans %}For individuals to join under your corporate membership, use the following secret code:{% endblocktrans %}
{{ object.corp_profile.secret_code }}

{% endif %} {% if invoice.balance <= 0 %}

{% trans "To view the invoice, go to:" %} {{ SITE_GLOBAL_SITEURL }}{% url invoice.view invoice.pk %}

{% else %} {% if object.payment_method == 'cc' or object.payment_method == 'credit card' %}

{% trans "To make online credit card payment, go to the invoice view page and make online payment from there." %} {{ SITE_GLOBAL_SITEURL }}{% url invoice.view invoice.pk %}

{% endif %} {% endif %} {% if object.status_detail == "pending" %}

{% trans "You will be notified by email when your corporate membership is approved." %}

{% trans "Your corporate membership has to be approved before individuals can join under your corporate membership." %}

{% else %}

{% trans "To view this corporate membership, go to:" %} {{ SITE_GLOBAL_SITEURL }}{% url corpmembership.view object.pk %}

{% endif %}

{% trans "Thanks!" %}

{{ SITE_GLOBAL_SITEDISPLAYNAME }}

{% trans "Time submitted:" %} {% now "D d M Y P" %}