47 lines
2.4 KiB
PHP
Executable File
47 lines
2.4 KiB
PHP
Executable File
<div id="div_listeclient" onkeypress="javascript:ctrlkeypress_enc(event);">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive">
|
|
<thead>
|
|
<tr>
|
|
<th width="10%" style="text-align:center"> <?= _("Nunméro") ?> </th>
|
|
<th> <?= _("Nom") ?> </th>
|
|
<th> <?= _("Prénoms") ?> </th>
|
|
<th width="15%" > <?= _("Mobile") ?> </th>
|
|
<th style="text-align:center"> <?= _("Ville") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tfoot>
|
|
<tr>
|
|
<td><input style="text-align:center" type="text" class="form-control" id="nocli" name="nocli" readonly></td>
|
|
<td colspan="3"><input type="text" class="form-control" id="nomcli" name="nomcli" readonly></td>
|
|
<td><input id="validpop" name="validpop" type="button" class = "form-control btn btn-info" value="Valider" onclick="javascript:selection_quittanes_enc();" /></td>
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td><input type="number" class="form-control" id="numeroclientsearch" name="numeroclientsearch" value="<?=$numeroclientsearch?>"></td>
|
|
<td><input type="text" class="form-control" id="nomsearch" name="nomsearch" value="<?=$nomsearch?>" autofocus ></td>
|
|
<td><input type="text" class="form-control" id="prenomsearch" name="prenomsearch" value="<?=$prenomsearch?>"></td>
|
|
<td><input type="text" class="form-control" id="telsearch" name="telsearch" value="<?=$telsearch?>"></td>
|
|
<td><input type="button" class = "form-control btn btn-info" value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_client_enc();" /></td>
|
|
</tr>
|
|
<?php foreach ($clients_pop as $client_pop):
|
|
$idClient=$this->nettoyer($client_pop['id']);
|
|
$nocli=$this->nettoyer($client_pop['numeroClient']);
|
|
$nom = $this->nettoyer($client_pop['nom']);
|
|
$prenoms = $this->nettoyer($client_pop['prenoms']);
|
|
$nom .= $prenoms;
|
|
?>
|
|
<tr onclick="javascript:selectionner_client_pop(<?=$idClient?>,'<?=$nocli?>','<?=$nom?>')" ondblclick="javascript:selection_quittanes_enc();" valign="top">
|
|
|
|
<td align="center"> <input type="button" value="<?= $nocli ?>" onClick="javascript:selectionner_client_pop(<?=$idClient?>,'<?=$nocli?>','<?=$nom?>');selection_quittanes_enc();"> </td>
|
|
|
|
<td><?= $nom ?></td>
|
|
<td><?= $prenoms ?></td>
|
|
<td><?= $this->nettoyer($client_pop['telephonePortable']) ?></td>
|
|
<td align='center'><?= $this->nettoyer($client_pop['Ville']) ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|