1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-29 19:51:09 +02:00

Support des lettres de motivation

This commit is contained in:
Yohann D'ANELLO
2020-01-18 14:43:42 +01:00
parent b9299a31d0
commit 7d6e899f76
8 changed files with 87 additions and 14 deletions

View File

@ -271,6 +271,7 @@ class DocumentType
const SOLUTION = 3;
const SYNTHESIS = 4;
const SCHOLARSHIP = 5;
const MOTIVATION_LETTER = 6;
public static function getTranslatedName($type) {
switch ($type) {
@ -282,6 +283,8 @@ class DocumentType
return "Fiche sanitaire";
case self::SCHOLARSHIP:
return "Notification de bourse";
case self::MOTIVATION_LETTER:
return "Lettre de motivation";
case self::SOLUTION:
return "Solution";
default:
@ -299,6 +302,8 @@ class DocumentType
return "SANITARY_PLUG";
case self::SCHOLARSHIP:
return "SCHOLARSHIP";
case self::MOTIVATION_LETTER:
return "MOTIVATION_LETTER";
case self::SOLUTION:
return "SOLUTION";
default:
@ -316,6 +321,8 @@ class DocumentType
return self::SANITARY_PLUG;
case "SCHOLARSHIP":
return self::SCHOLARSHIP;
case "MOTIVATION_LETTER":
return self::MOTIVATION_LETTER;
case "SOLUTION":
return self::SOLUTION;
default: