diff --git a/Modele/College_temp.php b/Modele/College_temp.php index 605ac7f..2f9b6ac 100755 --- a/Modele/College_temp.php +++ b/Modele/College_temp.php @@ -80,7 +80,9 @@ class College_temp extends Modele { public function getPrestation($idCollegeTemp) { - $sql = 'select A.*, B.libelle as reseausoin from prestation_temp A + // + $sql = 'select A.*, B.libelle as reseausoin, + B.libelleEng as reseausoinEng from prestation_temp A join reseausoins B on (B.codeReseau=A.codeReseau) where (A.idCollegeTemp=?) order by A.tmBase, A.tm'; diff --git a/Vue/Ajaxconsultertableauprestation/index.php b/Vue/Ajaxconsultertableauprestation/index.php index 32048ab..248c664 100644 --- a/Vue/Ajaxconsultertableauprestation/index.php +++ b/Vue/Ajaxconsultertableauprestation/index.php @@ -15,9 +15,13 @@
nettoyer($prestation['id']); + $reseausoin = est_anglophone() + ? $this->nettoyer($prestation['reseausoinEng']) + : $this->nettoyer($prestation['reseausoin']); + ?>