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

27 lines
1.2 KiB
PHP

<?php $nbligne = count($garants); ?>
<div id="div_gcs">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspeciale compact" style="font-size:8pt;">
<thead>
<tr>
<th style="text-align:center" width="10%" > Code </th>
<th width="60%" style="text-align:center" > <?= _("Nom") ?> </th>
<th width="30%" style="text-align:center" > <?= _("Type Garant") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($garants as $gc):
$idGc = $this->nettoyer($gc['id']);
$codeGcAssureur = $this->nettoyer($gc['codeGcAssureur']);
?>
<tr ondblclick="javascript:afficher_gc_assureur('<?=$idGc?>');" valign="top">
<td align="center"> <input type="button" style='font-size:10pt;' class = "form-control btn btn-primary" value="<?= $codeGcAssureur ?>" onClick="javascript:afficher_gc_assureur('<?=$idGc?>');" > </td>
<td align="center"> <?= $this->nettoyer($gc['libelle']) ?> </td>
<td align="center"> <?= $this->nettoyer($gc['typegc']) ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>