14/05/23 - 17h

recette2
cherif 2023-05-14 16:33:48 +02:00
parent e3872d5c6d
commit 615b9cad27
2 changed files with 29 additions and 26 deletions

View File

@ -680,8 +680,11 @@ function Inscription_Information(props) {
<option value={JSON.parse(formation).formation_session_id}>
{(JSON.parse(formation).session_ondemande) === "1" && " A la Demande - "}
{( !JSON.parse(formation).session_ondemande || JSON.parse(formation).session_ondemande === "0" ) &&
(JSON.parse(formation).date_debut).substring(0, 10)+ " au "+ (JSON.parse(formation).date_fin).substring(0, 10)}
{(JSON.parse(formation).date_debut).substring(0, 10)} au {(JSON.parse(formation).date_fin).substring(0, 10)} -
{/*(JSON.parse(formation).date_debut).substring(0, 10)} au {(JSON.parse(formation).date_fin).substring(0, 10)*/} -
{(JSON.parse(formation).distantiel) === "1" && " A Distance - "}
{(JSON.parse(formation).presentiel) === "1" && (JSON.parse(formation).adresse) && " En Présentiel - " + (JSON.parse(formation).adresse)}
{(JSON.parse(formation).presentiel) === "1" && (!JSON.parse(formation).adresse) && " En Présentiel - "}