This commit is contained in:
KANE LAZENI 2026-03-28 08:27:06 +00:00
parent 5df3031f63
commit ead8fc03fd
4 changed files with 117 additions and 123 deletions

View File

@ -3,7 +3,6 @@
$idActesbaremeinitiallettrecle = $_SESSION['idActesbaremeinitiallettrecle'];
$lettreCle = $_SESSION['lettreCle'];
?>
<input type="hidden" id="idActesbaremeinitiallettrecle" name="idActesbaremeinitiallettrecle" value="<?=$_SESSION['idActesbaremeinitiallettrecle']?>">
<input type="hidden" id="lettreCle" name="lettreCle" value="<?=$_SESSION['lettreCle']?>">
@ -19,69 +18,68 @@
<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']);
<?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;">
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: ?>
<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 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>
</div>

View File

@ -15,74 +15,72 @@
</div>
<div class="modal-body">
DETAIL ACTES TEMP
<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']);
<?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;">
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: ?>
<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 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>

View File

@ -2,8 +2,6 @@
$adminProd = $_SESSION['adminProd'];
?>
BEREME LETTES CLES TEMP
<?php if(count($actes) > "0"): ?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;" >
<thead >

View File

@ -976,7 +976,7 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js" integrity="sha512-VEd+nq25CkR676O+pLBnDW09R7VQX9Mdiij052gVCp5yVH3jGtH70Ho/UUv4mJDsEdTvqRCFZg0NKGiojGnUCw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="Js/fonctions.js?ver=2026.03.28.06"></script>
<script src="Js/fonctions.js?ver=2026.03.28.07"></script>
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>