production/Vue/Baremepriseencharge/index.php
2025-12-01 16:12:12 +00:00

98 lines
3.7 KiB
PHP
Executable File

<?php
$this->titre = "INTER SANTE - Barème de prise en charge initial";
$codeGcAssureur = isset($_SESSION['codeGcAssureur']) ? $_SESSION['codeGcAssureur']:"";
?>
<legend> <?= _("Barème de prise en charge initial par produit") ?> </legend>
<INPUT TYPE="text" class="sr-only" id = "nomForm" name = "nomForm" value="listebareme">
<table class="table table-condensed table-responsive" style="font-size:10pt;" >
<tbody>
<tr>
<td width="8%" class="required text-center"> <?= _("Garant") ?> </td>
<td width="40%">
<SELECT style="font-size:10pt; height:30px;" class="form-control selectpicker" data-live-search="true" id="codeGcAssureur" NAME="codeGcAssureur" required AUTOCOMPLETE="OFF" autofocus
onChange="javascript:filtreproduitbareme();" >
<?php liste_options($garant, $codeGcAssureur); ?>
</SELECT>
</td>
<td width="8%" class="required text-center"> <?= _("Produit") ?> </td>
<td width="32%">
<div id="div_produit">
<SELECT style="font-size:10pt; height:30px;" class="form-control selectpicker" data-live-search="true" required>
<?php liste_options($produits,"",false); ?>
</SELECT>
</div>
</td>
<td width="2%"></td>
<td>
<td width="10%" align="center"> <input class = "form-control btn btn-primary" style="font-size:10pt;" type="button" value="<?= _("Actualiser") ?>" onClick="javascript:afficher_bareme_produit();"> </td>
</td>
</tr>
</tbody>
</table>
<div id="div_bareme">
</div>
<!--
<table style="margin: auto" class="table-responsive">
<tbody>
<td><input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbreTotal" name="nbreTotal" value="Total enregistré : <?= $nbreTotal; ?>" readonly> </td>
</tbody>
</table>
<input type="hidden" id="total" value="<?= $nbreTotal; ?>">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:10pt;">
<thead>
<tr>
<th style="text-align:center" > <?= _("ID") ?> </th>
<th style="text-align:center" > <?= _("Libellé") ?> </th>
<th style="text-align:center" > <?= _("Garant") ?> </th>
<th style="text-align:center" > <?= _("Taux") ?> </th>
<th style="text-align:center" > <?= _("Territoire") ?> </th>
<th style="text-align:center"> <?= _("Action") ?> </th>
<th style="text-align:center"> <?= _("Voir détail") ?> </th>
</tr>
</thead>
<tbody>
<?php
$i = 0;
foreach ($baremes as $v):
$idBaremes = $this->nettoyer($v['id']);
$observation = $this->nettoyer($v['observationBareme']);
if(!empty($observation)){
$libelle = $observation;
}else{
$libelle = $this->nettoyer($v['libelle']);
}
$archiver = $this->nettoyer($v['archiver']);
$nbBaremeCollege = $this->nettoyer($v['nbBaremeCollege']);
$dansCollege = ($nbBaremeCollege=="0") ? "Non" : "Oui";
?>
<tr valign="top">
<td align="center"> <?= $idBaremes ?> </td>
<td> <?= $libelle ?> </td>
<td > <?= $this->nettoyer($v['garant']) ?> </td>
<td align="center"> <?= $this->nettoyer($v['tauxRemboursement']) ?> </td>
<td align="center"> <?= $this->nettoyer($v['codeTerritoire']) ?> </td>
<td align="center" width="10%"> <input class = "form-control btn btn-success" style="font-size:10pt;" type="button" value="<?= _("Modifier") ?>" onclick="javascript:modifier_baremepriseencharge(<?= $idBaremes ?>);"> </td>
<td align="center" width="10%"> <input class = "form-control btn btn-info" style="font-size:10pt;" type="button" value="<?= _("Détail...") ?>" onclick="javascript:detail_baremepriseencharge(<?= $idBaremes ?>);"> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
-->