Add view to print PDF examination compensation form
This commit is contained in:
parent
7d80994587
commit
66cd4b7a8c
5 changed files with 194 additions and 7 deletions
|
|
@ -149,9 +149,11 @@ class StudentAdmin(admin.ModelAdmin):
|
|||
if obj.klass.section.name == 'EDE' and obj.klass.level.name == "3":
|
||||
return format_html(
|
||||
'<a class="button" href="{}">Courrier pour l’expert</a> '
|
||||
'<a class="button" href="{}">Mail convocation soutenance</a>',
|
||||
'<a class="button" href="{}">Mail convocation soutenance</a> ',
|
||||
'<a class="button" href="{}">Indemnité aux experts</a>',
|
||||
reverse('print-pdf-to-expert-ede', args=[obj.pk]),
|
||||
reverse('student-ede-convocation', args=[obj.pk])
|
||||
reverse('student-ede-convocation', args=[obj.pk]),
|
||||
reverse('examination-compensation', args=[obj.pk])
|
||||
)
|
||||
else:
|
||||
return ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue