|
|
|
@ -1,27 +1,27 @@ |
|
|
|
|
{% if pdf_title %} |
|
|
|
|
<h2 align="center"> {{ pdf_title }} </h2> |
|
|
|
|
<h2>{{ pdf_title }}</h2> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if pdf_description %} |
|
|
|
|
{{ pdf_description }} |
|
|
|
|
<br /><br /> |
|
|
|
|
<br/><br/> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
<table align="center" width="100%" class="table table-hover table-striped table-bordered data_table"> |
|
|
|
|
{% if pdf_student_info %} |
|
|
|
|
<tr> |
|
|
|
|
<td style="background-color: #E5E5E5; text-align: left; width:130px; "> |
|
|
|
|
<strong>{{ "Student" | get_lang }}:</strong>blob:https://web.whatsapp.com/d7b63bbf-cfa5-4c3f-a277-23eb52dfde4f |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
{{ pdf_student_info.complete_name }} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td style="background-color: #E5E5E5; text-align: left; width:130px; "> |
|
|
|
|
<strong>{{ "Student"|get_lang }}</strong> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
{{ pdf_student_info.complete_name }} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
{% endif %} |
|
|
|
|
{% if pdf_teachers %} |
|
|
|
|
<tr> |
|
|
|
|
<td style="background-color: #E5E5E5; text-align: left; width:130px;"> |
|
|
|
|
<strong>{{ "Teacher" | get_lang }}:</strong> |
|
|
|
|
<strong>{{ "Teacher"|get_lang }}</strong> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
{{ pdf_teachers }} |
|
|
|
@ -32,88 +32,88 @@ |
|
|
|
|
{% if pdf_session_info %} |
|
|
|
|
<tr> |
|
|
|
|
<td style="background-color: #E5E5E5; text-align: left; width:130px;" {{ pdf_session_info.description ? '' : 'colspan="2"' }}> |
|
|
|
|
<strong>{{ "Session" | get_lang }}:</strong> {{ pdf_session_info.name }} |
|
|
|
|
<strong>{{ "Session"|get_lang }}</strong> {{ pdf_session_info.name }} |
|
|
|
|
</td> |
|
|
|
|
|
|
|
|
|
{% if pdf_session_info.description %} |
|
|
|
|
<td> |
|
|
|
|
<strong>{{ "Description" | get_lang }}:</strong> {{ pdf_session_info.description }} |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<strong>{{ "Description"|get_lang }}</strong> {{ pdf_session_info.description }} |
|
|
|
|
</td> |
|
|
|
|
{% endif %} |
|
|
|
|
</tr> |
|
|
|
|
|
|
|
|
|
{% if pdf_session_info.access_start_date != '' and pdf_session_info.access_end_date is not empty and pdf_session_info.access_end_date != '0000-00-00' %} |
|
|
|
|
<tr> |
|
|
|
|
<td style="background-color: #E5E5E5; text-align: left; width:130px;"> |
|
|
|
|
<strong>{{ "PeriodToDisplay"|get_lang }}</strong> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
{{ "FromDateXToDateY"| get_lang|format(pdf_session_info.access_start_date_to_local_time, pdf_session_info.access_end_date_to_local_time ) }} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
{% endif %} |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if pdf_course_info %} |
|
|
|
|
<tr> |
|
|
|
|
<td style="background-color: #E5E5E5; text-align: left; width:130px;"> |
|
|
|
|
<strong>{{ "PeriodToDisplay" | get_lang }}:</strong> |
|
|
|
|
<strong>{{ "Course"|get_lang }}</strong> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
{{ "FromDateXToDateY"| get_lang | format(pdf_session_info.access_start_date_to_local_time, pdf_session_info.access_end_date_to_local_time ) }} |
|
|
|
|
{{ pdf_course_info.title }} ({{ pdf_course_info.code }}) |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
{% endif %} |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if pdf_course_info %} |
|
|
|
|
<tr> |
|
|
|
|
<td style="background-color: #E5E5E5; text-align: left; width:130px;"> |
|
|
|
|
<strong>{{ "Course" | get_lang }}:</strong> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
{{ pdf_course_info.title }} ({{ pdf_course_info.code }}) |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
{% if pdf_course_category %} |
|
|
|
|
<tr> |
|
|
|
|
<td> <strong>{{ "Category" | get_lang }}:</strong></td> |
|
|
|
|
<td><strong>{{ "Category"|get_lang }}</strong></td> |
|
|
|
|
<td> {{ pdf_course_category }} </td> |
|
|
|
|
</tr> |
|
|
|
|
{% endif %} |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if pdf_date %} |
|
|
|
|
<tr> |
|
|
|
|
<td style="background-color: #E5E5E5; text-align: left; width:130px;"> |
|
|
|
|
<strong>{{ "Date" | get_lang }}:</strong> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
{{ pdf_date }} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if extra_rows %} |
|
|
|
|
{% for row in extra_rows %} |
|
|
|
|
<tr> |
|
|
|
|
<td style="background-color: #E5E5E5; text-align: left; width:130px;"> |
|
|
|
|
<strong>{{ row.label }}:</strong> |
|
|
|
|
<strong>{{ "Date"|get_lang }}</strong> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
{{ row.content }} |
|
|
|
|
{{ pdf_date }} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if extra_rows %} |
|
|
|
|
{% for row in extra_rows %} |
|
|
|
|
<tr> |
|
|
|
|
<td style="background-color: #E5E5E5; text-align: left; width:130px;"> |
|
|
|
|
<strong>{{ row.label }}</strong> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
{{ row.content }} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
{% endfor %} |
|
|
|
|
{% endif %} |
|
|
|
|
</table> |
|
|
|
|
<br /> |
|
|
|
|
<br/> |
|
|
|
|
|
|
|
|
|
{% if show_grade_generated_date == true %} |
|
|
|
|
<h5 align="right" class="generated_date"> |
|
|
|
|
{{ 'GradeGeneratedOnX' | get_lang | format("now"| date("d/m/Y")) }} |
|
|
|
|
</h5> |
|
|
|
|
<h5 align="right" class="generated_date"> |
|
|
|
|
{{ 'GradeGeneratedOnX'|get_lang|format("now"| date("d/m/Y")) }} |
|
|
|
|
</h5> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{{ pdf_content }} |
|
|
|
|
|
|
|
|
|
{% if not add_signatures is empty %} |
|
|
|
|
<br /> |
|
|
|
|
<br /> |
|
|
|
|
<br/> |
|
|
|
|
<br/> |
|
|
|
|
<table class="table"> |
|
|
|
|
<tr> |
|
|
|
|
{% for signature in add_signatures %} |
|
|
|
|
<td class="text-center"> |
|
|
|
|
_____________________________ |
|
|
|
|
<br /> |
|
|
|
|
<br/> |
|
|
|
|
{{ signature|get_lang }} |
|
|
|
|
</td> |
|
|
|
|
{% endfor %} |
|
|
|
|