31 lines
1.8 KiB
PHP
Executable File
31 lines
1.8 KiB
PHP
Executable File
<div id="div_tab_produit">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:8pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style="text-align:center" > <?= _("Code") ?> </th>
|
|
<th style="text-align:center" > <?= _("Produit") ?> </th>
|
|
<th style="text-align:center" > <?= _("Prime Famille") ?> </th>
|
|
<th style="text-align:center" > <?= _("Prime Individu") ?> </th>
|
|
<th style="text-align:center" > <?= _("Prime Enfant Supplementaire") ?> </th>
|
|
<th style="text-align:center" > <?= _("Modifier") ?> </th>
|
|
<th style="text-align:center" > <?= _("Supprimer") ?> </th>
|
|
</tr>
|
|
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($produits as $produit):
|
|
$idProduit = $this->nettoyer($produit['id']);
|
|
?>
|
|
<tr valign="top">
|
|
<td align="center"> <?= $this->nettoyer($produit['codeProduit']) ?> </td>
|
|
<td> <?= $this->nettoyer($produit['libelle']) ?> </td>
|
|
<td style='text-align:center' width="10%"> <?= format_N($this->nettoyer($produit['primeFamille'])) ?> </td>
|
|
<td style='text-align:center' width="10%"> <?= format_N($this->nettoyer($produit['primeIndividu'])) ?> </td>
|
|
<td style='text-align:center' width="10%"> <?= format_N($this->nettoyer($produit['primeEnfantSupplementaire'])) ?> </td>
|
|
<td width="8%" align="center"> <input class = "form-control btn btn-primary" style="font-size:10pt;" type="button" value="<?= _("Modifier") ?>" onClick="javascript:modifier_produit(<?= $idProduit ?>);"> </td>
|
|
<td width="8%" align="center"> <input class = "form-control btn btn-danger" style="font-size:10pt;" type="button" value="<?= _("Supprimer") ?>" onClick="javascript:supprimer_produit(<?= $idProduit ?>);"> </td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|