59 lines
2.3 KiB
PHTML
59 lines
2.3 KiB
PHTML
<div id="dashboard">
|
|
<h2>Paramètres client</h2>
|
|
|
|
<table>
|
|
<tr><td>Nom</td><td><?=$this->infos['nom']?></td></tr>
|
|
<tr><td>service</td><td><?=$this->infos['service']?></td></tr>
|
|
<tr><td>filterRNCS</td><td><?=$this->infos['filterRNCS']?></td></tr>
|
|
<tr><td>licenceINSEE</td><td><?=$this->infos['licenceINSEE']?></td></tr>
|
|
<tr><td>immediatExtract</td><td><?=$this->infos['immediatExtract']?></td></tr>
|
|
<tr><td>dateContrat</td><td><?=$this->infos['dateContrat']?></td></tr>
|
|
<tr><td>periodContrat</td><td><?=$this->infos['periodContrat']?></td></tr>
|
|
<tr><td>periodPaiement</td><td><?=$this->infos['periodPaiement']?></td></tr>
|
|
<tr><td>priceLine</td><td><?=$this->infos['priceLine']?></td></tr>
|
|
<tr><td>forfait</td><td><?=$this->infos['forfait']?></td></tr>
|
|
<tr><td>limitLines</td><td><?=$this->infos['limitLines']?></td></tr>
|
|
<tr><td>limitFiles</td><td><?=$this->infos['limitFiles']?></td></tr>
|
|
<tr><td>criteres</td><td>
|
|
<?php foreach ( $this->infos['criteres'] as $item ) {?>
|
|
<?=$this->fields[$item]['label']?><br/>
|
|
<?php }?>
|
|
</td>
|
|
<tr><td>dataInsee</td><td><?=$this->infos['dataInsee']?></td></tr>
|
|
<tr><td>dateAdded</td><td><?=$this->infos['dateAdded']?></td></tr>
|
|
</table>
|
|
|
|
<a href="<?=$this->url(array('controller'=>'gestion','action'=>'customerparamadd','idClient'=>$this->idClient),null,true)?>">Modifier</a>
|
|
|
|
<h2>Logins autorisés</h2>
|
|
<div class="paragraph">
|
|
<form method="post" action="<?=$this->url(array('controller'=>'gestion', 'action'=>'profiladd'), null, true)?>">
|
|
<input type="hidden" name="idClient" value="<?=$this->infos['idClient']?>" />
|
|
<input type="hidden" name="service" value="<?=$this->infos['service']?>" />
|
|
<input type="hidden" name="reference" value="default" />
|
|
<label>Login : </label><input type="text" name="login" value="" />
|
|
<input type="submit" value="Ajouter un login avec le profil du client" />
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="paragraph">
|
|
<table>
|
|
<tr><td>Login</td><td>Service</td><td>Profil</td><td>Action</td></tr>
|
|
<?php foreach ($this->logins as $login) {?>
|
|
<tr>
|
|
<td><?=$login['login']?></td>
|
|
<td><?=$login['service']?></td>
|
|
<td><?=$login['reference']?></td>
|
|
<td>
|
|
<?php if ($login['reference']=='default') {?>
|
|
<a href="<?=$this->url(array('controller'=>'gestion', 'action'=>'profiladd'))?>">Ajouter un profil</a>
|
|
<a href="">Désactiver</a>
|
|
<?php }?>
|
|
</td>
|
|
</tr>
|
|
<?php }?>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|