valfd
This commit is contained in:
parent
79079ec258
commit
ebdd5f5f98
|
|
@ -290,29 +290,70 @@
|
|||
</div>
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<tbody>
|
||||
<tr class="searchable-row">
|
||||
<td width="5%" class="text-center"><span class="badge-ghost bg-primary-ghost">PH-01</span></td>
|
||||
<td class="text-muted fw-bold"><?= _("Autoriser pharmacien à créer un médicament (soumis à entente) ?") ?></td>
|
||||
<td width="15%" class="text-center bg-light text-muted fw-bold"><?= ($societeuser['accesAjoutPh'] == "1") ? _("Oui") : _("Non") ?></td>
|
||||
<td width="22%">
|
||||
<select class="form-select form-select-sm fw-bold border-warning" id="s_accesAjoutPh" name="s_accesAjoutPh">
|
||||
<?php liste_options($accesAjoutPhOuinon, $this->nettoyer($societeuser['accesAjoutPh']), true); ?>
|
||||
<tbody>
|
||||
<?php
|
||||
$pharm_bool = [
|
||||
['01', _("Activer la création de médicaments par les pharmaciens, sous réserve d'entente préalable."), 'accesAjoutPh', $accesAjoutPhOuinon, 's_accesAjoutPh'],
|
||||
['02', _("Autoriser le pharmacien à compléter la prescription du médecin."), 'ajoutPrescription', $ajoutPrescriptionOuinon, 's_ajoutPrescription'],
|
||||
['03', _("Activer la tolérance de marge entre prix système et prix pharmacie."), 'appliquerMargePrixMedicament', $appliquerMargePrixMedicamentOuinon, 's_appliquerMargePrixMedicament'],
|
||||
['04', _("Activer la tolérance de marge pharmacie sur les médicaments de substitution."), 'appliquerMargePrixSubstitutMedicament', $appliquerMargePrixSubstitutMedicamentOuinon, 's_appliquerMargePrixSubstitutMedicament'],
|
||||
['05', _("Interdire la délivrance partielle d'un médicament en pharmacie."), 'interdirVentePartielleMedicament', $interdirVentePartielleMedicamentOuinon, 's_interdirVentePartielleMedicament'],
|
||||
['06', _("Activer la modification du prix médicament par le pharmacien."), 'prixMedicamentModifiable', $prixMedicamentModifiableOuinon, 's_prixMedicamentModifiable']
|
||||
];
|
||||
foreach($pharm_bool as $pb):
|
||||
$status = ($societeuser[$pb[2]] == "1"); ?>
|
||||
<tr class="searchable-row">
|
||||
<td width="8%" class="text-center"><span class="badge-ghost bg-success-ghost"><?= $pb[0] ?></span></td>
|
||||
<td class="text-muted fw-bold"><?= $pb[1] ?></td>
|
||||
<td class="text-center bg-light text-muted fw-bold"><?= $status ? _("Oui") : _("Non") ?></td>
|
||||
<td>
|
||||
<select class="form-select form-select-sm fw-bold border-warning" id="<?= $b[4] ?>" name="<?= $b[4] ?>">
|
||||
<?php liste_options($b[3], $this->nettoyer($societeuser[$b[2]]), true); ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge-ghost bg-primary-ghost">LB-01</span></td>
|
||||
<td class="text-muted fw-bold"><?= _("Permettre aux LABO de compléter la prescription ?") ?></td>
|
||||
<td class="text-center bg-light text-muted fw-bold"><?= ($societeuser['ajoutPrescriptionExam'] == "1") ? _("Oui") : _("Non") ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge-ghost bg-success-ghost">07</span></td>
|
||||
<td class="text-muted fw-bold"><?= _("Mode d'application de la marge pharmacie/système (% ou forfait).") ?></td>
|
||||
<td class="text-center bg-light text-muted fw-bold"><?= $this->nettoyer($societeuser['typeMargePrixMedicament']) ?></td>
|
||||
<td>
|
||||
<select class="form-select form-select-sm fw-bold border-warning" id="s_ajoutPrescriptionExam" name="s_ajoutPrescriptionExam">
|
||||
<?php liste_options($ajoutPrescriptionExamOuinon, $this->nettoyer($societeuser['ajoutPrescriptionExam']), true); ?>
|
||||
<select class="form-select form-select-sm fw-bold border-warning" id="s_typeMargePrixMedicament" name="s_typeMargePrixMedicament">
|
||||
<?php liste_options($typeMarge, $this->nettoyer($societeuser['typeMargePrixMedicament']), true); ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</tr>
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge-ghost bg-success-ghost">08</span></td>
|
||||
<td class="text-muted fw-bold"><?= _("Marge autorisée entre prix système et prix pratiqué en pharmacie.") ?></td>
|
||||
<td class="text-center bg-light text-muted fw-bold">
|
||||
<?= format_N($this->nettoyer($societeuser['margePrixMedicament'])) ?>
|
||||
<?= ($societeuser['typeMargePrixMedicament'] == "Forfait") ? $_SESSION['devise_C'] : "%" ?>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group input-group-sm">
|
||||
<input class="form-control text-center fw-bold border-warning" id="s_margePrixMedicament" name="s_margePrixMedicament" type="text" value="<?= $this->nettoyer($societeuser['margePrixMedicament']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['margePrixMedicament']) ?>);">
|
||||
<span class="input-group-text bg-white border-warning"><?= ($societeuser['typeMargePrixMedicament'] == "Forfait") ? $_SESSION['devise_C'] : "%" ?></span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge-ghost bg-success-ghost">09</span></td>
|
||||
<td class="text-muted fw-bold"><?= _("Marge autorisée entre prix de référence et prix pharmacie sur les substitutions.") ?></td>
|
||||
<td class="text-center bg-light text-muted fw-bold">
|
||||
<?= format_N($this->nettoyer($societeuser['margePrixSubstitutMedicament'])) ?>
|
||||
<?= ($societeuser['typeMargePrixMedicament'] == "Forfait") ? $_SESSION['devise_C'] : "%" ?>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group input-group-sm">
|
||||
<input class="form-control text-center fw-bold border-warning" id="s_margePrixSubstitutMedicament" name="s_margePrixSubstitutMedicament" type="text" value="<?= $this->nettoyer($societeuser['margePrixSubstitutMedicament']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['margePrixSubstitutMedicament']) ?>);">
|
||||
<span class="input-group-text bg-white border-warning"><?= ($societeuser['typeMargePrixMedicament'] == "Forfait") ? $_SESSION['devise_C'] : "%" ?></span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user