54 lines
3.1 KiB
PHP
Executable File
54 lines
3.1 KiB
PHP
Executable File
<?php
|
|
// $this->titre = "INTER-SANTE - Liste des tarifs Medicaments";
|
|
$adminSin = $_SESSION['adminSin'];
|
|
?>
|
|
<table width= "100%" class="table-responsive" id="tabfiltre" style="background: #fff;">
|
|
<tbody>
|
|
<tr>
|
|
<td class="text-center" style="font-size:12pt;">
|
|
<INPUT type="radio" id="numero1" name="numero" value="1" checked onClick="filtreListetarifacte($('#numero1').val());"><label class="inline" for="tous">Tous</label>
|
|
<INPUT type="radio" id="numero2" name="numero" value="2" onClick="filtreListetarifacte($('#numero2').val());"><label class="inline" for="classique">Classique</label>
|
|
<INPUT type="radio" id="numero3" name="numero" value="3" onClick="filtreListetarifacte($('#numero3').val());"><label class="inline" for="mutuelle">Mutuelle</label>
|
|
<INPUT type="radio" id="numero4" name="numero" value="4" onClick="filtreListetarifacte($('#numero4').val());"><label class="inline" for="prestataire">Prestataire (Groupe)</label>
|
|
<INPUT type="radio" id="numero5" name="numero" value="5" onClick="filtreListetarifacte($('#numero5').val());"><label class="inline" for="police">Police</label>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div id="div_lister_table">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:10pt;">
|
|
<thead>
|
|
<tr>
|
|
<th> <?= _("Désignation") ?> </th>
|
|
<th style="text-align:center" > <?= _("Modifier") ?> </th>
|
|
<!-- <th style="text-align:center" > <?= _("Importer") ?> </th> -->
|
|
<th style="text-align:center" > <?= _("Archiver") ?> </th>
|
|
<th style="text-align:center" > <?= _("Supprimer") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($tarifs as $tarif):
|
|
$idTarif = $this->nettoyer($tarif['id']);
|
|
$libelleTarif = $tarif['libelle']." (".$tarif['codeTarifActe'].")";
|
|
if (est_anglophone())
|
|
{
|
|
$libelleTarif = $tarif['libelleEng']." (".$tarif['codeTarifActe'].")";
|
|
}
|
|
?>
|
|
<tr valign="top">
|
|
<td><?= $libelleTarif ?></td>
|
|
<td align="center"> <input class = "form-control btn btn-primary" style="font-size:10pt;" type="button" value="<?= _("Modifier") ?>" onClick="javascript:modifier_tarif_actes(<?= $idTarif ?>);"> </td>
|
|
|
|
<?php if($adminSin=="1") : ?>
|
|
<td align="center"> <input class = "form-control btn btn-info" style="font-size:10pt;" type="button" value="<?= _("Archiver") ?>" onClick="javascript:archiver_tarif_actes(<?= $idTarif ?>);"> </td>
|
|
<td align="center"> <input class = "form-control btn btn-danger" style="font-size:10pt;" type="button" value="<?= _("Supprimer") ?>" onClick="javascript:supprimer_tarif_actes(<?= $idTarif ?>);"> </td>
|
|
<?php else: ?>
|
|
<td align="center"> <input class = "form-control btn btn-info" style="font-size:10pt;" type="button" value="<?= _("Archiver") ?>" disabled > </td>
|
|
<td align="center"> <input class = "form-control btn btn-danger" style="font-size:10pt;" type="button" value="<?= _("Supprimer") ?>" disabled > </td>
|
|
<?php endif; ?>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|