radiantproduction/Vue/Nouvellefamilleacte/index.php

65 lines
2.5 KiB
PHP

<?php
// $this->titre = "INTER-SANTE - Créer un nouveau tarif médicaments";
$codeTarifActe = $_SESSION['codeTarifActe_C'];
$adminSin = $_SESSION['adminSin'];
?>
<legend> <?= _("Nouvelle famille d'actes") ?> </legend>
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td width="15%" > <?= _("Nom Français") ?> </td>
<td><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelle" NAME="libelle" required autofocus ></td>
<td align="center" width="15%" > <?= _("Nom Anglais") ?> </td>
<td><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelleEng" NAME="libelleEng" required ></td>
</tr>
<tr>
<td> <?= _("Garantie") ?> </td>
<td>
<SELECT class="form-control" id="codeGarantie" NAME="codeGarantie" style='font-size:10pt; text-align:center;' >
<?php liste_options($garanties, ""); ?>
</SELECT>
</td>
<td align="center" > <?= _("Type") ?> </td>
<td>
<SELECT class="form-control" id="codeTypePrestation" NAME="codeTypePrestation" style='font-size:10pt; text-align:center;' >
<?php liste_options($typesprestation, ""); ?>
</SELECT>
</td>
</tr>
<tr>
<td> <?= _("Tarif") ?> </td>
<td>
<SELECT class="form-control" id="codeTarifActe" NAME="codeTarifActe" autofocus style="font-size:10pt;">
<?php liste_options_consultation($tarifs, $codeTarifActe , true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Hospit")."?" ?> </td>
<td>
<SELECT class="form-control" id="hospitalisation" NAME="hospitalisation" style='font-size:10pt; text-align:center;' >
<?php liste_options($famille_hospitalisation, "0", true); ?>
</SELECT>
</td>
</tr>
<tr>
<td> </td>
<?php if($adminSin=="1") : ?>
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:creer_famille_actes();" style='font-size:10pt;' > </td>
<?php else: ?>
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" disabled style='font-size:10pt;' > </td>
<?php endif; ?>
<td> </td>
<td> <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:lister_famille_actes();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>