prestation/Vue/Listeclients/index.php
2025-12-01 18:54:33 +00:00

53 lines
3.2 KiB
PHP

<?php $this->titre = "INTER-SANTE - Liste Clients"; ?>
<form method="post" action="Listeclients/index/">
<legend>Liste des Souscripteurs et Polices</legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th style="text-align:center" width="7%" > <?= _("Numéro") ?> </th>
<th> <?= _("Nom") ?> </th>
<th> <?= _("Prénoms") ?> </th>
<th style="text-align:center" > <?= _("Mobile") ?> </th>
<th colspan="2" style="text-align:center" > <?= _("ID / No Police") ?> </th>
<th colspan="2" style="text-align:center" >Spec / Limit</th>
<th style="text-align:center" width="3%" > <?= _("GC?") ?> </th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" style="text-align:center;" class="form-control" id="numeroclientsearch" name="numeroclientsearch" value="<?=$numeroclientsearch?>" autofocus placeholder="No CLient"></td>
<td><input type="text" class="form-control" id="nomsearch" name="nomsearch" value="<?=$nomsearch?>" placeholder="Nom"></td>
<td><input type="text" class="form-control" id="prenomsearch" name="prenomsearch" value="<?=$prenomsearch?>" placeholder="Prénoms"></td>
<td><input type="text" style="text-align:center;" class="form-control" id="telsearch" name="telsearch" value="<?=$telsearch?>" placeholder="No Portable"></td>
<td width="5%" ><input type="text" style="text-align:center;" class="form-control" id="idPolicesearch" name="idPolicesearch" value="<?=$idPolicesearch?>" placeholder="ID"></td>
<td width="8%"><input type="text" style="text-align:center;" class="form-control" id="numeroPolicesearch" name="numeroPolicesearch" value="<?=$numeroPolicesearch?>" placeholder="No Pol."></td>
<td colspan="2" ><input type="submit" class = "form-control btn btn-primary" value="<?= _("Rechercher") ?>" ></td>
<td> </td>
</tr>
<?php foreach ($clients as $client):
$id = $this->nettoyer($client['id']);
$nocli = $this->nettoyer($client['numeroClient']);
$gestionConfiee = $this->nettoyer($client['gestionConfiee']);
?>
<tr onclick="javascript:selectionner_client(<?= $id ?>,'<?= $nocli ?>');" ondblclick="javascript:selectionner_client(<?= $id ?>,'<?= $nocli ?>');afficher_client_id();" valign="top">
<td align="center"> <input type="button" value="<?= $nocli ?>" onClick="javascript:selectionner_client(<?= $id ?>,'<?= $nocli ?>');afficher_client_id();"> </td>
<td><?= $this->nettoyer($client['nom']) ?></td>
<td><?= $this->nettoyer($client['prenoms']) ?></td>
<td align="center"><?= $this->nettoyer($client['telephonePortable']) ?></td>
<td align="center"><?= $this->nettoyer($client['idPolice']) ?></td>
<td align="center"><?= $this->nettoyer($client['numeroPolice']) ?></td>
<td align="center"><?= $this->nettoyer($client['police_speciale']) ?></td>
<td align="center"><?= $this->nettoyer($client['limiteConsommation']) ?></td>
<?php if($client['gestionConfiee']=='1'): ?>
<td align='center'> <input type="checkbox" checked disabled ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled ></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</form>