prestation/Vue/Ajaxlisteprestataires/getlistepypeprestatairelike.php
2025-12-05 10:42:46 +00:00

33 lines
2.0 KiB
PHP
Executable File

<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_type_prestataire('CSO');" /></td>
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="Ré-initialiser..." onclick="javascript:reinitialiser_prestataire();" /></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:selectionner_prestataire('<?=$codePrestataire?>','<?=$nomPrestataire?>'); $('#prestataireConsultation').val('<?=$nomPrestataire?>');" valign="top">
<td align="center"> <input type="button" style='font-size:10pt;' class = "form-control btn btn-primary" value="<?= $codePrestataire ?>" onClick="javascript:selectionner_prestataire('<?=$codePrestataire?>','<?=$nomPrestataire?>'); $('#prestataireConsultation').val('<?=$nomPrestataire?>');"> </td>
<td> <?= $nomPrestataire ?> </td>
<td colspan="2"> <?= $typeprestataire ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>