39 lines
1.7 KiB
PHP
Executable File
39 lines
1.7 KiB
PHP
Executable File
<?php $this->titre = "INTER-SANTE - Polices en Gestion confiée"; ?>
|
|
|
|
<legend> <?= _("Liste Polices") ?> </legend>
|
|
|
|
<div id="div_gcs" >
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
|
|
<thead>
|
|
<tr>
|
|
<th> <?= _("Souscripteur") ?> </th>
|
|
<th style="text-align:center" > <?= _("Police") ?> </th>
|
|
<th style="text-align:center" > <?= _("Assureur") ?> </th>
|
|
<th style="text-align:center" > <?= _("ID POLICE") ?> </th>
|
|
<th style="text-align:center" > <?= _("Effet") ?> </th>
|
|
<th style="text-align:center" > <?= _("Fin") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($gcs as $gc):
|
|
$idPolice = $this->nettoyer($gc['idPolice']);
|
|
$idGcpolice = $this->nettoyer($gc['idGcpolice']);
|
|
?>
|
|
|
|
<?php if($idGcpolice=='0'): ?>
|
|
<tr ondblclick="javascript:afficher_gc_police(<?= $idPolice ?>, <?= $idGcpolice ?>);" valign="top" style="background-color: red;color:white;">
|
|
<?php else: ?>
|
|
<tr ondblclick="javascript:afficher_gc_police(<?= $idPolice ?>, <?= $idGcpolice ?>);" valign="top">
|
|
<?php endif; ?>
|
|
<td><?= $this->nettoyer($gc['souscripteur']) ?></td>
|
|
<td align="center"><?= $this->nettoyer($gc['numeroPolice']) ?></td>
|
|
<td align="center"><?= $this->nettoyer($gc['gcassureur']) ?></td>
|
|
<td align="center"> <input type="button" value="<?= $idPolice ?>" onClick="javascript:afficher_gc_police(<?= $idPolice ?>, <?= $idGcpolice ?>);" > </td>
|
|
<td align="center"><?= dateLang($this->nettoyer($gc['dateEffetPolice'])) ?></td>
|
|
<td align="center"><?= dateLang($this->nettoyer($gc['dateFinolice'])) ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|