2012-06-11 14:40:07 +00:00
|
|
|
<div id="dashboard">
|
|
|
|
|
2012-06-29 10:15:12 +00:00
|
|
|
<h2>Liste des paramètres clients</h2>
|
|
|
|
<div class="paragraph">
|
|
|
|
<a href="<?=$this->url(array('controller'=>'gestion', 'action'=>'customerparamadd'))?>">Ajouter un client</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="paragraph">
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>idClient</th>
|
|
|
|
<th>Début du contrat</th>
|
|
|
|
<th>Durée contrat</th>
|
|
|
|
<th>Logins ouvert</th>
|
|
|
|
<th>Action</th>
|
|
|
|
</tr>
|
|
|
|
<?php foreach($this->customerlist as $item) {?>
|
|
|
|
<tr>
|
|
|
|
<td><?=$item['idClient']?></td>
|
|
|
|
<td><?=$item['dateContrat']?></td>
|
|
|
|
<td><?=$item['periodContrat']?></td>
|
|
|
|
<td>
|
|
|
|
<?php foreach ($item['logins'] as $login) {?>
|
|
|
|
<?=$login?><br/>
|
|
|
|
<?php }?>
|
|
|
|
</td>
|
|
|
|
<td><a href="<?=$this->url(array('controller'=>'gestion', 'action'=>'customerparam', 'id'=>$item['idClient']))?>">Détail</a></td>
|
|
|
|
</tr>
|
|
|
|
<?php }?>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
2012-06-11 14:40:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
</div>
|