Merge branch 'ticket-testing' into 'master'
Enable adding voucher from the review screen See merge request LCA2018/symposion_app!52
This commit is contained in:
commit
74a56d6bf3
2 changed files with 16 additions and 0 deletions
1
docs/registrasion
Symbolic link
1
docs/registrasion
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../vendor/registrasion/docs/
|
|
@ -9,7 +9,22 @@
|
||||||
t-shirts and social event tickets.
|
t-shirts and social event tickets.
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts_extra %}
|
||||||
|
{{ voucher_form.media.js }}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function showVoucherForm() {
|
||||||
|
$("#voucher-form").show();
|
||||||
|
$("#voucher-form-button").hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<button id="voucher-form-button" class="btn" onclick="showVoucherForm()">Enter voucher code</button>
|
||||||
|
|
||||||
{% items_pending as pending %}
|
{% items_pending as pending %}
|
||||||
{% if pending %}
|
{% if pending %}
|
||||||
|
|
Loading…
Reference in a new issue