brotherton-erpnext/erpnext/templates/generators/student_admission.html

52 lines
1.1 KiB
HTML
Raw Normal View History

{% extends "templates/web.html" %}
{% block breadcrumbs %}
{% include "templates/includes/breadcrumbs.html" %}
{% endblock %}
{% block header %}
<h1>{{ program }}</h1>
{% endblock %}
{% block page_content %}
{%- if introduction -%}
<div>{{ introduction }}</div>
{% endif %}
{%- if eligibility -%}
<h3> Eligibility </h3>
<div>{{ eligibility }}</div>
{% endif %}
<table class="table table-bordered" style="margin-top: 20px; width: 30%">
<tr>
<th> Academic Year</th>
<td>{{ academic_year }} </td>
</tr>
<tr>
<th> Admission Start Date</th>
<td>{{ frappe.utils.formatdate(admission_start_date) }}</td>
</tr>
<tr>
<th> Admission End Date</th>
<td>{{ frappe.utils.formatdate(admission_end_date) }}</td>
</tr>
<tr>
<th> Application Fee</th>
<td>{{ frappe.utils.fmt_money(application_fee, 2, currency) }}</td>
</tr>
</table>
{%- if application_form_route -%}
<p>
<a class='btn btn-primary'
href='/{{ doc.application_form_route }}?program={{ doc.program }}&academic_year={{ doc.academic_year }}&new=1'>
{{ _("Apply Now") }}</a>
</p>
{% endif %}
{% endblock %}