148 lines
5.8 KiB
PHP
Executable File
148 lines
5.8 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER SANTE - Configurer Barème de prise en charge";
|
|
|
|
?>
|
|
|
|
|
|
<legend> <?= _("Configurer Barème prise en charge initial") ?> </legend>
|
|
|
|
<?php
|
|
|
|
?>
|
|
|
|
<input type="text" id="nomForm" name="nomForm" class="sr-only" value="frmDetailBareme">
|
|
|
|
<input type="hidden" id="idBaremePriseEnCharge" name="idBaremePriseEnCharge" value="<?=$_SESSION['idBaremePriseEnCharge']?>">
|
|
<input type="hidden" id="ligne2" name="ligne2" value="<?= count($garantiesajoutees);?>">
|
|
|
|
<input class="form-control" style='text-align:center; font-size:11pt; font-weight:bold; background-color:#027BE3;color:white;' type="text" value="<?= _("PARAMETRAGE GLOBAL DU BAREME"); ?>" disabled >
|
|
|
|
<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 colspan="3"><INPUT style="font-size:10pt;" class="form-control" TYPE="text" value="<?= $this->nettoyer($bareme['libelle'])?>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
<tr >
|
|
<td width="5%" align="center" class="required"> <?= _("Effet") ?> </td>
|
|
<td >
|
|
<INPUT style='text-align:center; font-size:12pt; height:30px;' class="form-control datepicker" TYPE="text" id="dateEffetBareme"
|
|
NAME="dateEffetBareme" value="" onChange="javascript:controleDateEffetBareme();" required>
|
|
</td>
|
|
|
|
<td width="10%" align="center" class="required"> <?= _("Ticket Modérateur") ?> </td>
|
|
<td width="10%">
|
|
<INPUT style='font-size:12pt; height:30px;' class="form-control text-center" TYPE="text" value="<?= $tmBareme ?>" onkeyup="controle_numerique(this);"
|
|
id="ticketModerateurBareme" name="ticketModerateurBareme" required>
|
|
</td>
|
|
|
|
<td width="2%"></td>
|
|
<td >
|
|
<input style='font-size:14pt;' id="btn_bareme" name="btn_bareme"
|
|
class = "form-control btn btn-primary" type="button" value="<?= _("Insérer un ticket modérateur global") ?>"
|
|
onclick="javascript:inserer_bareme();">
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<p class="text-center" style="margin-bottom: 10px; font-size:13pt; font-weight: bold; color: #000; border-top: 2px solid #939597; border-left: 2px solid #939597; border-right: 2px solid #939597;">
|
|
<?= _("LIGNES GLOBALES PARAMETREES") ?>
|
|
 
|
|
<span id="detailbareme" ></span>
|
|
   
|
|
<a href="javascript:afficherDetailBareme();">
|
|
<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">
|
|
</p>
|
|
|
|
<div id="div_bareme" style="border-bottom: 2px solid #939597; border-left: 2px solid #939597; border-right: 2px solid #939597;">
|
|
<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 Garanties") ?> </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_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_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" data-bs-backdrop="static" data-bs-keyboard="false">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|