prestation/Vue/Nouvellefamilleacte/index.php
2025-12-05 10:42:46 +00:00

65 lines
2.6 KiB
PHP
Executable File

<?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%" class="required"> <?= _("Nom Français") ?> </td>
<td width="38%"><INPUT style="font-size:10pt;" class="form-control majuscule" TYPE="text" id="libelle" NAME="libelle" required AUTOCOMPLETE="OFF" autofocus ></td>
<td align="center" width="15%" class="required"> <?= _("Nom Anglais") ?> </td>
<td width="50%"><INPUT style="font-size:10pt;" class="form-control majuscule" TYPE="text" id="libelleEng" NAME="libelleEng" required AUTOCOMPLETE="OFF" ></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>