forked from ScoDoc/ScoDoc
Merge pull request 'fix afffichage bulletin si date naissance ansente' (#218) from jmplace/ScoDoc-Lille:fix_no_birthdate into master
Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/218
This commit is contained in:
commit
683b760341
@ -58,8 +58,13 @@ function showInformations(data) {
|
|||||||
<div class=civilite>
|
<div class=civilite>
|
||||||
${civilite(data.etudiant.civilite)}
|
${civilite(data.etudiant.civilite)}
|
||||||
${data.etudiant.nom}
|
${data.etudiant.nom}
|
||||||
${data.etudiant.prenom}
|
${data.etudiant.prenom}`;
|
||||||
né${(data.etudiant.civilite == "F") ? "e" : ""} le ${ISOToDate(data.etudiant.date_naissance)}
|
|
||||||
|
if(data.etudiant.date_naissance){
|
||||||
|
output += `né${(data.etudiant.civilite == "F") ? "e" : ""} le ${ISOToDate(data.etudiant.date_naissance)}`;
|
||||||
|
}
|
||||||
|
|
||||||
|
output += `
|
||||||
</div>
|
</div>
|
||||||
<div class=numerosEtudiant>
|
<div class=numerosEtudiant>
|
||||||
Numéro étudiant : ${data.etudiant.code_nip}
|
Numéro étudiant : ${data.etudiant.code_nip}
|
||||||
|
Loading…
Reference in New Issue
Block a user