Commit 00e5aee7 authored by JonathanMM's avatar JonathanMM

Affichage du statut d'overflow de chaque station

parent 16168c19
......@@ -43,7 +43,9 @@ function getStatusByIdConso($idConso, $filtreWhere = null)
'nbFreeEDock' => $station['nbFreeEDock'],
'nbEDock' => $station['nbEDock'],
'latitude' => $station['latitude'],
'longitude' => $station['longitude']
'longitude' => $station['longitude'],
'overflow' => $station['overflow'],
'overflowActivation' => $station['overflowActivation']
);
}
return $retour;
......
......@@ -80,6 +80,7 @@
<th>Vélos mécaniques dispo</th>
<th>Vélos électriques dispo</th>
<th>Bornes libres</th>
<th>Park+ (overflow)</th>
</tr>
</thead>
</table>
......@@ -158,6 +159,15 @@
}
return data+'/'+row.nbEDock;
}
},{
data: 'overflow',
render: function(data, type, row, meta)
{
if(data == 'yes')
return 'oui';
else
return 'non';
}
}],
language: dtTraduction
});
......
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