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

26 lines
1.4 KiB
PHP

<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:10pt;'>
<thead>
<tr>
<th width="20%" style="text-align:center" width="15%" > <?= _("Nunméro") ?> </th>
<th colspan="2" style="text-align:center" > <?= _("Nom contenant...") ?> </th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" style="text-align:center;" class="form-control" id="numeroclientsearch_e" name="numeroclientsearch_e" > </td>
<td><input type="text" class="form-control" id="nomsearch_e" name="nomsearch_e" autofocus style='font-size:10pt;' ></td>
<td width="20%" ><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_enfants_client();" /></td>
</tr>
<?php foreach ($clients_pop as $client_pop):
$idClientE = $this->nettoyer($client_pop['idClient']);
$numeroClientE = $this->nettoyer($client_pop['numeroClient']);
$nomClientE = $this->nettoyer($client_pop['nomClient']);
?>
<tr valign="top">
<td align="center"> <input type="button" style='font-size:10pt;' class = "form-control btn btn-primary" value="<?= $numeroClientE ?>" onClick='javascript:client_ajouter_un_enfant("<?=$idClientE?>");' > </td>
<td align="center" colspan="2"> <?= $nomClientE ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>