1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

🐛 Fix entry page view

This commit is contained in:
Yohann D'ANELLO
2020-08-29 23:06:50 +02:00
parent 4cb162de87
commit c5f40e0952
2 changed files with 9 additions and 16 deletions

View File

@ -130,19 +130,11 @@ SPDX-License-Identifier: GPL-3.0-or-later
$.post("/api/note/transaction/transaction/", {
"csrfmiddlewaretoken": CSRF_TOKEN,
"quantity": 1,
"amount": {
{
activity.activity_type.guest_entry_fee
}
},
"amount": {{ activity.activity_type.guest_entry_fee }},
"reason": "Crédit " + credit_name +
" (invitation {{ activity.name }})",
"valid": true,
"polymorphic_ctype": {
{
notespecial_ctype
}
},
"polymorphic_ctype": {{ notespecial_ctype }},
"resourcetype": "SpecialTransaction",
"source": credit_id,
"destination": target.attr('data-inviter'),