From c868b44f7b51c63bb4bc2684f522a70021d3bc06 Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Sun, 24 Nov 2019 15:31:45 +0100 Subject: [PATCH] Add absences, unexcused lessons and tardiness to printout. --- .../alsijil/print/full_register.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/biscuit/apps/alsijil/templates/alsijil/print/full_register.html b/biscuit/apps/alsijil/templates/alsijil/print/full_register.html index 8485ea198..dfd2a833a 100644 --- a/biscuit/apps/alsijil/templates/alsijil/print/full_register.html +++ b/biscuit/apps/alsijil/templates/alsijil/print/full_register.html @@ -195,6 +195,25 @@ </table> {% endif %} + <h3>{% trans 'Absences and tardiness' %}</h3> + <table> + <thead> + <tr> + <th>{% trans 'Absences' %}</th> + <th>{% trans 'Unexcused' %}</th> + <th>{% trans 'Tardiness' %}</th> + </tr> + </thead> + + <tbody> + <tr> + <td>{{ person.absences }}</td> + <td>{{ person.unexcused }}</td> + <td>{{ person.tardiness </td> + </tr> + </tbody> + </table> + <h3>{% trans 'Relevant personal notes' %}</h3> <table> <thead> -- GitLab