prestation/Vue/Listeavenant/index.php
2025-12-05 10:42:46 +00:00

59 lines
2.3 KiB
PHP
Executable File

<?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'];
$numeroAvenant = $avenant['numeroAvenant'];
$idAvenant = $avenant['idAvenant'];
$codeTypeAvenant = $avenant['codeTypeAvenant'];
if (est_anglophone())
{
$libelleAvenant = $avenant['libelleAvenantEng'];
}
?>
<tr valign="top">
<tr ondblclick="javascript:editionpieceavenant('<?= $idAvenant ?>', '<?= $numeroAvenant ?>', '<?= $codeTypeAvenant ?>');" valign="top">
<td> <input style="font-size:9pt;" class = "form-control btn btn-info" type="button" value="<?= $numeroAvenant ?>" onClick="javascript:editionpieceavenant('<?= $idAvenant ?>', '<?= $numeroAvenant ?>', '<?= $codeTypeAvenant ?>');"></td>
<td align='center'><?= dateLang($this->nettoyer($avenant['dateEffet']), $_SESSION['p_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>