87 lines
3.8 KiB
PHP
Executable File
87 lines
3.8 KiB
PHP
Executable File
<?php
|
|
$adminProd = $_SESSION['adminProd'];
|
|
$idActesbaremeinitiallettrecle = $_SESSION['idActesbaremeinitiallettrecle'];
|
|
$lettreCle = $_SESSION['lettreCle'];
|
|
?>
|
|
|
|
<input type="hidden" id="idActesbaremeinitiallettrecle" name="idActesbaremeinitiallettrecle" value="<?=$_SESSION['idActesbaremeinitiallettrecle']?>">
|
|
<input type="hidden" id="lettreCle" name="idActesbaremeinilettreCletiallettrecle" value="<?=$_SESSION['lettreCle']?>">
|
|
|
|
<div class="modal-dialog" style="max-width: 85%;" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-bs-dismiss="modal" >×</button>
|
|
<legend class="modal-title text-center"> <?= _("Lettre clé ") . $lettreCle . " : " . _("Détail des actes impactés") ?> </legend>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<INPUT class="sr-only" TYPE="text" id="datejour" NAME="datejour" value="<?= datefr(date('Y/m/d')); ?>">
|
|
|
|
<hr style="border: 10px double blue; border-radius: 5px; background-color: blue;" />
|
|
|
|
<?php if(count($detailactes) > "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;'> <?= _("Acte") ?> </th>
|
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Coefficient") ?> </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 ($detailactes as $v):
|
|
$idActe = $this->nettoyer($v['id']);
|
|
$supprime = $v['supprime'];
|
|
$libelle = $this->nettoyer($v['libelle']);
|
|
|
|
if (est_anglophone())
|
|
{
|
|
$libelle = $this->nettoyer($v['libelleEng']);
|
|
}
|
|
|
|
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='border: 2px solid #939597;'><?= $libelle ?></td>
|
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['coefficient']); ?> </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_detail('<?= $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>
|
|
<div class="modal-footer">
|
|
<button type="button" id="btn-fermer-modal" class="btn btn-default" data-bs-dismiss="modal" >Fermer</button>
|
|
</div>
|
|
</div>
|
|
</div>
|