33 lines
1.9 KiB
PHP
33 lines
1.9 KiB
PHP
<div id="div_listeprestataires" >
|
|
<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="15%" > Code </th>
|
|
<th width="50%" style="text-align:center" > <?= _("Nom contenant...") ?> </th>
|
|
<th colspan="2" style="text-align:center" > Type </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><input type="text" class="form-control" id="codesearch" name="codesearch" autofocus style='font-size:10pt;' ></td>
|
|
<td><input type="text" class="form-control" id="nomsearch" name="nomsearch" autofocus style='font-size:10pt;' ></td>
|
|
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_prestataire_enplus();" /></td>
|
|
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="Ré-initialiser..." onclick="javascript:reinitialiser_prestataire3();" /></td>
|
|
</tr>
|
|
<?php foreach ($prestataires_pop as $prestataire_pop):
|
|
$codePrestataire = $this->nettoyer($prestataire_pop['codePrestataire']);
|
|
$nomPrestataire = $this->nettoyer($prestataire_pop['nomPrestataire']);
|
|
$nomPrestataire = $this->echapper($nomPrestataire);
|
|
$typeprestataire = $this->nettoyer($prestataire_pop['typeprestataire']);
|
|
?>
|
|
<tr ondblclick="javascript:ajouter_prestatairesenplus('<?=$codePrestataire?>');" valign="top">
|
|
|
|
<td align="center"> <input type="button" style='font-size:10pt;' class = "form-control btn btn-primary" value="<?= $codePrestataire ?>" onClick='javascript:ajouter_prestatairesenplus("<?=$codePrestataire?>");' > </td>
|
|
|
|
<td> <?= $nomPrestataire ?> </td>
|
|
<td colspan="2"> <?= $typeprestataire ?> </td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|