ljp vbk generation
parent
5227efe17b
commit
f59a97578c
@ -0,0 +1,56 @@
|
|||||||
|
{% extends "admin/base_site.html" %}
|
||||||
|
{% load i18n admin_urls static %}
|
||||||
|
|
||||||
|
{% block extrahead %}
|
||||||
|
{{ block.super }}
|
||||||
|
{{ media }}
|
||||||
|
<script src="{% static 'admin/js/cancel.js' %}" async></script>
|
||||||
|
<script type="text/javascript" src="{% static "admin/js/vendor/jquery/jquery.js" %}"></script>
|
||||||
|
<script type="text/javascript" src="{% static "admin/js/jquery.init.js" %}"></script>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} invite-waiter
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block breadcrumbs %}
|
||||||
|
<div class="breadcrumbs">
|
||||||
|
<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>
|
||||||
|
› <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>
|
||||||
|
› <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>
|
||||||
|
› <a href="{% url opts|admin_urlname:'change' object.pk|admin_urlquote %}">{{ object|truncatewords:"18" }}</a>
|
||||||
|
› {% translate 'Generate LJP V-BK form' %}
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
|
||||||
|
<p>
|
||||||
|
{% blocktrans %}Every LJP application needs a V-BK form containing the most important facts about the seminar.
|
||||||
|
Here you can automatically generate such a form in Excel format.{% endblocktrans %}
|
||||||
|
</p>
|
||||||
|
{% if not memberlist.statement %}
|
||||||
|
<p>
|
||||||
|
{% blocktrans %}Your excursion currently has no cost-plan attached, hence the total costs can't be automatically
|
||||||
|
calculated and added to the form.{% endblocktrans %}
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
<p>
|
||||||
|
{% blocktrans %}Depending on the type of seminar, please select one of the two options below.{% endblocktrans %}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<form action="" method="post">
|
||||||
|
{% csrf_token %}
|
||||||
|
<p>
|
||||||
|
<table>
|
||||||
|
{{ form }}
|
||||||
|
</table>
|
||||||
|
</p>
|
||||||
|
<br>
|
||||||
|
<input type="hidden" name="action" value="seminar_vbk">
|
||||||
|
<input type="hidden" name="seminar_vbk">
|
||||||
|
<input class="default" style="color: $default-link-color" type="submit" name="apply"
|
||||||
|
value="{% translate 'Generate' %}">
|
||||||
|
<a href="#" class="button cancel-link">{% translate "Cancel" %}</a>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue