Commit a5ce2770 authored by JonathanMM's avatar JonathanMM

Meilleur affichage des status des stations

parent c4ae53c7
......@@ -68,7 +68,7 @@ $statusStation = $requete->fetchAll();
echo '<td><a href="station.php?code='.$station['code'].'">'.displayCodeStation($station['code']).'</a></td>';
echo '<td>'.$station['name'].'</td>';
echo '<td>'.$station['dateOuverture'].'</td>';
echo '<td>'.(($station['state'] == 'Operative' && $station['nbEDock'] != 0) ? 'OK' : 'KO').'</td>';
echo '<td>'.(($station['state'] == 'Operative' && $station['nbEDock'] != 0) ? 'Ouverte' : 'En travaux').'</td>';
echo '<td>'.$station['nbBike'].'</td>';
echo '<td>'.$station['nbEBike'].'</td>';
echo '<td>'.$station['nbFreeEDock'].'/'.$station['nbEDock'].'</td>';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment