mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 16:03:21 +00:00
97 lines
3.8 KiB
HTML
97 lines
3.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>{{ pdf_title }}</title>
|
|
<style type="text/css">
|
|
body {
|
|
font-weight: 200;
|
|
font-size: 14px;
|
|
}
|
|
.header {
|
|
font-size: 20px;
|
|
font-weight: 100;
|
|
text-align: center;
|
|
color: #007cae;
|
|
}
|
|
.title {
|
|
font-size: 22px;
|
|
font-weight: 100;
|
|
/* text-align: right;*/
|
|
padding: 10px 20px 0px 20px;
|
|
}
|
|
.title span {
|
|
color: #007cae;
|
|
}
|
|
.details {
|
|
padding: 10px 20px 0px 20px;
|
|
text-align: left !important;
|
|
/*margin-left: 40%;*/
|
|
}
|
|
.hrItem {
|
|
border: none;
|
|
height: 1px;
|
|
/* Set the hr color */
|
|
color: #333; /* old IE */
|
|
background-color: #fff; /* Modern Browsers */
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
{% load myTemplateTag %}
|
|
<div class='wrapper'>
|
|
<div class='header'>
|
|
<p class='title'>{{ pdf_title }}</p>
|
|
</div>
|
|
<div>
|
|
<div class='details'>
|
|
Signé le : <b>{{ signatureDate }}</b> <br/>
|
|
A : <b>{{ signatureTime }}</b>
|
|
<hr class='hrItem' />
|
|
<h1>ELEVE</h1>
|
|
{% with level=student|getStudentLevel %}
|
|
{% with gender=student|getStudentGender %}
|
|
NOM : <b>{{ student.last_name }}</b> <br/>
|
|
PRENOM : <b>{{ student.first_name }}</b> <br/>
|
|
ADRESSE : <b>{{ student.address }}</b> <br/>
|
|
GENRE : <b>{{ gender }}</b> <br/>
|
|
NE(E) LE : <b>{{ student.birth_date }}</b> <br/>
|
|
A : <b>{{ student.birth_place }} ({{ student.birth_postal_code }})</b> <br/>
|
|
NATIONALITE : <b>{{ student.nationality }}</b> <br/>
|
|
NIVEAU : <b>{{ level }}</b> <br/>
|
|
MEDECIN TRAITANT : <b>{{ student.attending_physician }}</b> <br/>
|
|
{% endwith %}
|
|
{% endwith %}
|
|
<hr class='hrItem' />
|
|
<h1>RESPONSABLES</h1>
|
|
{% with guardians=student.getGuardians %}
|
|
{% with siblings=student.getGuardians %}
|
|
{% for guardian in guardians%}
|
|
<h2>Guardian {{ forloop.counter }}</h2>
|
|
NOM : <b>{{ guardian.last_name }}</b> <br/>
|
|
PRENOM : <b>{{ guardian.first_name }}</b> <br/>
|
|
ADRESSE : <b>{{ guardian.address }}</b> <br/>
|
|
NE(E) LE : <b>{{ guardian.birth_date }}</b> <br/>
|
|
MAIL : <b>{{ guardian.email }}</b> <br/>
|
|
TEL : <b>{{ guardian.phone }}</b> <br/>
|
|
PROFESSION : <b>{{ guardian.profession }}</b> <br/>
|
|
{% endfor %}
|
|
<hr class='hrItem' />
|
|
<h1>FRATRIE</h1>
|
|
{% for sibling in siblings%}
|
|
<h2>Frère - Soeur {{ forloop.counter }}</h2>
|
|
NOM : <b>{{ sibling.last_name }}</b> <br/>
|
|
PRENOM : <b>{{ sibling.first_name }}</b> <br/>
|
|
NE(E) LE : <b>{{ sibling.birth_date }}</b> <br/>
|
|
{% endfor %}
|
|
<hr class='hrItem' />
|
|
<h1>MODALITES DE PAIEMENT</h1>
|
|
{% with paymentMethod=student|getStudentPaymentMethod %}
|
|
<b>{{ paymentMethod }}</b> <br/>
|
|
{% endwith %}
|
|
{% endwith %}
|
|
{% endwith %}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |