59 lines
2.6 KiB
PHP
59 lines
2.6 KiB
PHP
<?php
|
|
$idMedicament = $this->nettoyer($medicament['id']);
|
|
$codeMedicament = $medicament['codeMedicament'];
|
|
$ententePrealable = $medicament['ententePrealable'];
|
|
$exclu = $medicament['exclu'];
|
|
$actif = $medicament['actif'];
|
|
?>
|
|
|
|
<input class="sr-only" type="text" id="idMedicament" name="idMedicament" value="<?= $idMedicament ?>" >
|
|
<input class="sr-only" type="text" id="codeMedicament" name="codeMedicament" value="<?= $codeMedicament ?>" >
|
|
|
|
<table class="table table-responsive table-condensed" style="font-size:10pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td width="7%" > <?= _("Désignation") ?> </td>
|
|
<td colspan="3" width="50%" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelle" NAME="libelle" value="<?=$this->nettoyer( $medicament['libelle'])?>" required autofocus ></td>
|
|
|
|
<td width="7%" align="center" > <?= _("Unité") ?> </td>
|
|
<td colspan="3"><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="unite" NAME="unite" value="<?=$this->nettoyer( $medicament['unite'])?>" required ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Accord?") ?> </td>
|
|
<td>
|
|
<SELECT class="form-control" id="ententePrealable" NAME="ententePrealable" style='font-size:10pt; text-align:center;' >
|
|
<?php liste_options($medicament_ententePrealable, $ententePrealable, true); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td align="center" > <?= _("Exclu?") ?> </td>
|
|
<td>
|
|
<SELECT class="form-control" id="exclu" NAME="exclu" style='font-size:10pt; text-align:center;' >
|
|
<?php liste_options($medicament_exclu, $exclu, true); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td align="center" > <?= _("Actif?") ?> </td>
|
|
<td width="10%" >
|
|
<SELECT class="form-control" id="actif" NAME="actif" style='font-size:10pt; text-align:center;' >
|
|
<?php liste_options($medicament_actif, $actif, true); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td align="center"> <?= _("Instructions") ?> </td>
|
|
<td > <INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="instructions" NAME="instructions" value="<?=$this->nettoyer( $medicament['instructions'])?>"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> </td>
|
|
<td colspan="3"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modif_un_medicament();" style='font-size:10pt;' > </td>
|
|
|
|
<td> </td>
|
|
<td colspan="3"> <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:retour_liste_medicaments();" style='font-size:10pt;' > </td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|