assure/Vue/Consulterdetailbaremecollege/index.php
2026-04-07 16:31:15 +00:00

158 lines
5.7 KiB
PHP
Executable File

<style>
.btn-bareme {
display: flex;
width: 100%;
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 8px;
padding: 10px 20px;
background: #cfe2ff; /* bleu clair (btn-info) */
border: 0.5px solid #9ec5fe;
color: #084298; /* texte bleu foncé */
font-size: 18px; /* taille augmentée */
border-radius: 8px;
font-weight: 500;
text-decoration: none;
cursor: pointer;
transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn-bareme:hover {
background: #f5f5f5;
border-color: #aaaaaa;
}
.btn-bareme:active {
transform: scale(0.98);
}
</style>
<?php
$this->titre = "INTER SANTE - Détail du Barème collège";
?>
<legend> <?= _("Consulter Barème prise en charge") ?> </legend>
<input type="hidden" id="idBaremePriseEnCharge" name="idBaremePriseEnCharge" value="<?=$_SESSION['idBaremePriseEnCharge']?>">
<input type="hidden" id="ligne2" name="ligne2" value="<?= count($garantiesajoutees);?>">
<input type="text" id="nomForm" name="nomForm" class="sr-only" value="frmConsulterDetailBaremeCollege">
<a class="btn-bareme" href="Baremepriseenchargelettreclecons/">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="2" y="2" width="12" height="12" rx="2" stroke="currentColor" stroke-width="1.2"/>
<text x="8" y="11" font-size="7" font-weight="600" text-anchor="middle" fill="currentColor" font-family="sans-serif">A</text>
</svg>
<?= _("Barème par lettre clés") ?>
</a>
<div id="div_detailbareme" style="margin: 0px 0px 15px 0px;">
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td width="5%" align="center" > <?= _("ID") ?> </td>
<td width="19%"><INPUT style="font-size:10pt; text-align:center;" class="form-control" TYPE="text" value="<?= $_SESSION['idBaremePriseEnCharge'] ?>" readonly></td>
<td width="10%" align="center" > <?= _("Désignation") ?> </td>
<td ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" value="<?= $this->nettoyer($bareme['libelle'])?>" readonly></td>
<td width="10%" align="center" > <?= _("Ticket Modérateur") ?> </td>
<td width="10%">
<INPUT style='font-size:12pt; height:30px;' class="form-control text-center" TYPE="text" value="<?= $tmBareme ?>" readonly
id="ticketModerateurBareme" name="ticketModerateurBareme">
</td>
</tr>
</tbody>
</table>
<legend class="text-center" style="margin-bottom: 10px; background-color: #a6a6a6; font-size:13pt;">
<?= _("Lignes Paramétrées") ?>
&nbsp
<span id="detailbareme" ></span>
&nbsp &nbsp
<a href="javascript:afficherDetailBaremeCollege();">
<span id="span_bareme" title="Cliquez sur le lien pour afficher ou masquer" style="font-size:13pt;">[-]</span>
</a>
<INPUT class="sr-only" TYPE="text" id="masquerBareme" NAME="masquerBareme" value="1">
</legend>
<div id="div_bareme" >
<INPUT class="sr-only" TYPE="text" id="maxDateEffetBareme" NAME="maxDateEffetBareme" value="<?=$maxDateEffetBareme?>">
</div>
</div>
<input class="form-control" style='text-align:center; font-size:11pt; font-weight:bold; background-color:#027BE3;color:white;' type="text" value="<?= _("PARAMETRAGE DES GARANTIES DU BAREME"); ?>" disabled >
<div id="div_garantiesbareme" class="table-responsive">
<div id="div_tab_garantie" >
<table >
<tbody>
<td >
<div id="div_patienter">
</div>
</td >
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:12pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center' width="15%"> <?= _("Code") ?> </th>
<th rowspan="2" style='text-align:center' width="65%"> <?= _("Libellé") ?> </th>
<th colspan="3" style='text-align:center'> <?= _("Lignes Paramétrées") ?> </th>
</tr>
<tr>
<th style='text-align:center'><?= _("Actives") ?></th>
<th style='text-align:center'><?= _("Inactives") ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($garantiesajoutees as $v):
$codeGarantie = $this->nettoyer($v['codeGarantie']);
$nomGarantie = $this->nettoyer($v['libelle']);
$nbre_lignes_parametrees = $this->nettoyer($v['nbre_lignes_parametrees']);
$nbre_lignes_actives = $this->nettoyer($v['nbre_lignes_actives']);
$nbre_lignes_inactives = $this->nettoyer($v['nbre_lignes_inactives']);
if ($nbre_lignes_actives < 9)
{
$nbre_lignes_actives = "0".$nbre_lignes_actives;
}
if ($nbre_lignes_inactives < 9)
{
$nbre_lignes_inactives = "0".$nbre_lignes_inactives;
}
if (est_anglophone())
{
$nomGarantie = $this->nettoyer($v['libelleEng']);
}
?>
<tr valign="top" ondblclick="javascript:afficher_consulter_actes_garantiebareme(<?=$_SESSION['idBaremePriseEnCharge']?>,'<?=$codeGarantie?>');">
<td align="center">
<input type="button" style='font-size:10pt;' class="form-control btn btn-primary" id="btn_garantie" value="<?= $codeGarantie ?>"
onClick="javascript:afficher_consulter_actes_garantiebareme(<?=$_SESSION['idBaremePriseEnCharge']?>,'<?=$codeGarantie?>');" >
</td>
<td><?= $nomGarantie ?></td>
<td align="center" style="font-size:14pt"><?= $nbre_lignes_actives ?></td>
<td align="center" style="font-size:14pt"><?= $nbre_lignes_inactives ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
<div class="modal fade" id="div_actesgarantiebareme" role="dialog">
</div>