{% extends "layouts/dashboard.html" %} {% load ui_tags %} {% block breadcrumbs %} {% url 'core:dashboard' as dashboard_url %} {% url 'rims_scholarships:stipend_list' as stipend_list_url %} {% crumb_trail "Dashboard" dashboard_url "RIMS" "" "Stipends" stipend_list_url "Record stipend" "" as breadcrumbs %} {% include "components/breadcrumbs.html" %} {% endblock %} {% block content %} {% include "components/page_header.html" with title="Record stipend payment" subtitle=scholar.user.email|default:"" eyebrow="Scholarship finance" %}
{% csrf_token %} {% include "components/forms/non_field_errors.html" with form=form %}

Stipend

Payment details

{% include "components/form_field.html" with field=form.scholar required=1 %}
{% include "components/form_field.html" with field=form.amount required=1 %} {% include "components/form_field.html" with field=form.currency required=1 %}
{% include "components/form_field.html" with field=form.paid_on required=1 %}
{% include "components/form_field.html" with field=form.reference hint="Optional — bank reference, mobile-money ID, or cheque number." %}
{% if scholar %}{% url 'rims_scholarships:scholar_detail' scholar.pk as cancel_url %}{% else %}{% url 'rims_scholarships:stipend_list' as cancel_url %}{% endif %} {% include "components/form_actions.html" with cancel_url=cancel_url submit_label="Save stipend" %}
{% endblock %}