10/01/23 - 20h

recette2
cherif 2023-01-10 20:45:39 +01:00
parent fa8dbd6741
commit 1ba188e230
4 changed files with 5053 additions and 537 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2270,10 +2270,9 @@ function GestionAdministrative(props) {
<option value={(JSON.parse(session).formation_session_id)}> <option value={(JSON.parse(session).formation_session_id)}>
{(JSON.parse(session).date_debut).substring(0, 10)} au {(JSON.parse(session).date_fin).substring(0, 10)} - {(JSON.parse(session).date_debut).substring(0, 10)} au {(JSON.parse(session).date_fin).substring(0, 10)} -
{(JSON.parse(session).distantiel) === "1" && " A Distantiel - "} {(JSON.parse(session).distantiel) === "1" && " A Distance - "}
{(JSON.parse(session).presentiel) === "1" && " En Présentiel - "} {(JSON.parse(session).presentiel) === "1" && " En Présentiel - "+(JSON.parse(session).adresse)} &nbsp;{(JSON.parse(session).code_postal) }
{(JSON.parse(session).adresse)} &nbsp;{(JSON.parse(session).code_postal)}
</option> </option>
))} ))}

View File

@ -620,30 +620,11 @@ function Inscription_Information(props) {
<option value={JSON.parse(formation).formation_session_id}> <option value={JSON.parse(formation).formation_session_id}>
{JSON.parse(formation).code_postal === "0" && {(JSON.parse(formation).date_debut).substring(0, 10)} au {(JSON.parse(formation).date_fin).substring(0, 10)} -
String(JSON.parse(formation).date_debut) === String(JSON.parse(formation).date_fin) && {(JSON.parse(formation).distantiel) === "1" && " A Distance - "}
"Le " + String(JSON.parse(formation).date_debut).substring(0, 10) + + " EN LIGNE" {(JSON.parse(formation).presentiel) === "1" && " En Présentiel - "+(JSON.parse(formation).adresse)+" "+(JSON.parse(formation).code_postal)}
}
{JSON.parse(formation).code_postal === "0" &&
String(JSON.parse(formation).date_debut) !== String(JSON.parse(formation).date_fin) &&
String(JSON.parse(formation).date_debut).substring(0, 10) + " au " + String(JSON.parse(formation).date_fin).substring(0, 10) + " EN LIGNE"
}
{String(JSON.parse(formation).code_postal) !== "0" &&
String(JSON.parse(formation).date_debut) === String(JSON.parse(formation).date_fin) &&
"Le " + String(JSON.parse(formation).date_debut).substring(0, 10) + " au " + JSON.parse(formation).adresse +
" " + JSON.parse(formation).code_postal + " " + JSON.parse(formation).ville
}
{JSON.parse(formation).code_postal !== "0" &&
String(JSON.parse(formation).date_debut) !== String(JSON.parse(formation).date_fin) &&
String(JSON.parse(formation).date_debut).substring(0, 10) + " au " + String(JSON.parse(formation).date_fin).substring(0, 10) + " au " +
JSON.parse(formation).adresse + " " + JSON.parse(formation).code_postal + " " + JSON.parse(formation).ville
}
</option> </option>

File diff suppressed because it is too large Load Diff