This commit is contained in:
2026-01-03 09:53:56 +00:00
parent 7595e84797
commit a5dcddc4f7
3 changed files with 81 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
<?php
// $this->titre = "INTER-SANTE - Liste Avenants police";
?>
<legend> <?= _("Avenants de la police") . " => " . $_SESSION['nomClient_C'] . " => " . $police['numeroPolice'] . " => " . $police['idPolice'] ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th style='text-align:center' > <?= _("Numéro") ?> </th>
<th style='text-align:center'> <?= _("Effet") ?> </th>
<th> <?= _("Libellé") ?> </th>
<th> <?= _("Commentaires") ?> </th>
<th> <?= _("Producteur") ?> </th>
<th style='text-align:center'> <?= _("Saisie") ?> </th>
<th colspan="3"style='text-align:center'> <?= _("Facturation") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($avenants as $avenant):
$libelleAvenant = $avenant['libelleAvenant'];
if (est_anglophone())
{
$libelleAvenant = $avenant['libelleAvenantEng'];
}
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($avenant['numeroAvenant']) ?></td>
<td align='center'><?= dateLang($this->nettoyer($avenant['dateEffet']), $_SESSION['lang']) ?></td>
<td><?= $libelleAvenant ?></td>
<td><?= $this->nettoyer($avenant['motifavenant']) ?></td>
<td><?= $this->nettoyer($avenant['utilisateur']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($avenant['dateSysteme'])) ?></td>
<td align='center'>
<?php if($avenant['facture']=='1'): ?>
<input type="checkbox" checked disabled>
<?php else: ?>
<input type="checkbox" disabled>
<?php endif; ?>
</td>
<td align='center'> <?= dateheureLang($this->nettoyer($avenant['dateFacturation'])) ?></td>
<td align='center'> <?= $this->nettoyer($avenant['userFacturation']) ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>