This commit is contained in:
KANE LAZENI 2026-06-24 22:01:35 +00:00
parent bf6ca44165
commit 8cb0cd9e75

View File

@ -28,7 +28,7 @@
<div class="tab-container">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt; white-space: nowrap;">
<thead>
<tr>
<tr>
<th width="24%" style="text-align:center"> <?= _("Nom") ?> </th>
<th width="5%" style="text-align:center"> <?= _("Forme") ?> </th>
<th width="6%" style="text-align:center"> <?= _("Prix Unitaire") ?> </th>
@ -44,7 +44,7 @@
<th width="7%" style="text-align:center"> <?= _("Renouvelable") ?> </th>
<th width="9%" style="text-align:center"> <?= _("Fréquence (Jour)") ?> </th>
<th width="5%" style="text-align:center"> <?= _("Suppr") ?> </th>
</tr>
</tr>
</thead>
<?php
@ -219,7 +219,7 @@
<?php if ($livre!="1" && $bonCaduc!="1" && $ententePrealable!='1' && $ententePrealable!='9'): ?>
<td>
<button type="button" class="form-control btn btn-danger" onClick="javascript:supprimer_medicament('<?= $idMedicament ?>');">
<i class="fa fa-times" aria-hidden="true"></i>
<i class="fa fa-times" aria-hidden="true"></i>
</button>
</td>
<?php else: ?>
@ -246,22 +246,22 @@
<div id="div_listemedicament" onkeypress="javascript:ctrlkeypress(event);">
<?php if ($nbMedicamentSaisie>=$_SESSION['p_nbMedicamentMax'] && $hospitalisation!="1"): ?>
<div class="alert alert-danger" style="height:38px; padding:5px;">
<H4> <?= _("Attention! Maximum de médicaments atteint!") ?></H4>
<H4> <?= _("Attention! Maximum de médicaments atteint!") ?></H4>
</div>
<?php else: ?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:10pt;'>
<thead>
<tr>
<tr>
<th style="text-align:center" width="10%" > Code </th>
<th style="text-align:center" ><?= _("Nom contenant...") ?> </th>
<th style="text-align:center" > <?= _("Prix") ?> </th>
</tr>
</tr>
</thead>
<tbody>
<tr>
<tr>
<td colspan="2"><input type="text" class="form-control" id="nomsearch" name="nomsearch" autofocus style='font-size:10pt;'></td>
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_medicament();" /></td>
</tr>
</tr>
</tbody>
</table>
<?php endif; ?>
@ -269,9 +269,9 @@
</div>
</div>
<div class="modal-footer">
<div class="modal-footer">
<button type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
</div>
</div>
</div>
</div>
@ -328,5 +328,15 @@
</table>
</div>
<script>
(function() {
var input = document.getElementById("quantite63813");
if (input) {
input.focus();
input.select();
}
})();
</script>
<?php endif; ?>
</div>