78 lines
3.5 KiB
PHP
Executable File
78 lines
3.5 KiB
PHP
Executable File
<?php
|
|
$adminProd = $_SESSION['adminProd'];
|
|
?>
|
|
|
|
<?php if(count($actes) > "0"): ?>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;" >
|
|
<thead >
|
|
<tr>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Détail") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Lettre Clé") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Désignation") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Effet") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Plafond Acte") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("TM") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Actif") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Suppr") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody >
|
|
<?php foreach ($actes as $v):
|
|
$idActe = $this->nettoyer($v['id']);
|
|
$supprime = $v['supprime'];
|
|
$lettreCle = $this->nettoyer($v['lettreCle']);
|
|
$libelle = $this->nettoyer($v['description']);
|
|
|
|
if (est_anglophone())
|
|
{
|
|
$libelle = $this->nettoyer($v['descriptionEng']);
|
|
}
|
|
|
|
if($this->nettoyer($v['actif'])=="1"){
|
|
$actif = "Oui";
|
|
}else{
|
|
$actif = "Non";
|
|
}
|
|
?>
|
|
|
|
<?php if($supprime=='1'): ?>
|
|
<tr valign="top" style="text-decoration: line-through red;">
|
|
<?php else: ?>
|
|
<tr valign="top">
|
|
<?php endif; ?>
|
|
<td style='text-align:center; border: 2px solid #939597;'>
|
|
<button type="button" class="form-control btn btn-info" onClick="javascript:detail_baremeacte_lettre_cle(<?= $idActe ?>, '<?= $lettreCle?>');">
|
|
<?= $idActe ?>
|
|
</button>
|
|
</td>
|
|
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $lettreCle ?></td>
|
|
<td style='border: 2px solid #939597;'><?= $libelle ?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= datefr($this->nettoyer($v['dateEffet'])); ?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= format_N($this->nettoyer($v['forfaitPlafond']));?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['ticketModerateur']);?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $actif;?></td>
|
|
<?php if($supprime=='0'): ?>
|
|
<td style='text-align:center; border: 2px solid #939597;'>
|
|
<button type="button" class="form-control btn btn-danger" onClick="javascript:supprimer_baremeacte_lettre_cle('<?= $adminProd?>',<?= $idActe ?>);">
|
|
<i class="fa fa-times" aria-hidden="true"></i>
|
|
</button>
|
|
</td>
|
|
<?php else: ?>
|
|
<td style='text-align:center; border: 2px solid #939597;'> </td>
|
|
<?php endif; ?>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
<?php else: ?>
|
|
<div class="col-12 alert alert-danger text-center">
|
|
<?= _("Aucune ligne insérée") ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<div class="modal fade" id="div_detail_bareme_actes" role="dialog" data-bs-backdrop="static" data-bs-keyboard="false">
|
|
|
|
</div>
|