a
This commit is contained in:
parent
f360b0059e
commit
9f37ddd672
|
|
@ -3215,6 +3215,11 @@ function ajouter_medicament() {
|
|||
|
||||
function ajax_maj_qte_medicament(idMedicament, quantite, controle)
|
||||
{
|
||||
// V_idControle = controle.id;
|
||||
V_idControle = "posologie"+idMedicament;
|
||||
|
||||
alert(V_idControle);
|
||||
|
||||
quantite=quantite.replace(",",".");
|
||||
controle.value=quantite;
|
||||
|
||||
|
|
@ -3243,6 +3248,8 @@ function ajax_maj_qte_medicament(idMedicament, quantite, controle)
|
|||
},
|
||||
complete: function() {
|
||||
//controle.focus();
|
||||
$("#ancmdp").focus();
|
||||
document.getElementById(V_idControle).focus();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -24418,9 +24425,6 @@ function enregistrerdemandederogationbareme(codeDerogation, libelleDerogation, c
|
|||
|
||||
function ajax_maj_duree_medicament(idMedicament, duree, controle)
|
||||
{
|
||||
alert(controle.id);
|
||||
alert(controle.name);
|
||||
|
||||
duree=duree.replace(",",".");
|
||||
controle.value=duree;
|
||||
|
||||
|
|
|
|||
|
|
@ -522,7 +522,7 @@
|
|||
<?php endif; ?>
|
||||
<?php if ($livre!="1" && $bonCaduc!="1" && $ententePrealable!='1' && $ententePrealable!='9') : ?>
|
||||
<td align='center' colspan="2">
|
||||
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= $this->nettoyer($detailprescription['dureeTraitement']) ?>"
|
||||
<INPUT id="dureeTraitement<?= $idMedicament ?>" name="dureeTraitement<?= $idMedicament ?>" style='text-align:center' class="form-control" TYPE="text" value="<?= $this->nettoyer($detailprescription['dureeTraitement']) ?>"
|
||||
onChange="ajax_maj_duree_medicament('<?=$idMedicament?>', this.value, this);">
|
||||
</td>
|
||||
<?php else: ?>
|
||||
|
|
@ -549,14 +549,14 @@
|
|||
<td align='center' > <?=$garanti?></td>
|
||||
<?php if ($livre!="1" && $bonCaduc!="1" && $ententePrealable!='1' && $ententePrealable!='9' && $exclu!="1") : ?>
|
||||
<td align='center' >
|
||||
<SELECT class="form-select" style='font-size:8pt; text-align:center; height: 27px !important; ' onChange="ajax_maj_renouvelable_medicament('<?=$idMedicament?>', this.value, this);">
|
||||
<SELECT id="renouvelable<?= $idMedicament ?>" name="renouvelable<?= $idMedicament ?>" class="form-select" style='font-size:8pt; text-align:center; height: 27px !important; ' onChange="ajax_maj_renouvelable_medicament('<?=$idMedicament?>', this.value, this);">
|
||||
<?php liste_options($ouinonrenouvelable, $renouvelable, true); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
|
||||
<td align='center' >
|
||||
<?php if ($renouvelable=="1") : ?>
|
||||
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= $frequenceRenouvellement ?>"
|
||||
<INPUT id="frequenceRenouvellement<?= $idMedicament ?>" name="frequenceRenouvellement<?= $idMedicament ?>" style='text-align:center' class="form-control" TYPE="text" value="<?= $frequenceRenouvellement ?>"
|
||||
onChange="ajax_maj_frequence_medicament('<?=$idMedicament?>', this.value, this);" required>
|
||||
<?php else: ?>
|
||||
<INPUT style='text-align:center' class="form-control" TYPE="text" value="0" disabled>
|
||||
|
|
|
|||
|
|
@ -892,7 +892,7 @@
|
|||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.css" crossorigin="anonymous">
|
||||
<script src="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.js" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="Js/fonctions.js?ver=2026.06.24.08"></script>
|
||||
<script src="Js/fonctions.js?ver=2026.06.24.09"></script>
|
||||
<script src="Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user