--- /dev/null
+<h1>Liste des clients</h1>
+<button onclick="synchronizeCustomersInformation();">Synchronisation</button>
+<table>
+ <tr>
+ <th>Nom</th>
+ <th>Identifiant AP</th>
+ </tr>
+
+ <?php if(isset($customers)) { foreach ($customers as $customer): ?>
+ <tr>
+ <td><?php echo $customer['Customer']['name'] ?></td>
+ <td><?php echo $customer['Customer']['ap_id']; ?></td>
+ </tr>
+ <?php endforeach; ?>
+ <?php unset($customer); } ?>
+</table>
+
+<script>
+ var synchronizeCustomersInformation = function () {
+ $.ajax({
+ url: "http://allo_serveur/?action=synchronize_customers_info",
+ beforeSend: function(xhr) {
+ xhr.overrideMimeType("text/plain; charset=x-user-defined");
+ }
+ })
+ .done(function(data) {
+ location.href = "/customers";
+ });
+ };
+</script>
\ No newline at end of file