mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-14 09:23:09 +00:00
Added Student Admissions (#6359)
* Added Student Admissions * Fixes for Student Application
This commit is contained in:
committed by
Rushabh Mehta
parent
33d18dbc9a
commit
83d81203b2
49
erpnext/templates/generators/student_admission.html
Normal file
49
erpnext/templates/generators/student_admission.html
Normal file
@@ -0,0 +1,49 @@
|
||||
|
||||
{% 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>
|
||||
|
||||
<p>
|
||||
<a class='btn btn-primary'
|
||||
href='/student-applicant?program={{ doc.program }}&academic_year={{ doc.academic_year }}&new=1'>
|
||||
{{ _("Apply Now") }}</a>
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user