prestation/Vue/Listeprospects/index.php
2025-12-05 10:42:46 +00:00

46 lines
2.4 KiB
PHP
Executable File

<?php $this->titre = "INTER-SANTE - Liste Prospects"; ?>
<div style="height:100%; background-color: rgb(255,0,255); text-align:center;">
<?= _("GESTION DES COTATIONS") ?>
</div>
<form method="post" action="Listeprospects/index/" >
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style="text-align:center" width="10%" > <?= _("Numéro") ?> </th>
<th> <?= _("Nom") ?> </th>
<th> <?= _("Prénoms") ?> </th>
<th colspan="2"> <?= _("Mobile") ?> </th>
<th> <?= (isset($_SESSION['affichagedynamique']['Région'])) ? _($_SESSION['affichagedynamique']['Région']) : _("Région") ?> </th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" class="form-control" id="numeroclientsearch" name="numeroclientsearch" value="<?=$numeroclientsearch?>" autofocus placeholder="No Prospect"></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" class="form-control" id="telsearch" name="telsearch" value="<?=$telsearch?>" placeholder="No Portable"></td>
<td><input type="text" class="form-control" id="numeroPolicesearch" name="numeroPolicesearch" value="<?=$numeroPolicesearch?>" placeholder="No Devis"></td>
<td><input type="submit" class = "form-control btn btn-primary" value="<?= _("Rechercher") ?>" ></td>
</tr>
<?php foreach ($clients as $client):
$id = $this->nettoyer($client['id']);
$nocli = $this->nettoyer($client['numeroClient']);
?>
<tr onclick="javascript:selectionner_client_d(<?= $id ?>,'<?= $nocli ?>');" ondblclick="javascript:selectionner_client_d(<?= $id ?>,'<?= $nocli ?>');afficher_client_d_id();" valign="top">
<td align="center"><input type="button" value="<?= $nocli ?>" onClick="javascript:selectionner_client_d(<?= $id ?>,'<?= $nocli ?>');afficher_client_d_id();"></td>
<td><?= $this->nettoyer($client['nom']) ?></td>
<td><?= $this->nettoyer($client['prenoms']) ?></td>
<td colspan="2"><?= $this->nettoyer($client['telephonePortable']) ?></td>
<td><?= $this->nettoyer($client['Ville']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</form>