dg
This commit is contained in:
parent
4f01524d8a
commit
1811e536f1
|
|
@ -3,168 +3,159 @@
|
|||
<input class="sr-only" type="text" id="nomForm" name="nomForm" value="frmautreparametre">
|
||||
|
||||
<div class="mb-4">
|
||||
<h4 class="fw-bold text-dark"><i class="fas fa-sliders-h me-2 text-primary"></i><?= _("AUTRES PARAMETRES SYSTEME") ?></h4>
|
||||
<h4 class="fw-bold text-dark"><i class="fas fa-sliders-h me-2 text-primary"></i><?= _("AUTRES PARAMETRES SYSTEME DU CENTRE DE GESTION") ?></h4>
|
||||
</div>
|
||||
|
||||
<ul class="nav nav-pills nav-fill mb-4 bg-white p-2 shadow-sm rounded-pill" id="customTabs" role="tablist">
|
||||
<ul class="nav nav-pills nav-fill mb-4 bg-white p-2 shadow-sm rounded-pill" id="myTab" role="tablist">
|
||||
<li class="nav-item">
|
||||
<button class="nav-link active rounded-pill fw-bold" id="tab-gen" data-bs-toggle="tab" data-bs-target="#Generaux" type="button" role="tab"><?= _("Commun") ?></button>
|
||||
<button onclick="showHideElt('Generaux')" class="nav-link active rounded-pill fw-bold" id="Generaux-tab" data-bs-toggle="tab" data-bs-target="#Generaux" type="button" role="tab"><?= _("Commun") ?></button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button class="nav-link rounded-pill fw-bold" id="tab-prod" data-bs-toggle="tab" data-bs-target="#Production" type="button" role="tab"><?= _("Production & Comptabilité") ?></button>
|
||||
<button onclick="showHideElt('Production')" class="nav-link rounded-pill fw-bold" id="Production-tab" data-bs-toggle="tab" data-bs-target="#Production" type="button" role="tab"><?= _("Production et Comptabilité") ?></button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button class="nav-link rounded-pill fw-bold" id="tab-med" data-bs-toggle="tab" data-bs-target="#Medical" type="button" role="tab"><?= _("Médical") ?></button>
|
||||
<button onclick="showHideElt('Medical')" class="nav-link rounded-pill fw-bold" id="Medical-tab" data-bs-toggle="tab" data-bs-target="#Medical" type="button" role="tab"><?= _("Médical") ?></button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button class="nav-link rounded-pill fw-bold" id="tab-prest" data-bs-toggle="tab" data-bs-target="#Prestation" type="button" role="tab"><?= _("Prestations") ?></button>
|
||||
<button onclick="showHideElt('Prestation')" class="nav-link rounded-pill fw-bold" id="Prestation-tab" data-bs-toggle="tab" data-bs-target="#Prestation" type="button" role="tab"><?= _("Prestations") ?></button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content" id="customTabsContent">
|
||||
|
||||
<div class="tab-pane fade show active" id="Generaux" role="tabpanel">
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<thead class="bg-light small text-uppercase fw-bold text-muted">
|
||||
<tr>
|
||||
<th width="8%" class="text-center">#</th>
|
||||
<th><?= _("PARAMÈTRES") ?></th>
|
||||
<th width="20%" class="text-center"><?= _("VALEURS") ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="text-center"><span class="badge bg-primary-ghost text-primary">01</span></td>
|
||||
<td class="text-dark fw-bold"><?= _("Paramètre de base commun") ?></td>
|
||||
<td class="text-center"><span class="badge bg-success-ghost text-success"><?= _("OUI") ?></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="Generaux" class="tab-pane-custom">
|
||||
<div class="card border-0 shadow-sm mb-4">
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<thead class="bg-dark text-white">
|
||||
<tr>
|
||||
<th width="10%" class="text-center"><?= _("#") ?></th>
|
||||
<th><?= _("PARAMETRES") ?></th>
|
||||
<th width="20%" class="text-center"><?= _("VALEURS") ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="text-center fw-bold text-primary">01</td>
|
||||
<td class="text-dark fw-bold"><?= _("Paramètre de base section Commun") ?></td>
|
||||
<td class="text-center"><span class="badge bg-success-ghost text-success fw-bold">OUI</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="Production" class="tab-pane-custom" style="display:none;">
|
||||
<div class="card border-0 shadow-sm mb-4">
|
||||
<div class="card-header bg-warning-ghost py-2 border-0">
|
||||
<h6 class="mb-0 fw-bold text-dark text-center text-uppercase small"><?= _("COMPTABILITE") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<tbody>
|
||||
<tr height="60">
|
||||
<td width="10%" class="text-center fw-bold text-success">01 <i class='fas fa-arrow-right small ms-1'></i></td>
|
||||
<td class="text-dark fw-bold"><?= _("La valeur de l'écart toléré lorsqu'un encaissement de prime ou de facture garant est fait") ?></td>
|
||||
<td width="20%" class="text-center border-start fw-bold text-dark fs-5">
|
||||
<?= format_N($this->nettoyer($societeuser['EcartEncaissementTolerable'])) ?>
|
||||
<small class="text-muted small"><?= $_SESSION['devise_C'] ?></small>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="Medical" class="tab-pane-custom" style="display:none;">
|
||||
<div class="card border-0 shadow-sm mb-4">
|
||||
<div class="card-header bg-dark py-2 border-0">
|
||||
<h6 class="mb-0 fw-bold text-white text-center text-uppercase small"><?= _("PARAMETRES MÉDICAUX") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<tbody>
|
||||
<tr height="50">
|
||||
<td width="10%" class="text-center fw-bold text-primary">01 <i class='fas fa-arrow-right small ms-1'></i></td>
|
||||
<td class="text-dark fw-bold"><?= _("Activer les envois de SMS ?") ?></td>
|
||||
<td width="20%" class="text-center border-start">
|
||||
<?php $sms = ($societeuser['envoismsactif']=="1"); ?>
|
||||
<span class="badge <?= $sms ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?> rounded-pill px-3 py-2 fw-bold">
|
||||
<?= $sms ? _("OUI") : _("NON") ?>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="50">
|
||||
<td class="text-center fw-bold text-primary">12 <i class='fas fa-arrow-right small ms-1'></i></td>
|
||||
<td class="text-dark fw-bold"><?= _("Soumettre tous les actes d'une prescription, en entente préalable si l'un des actes est en entente préalable ?") ?></td>
|
||||
<td class="text-center border-start">
|
||||
<?php $ent = ($societeuser['tousActesSoumisEntentePrealable']=="1"); ?>
|
||||
<span class="badge <?= $ent ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?> rounded-pill px-3 py-2 fw-bold"><?= $ent ? _("OUI") : _("NON") ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="50">
|
||||
<td class="text-center fw-bold text-primary">13 <i class='fas fa-arrow-right small ms-1'></i></td>
|
||||
<td class="text-dark fw-bold"><?= _("Nombre limite des actes d'une prescription à atteindre pour déclencher une alerte d'entente préalable") ?></td>
|
||||
<td class="text-center border-start fw-bold text-primary fs-5"><?= $this->nettoyer($societeuser['nombreActeEntentePrealable']) ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="Prestation" class="tab-pane-custom" style="display:none;">
|
||||
<div class="card border-0 shadow-sm mb-4">
|
||||
<div class="card-header bg-warning-ghost py-2 border-0">
|
||||
<h6 class="mb-0 fw-bold text-dark text-center text-uppercase small"><?= _("CENTRES DE SOINS ET DENTISTERIES") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="10%" class="text-center fw-bold text-primary">01 <i class='fas fa-arrow-right small ms-1'></i></td>
|
||||
<td class="text-dark fw-bold"><?= _("Limiter la facturation par centre ?") ?></td>
|
||||
<td width="20%" class="text-center border-start"><span class="badge bg-success-ghost text-success fw-bold">OUI</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="Production" role="tabpanel">
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-header bg-white py-3 border-bottom border-light">
|
||||
<h6 class="mb-0 fw-bold text-primary text-uppercase small"><i class="fas fa-calculator me-2"></i><?= _("COMPTABILITE") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-0 text-dark">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<tbody>
|
||||
<tr height="60">
|
||||
<td width="8%" class="text-center fw-bold text-success">01</td>
|
||||
<td class="text-dark fw-bold"><?= _("La valeur de l'écart toléré lorsqu'un encaissement de prime ou de facture garant est fait") ?></td>
|
||||
<td width="20%" class="text-center border-start fw-bold">
|
||||
<?= format_N($this->nettoyer($societeuser['EcartEncaissementTolerable'])) ?>
|
||||
<small class="text-muted"><?= $_SESSION['devise_C'] ?></small>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="card border-0 shadow-sm mb-4">
|
||||
<div class="card-header bg-warning-ghost py-2 border-0">
|
||||
<h6 class="mb-0 fw-bold text-dark text-center text-uppercase small"><?= _("PHARMACIES") ?></h6>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="Medical" role="tabpanel">
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-header bg-white py-3 border-bottom border-light">
|
||||
<h6 class="mb-0 fw-bold text-primary text-uppercase small"><i class="fas fa-hand-holding-medical me-2"></i><?= _("PARAMETRES MEDICAUX") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="8%" class="text-center fw-bold text-primary">01</td>
|
||||
<td class="text-dark fw-bold"><?= _("Activer les envois de SMS ?") ?></td>
|
||||
<td width="20%" class="text-center border-start">
|
||||
<?php $sms = ($societeuser['envoismsactif']=="1"); ?>
|
||||
<span class="badge <?= $sms ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?> rounded-pill px-3 py-2 fw-bold">
|
||||
<?= $sms ? _("OUI") : _("NON") ?>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center fw-bold text-primary">12</td>
|
||||
<td class="text-dark fw-bold"><?= _("Soumettre toute la prescription en entente préalable si l'un des actes est en entente préalable ?") ?></td>
|
||||
<td class="text-center border-start">
|
||||
<?php $ent = ($societeuser['tousActesSoumisEntentePrealable']=="1"); ?>
|
||||
<span class="badge <?= $ent ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?> rounded-pill px-3 py-2 fw-bold"><?= $ent ? _("OUI") : _("NON") ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center fw-bold text-primary">13</td>
|
||||
<td class="text-dark fw-bold"><?= _("Nombre limite des actes d'une prescription à atteindre pour déclencher une alerte d'entente préalable") ?></td>
|
||||
<td class="text-center border-start fw-bold text-primary fs-5"><?= $this->nettoyer($societeuser['nombreActeEntentePrealable']) ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="Prestation" role="tabpanel">
|
||||
|
||||
<div class="card border-0 shadow-sm mb-4">
|
||||
<div class="card-header bg-light py-2 px-4 border-0">
|
||||
<h6 class="mb-0 fw-bold text-dark small text-uppercase"><?= _("CENTRES DE SOINS ET DENTISTERIES") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="8%" class="text-center fw-bold text-primary">01</td>
|
||||
<td class="text-dark fw-bold"><?= _("Limiter la facturation par centre ?") ?></td>
|
||||
<td width="20%" class="text-center border-start"><span class="badge bg-success-ghost text-success fw-bold">OUI</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-header bg-light py-2 px-4 border-0">
|
||||
<h6 class="mb-0 fw-bold text-dark small text-uppercase"><?= _("PHARMACIES") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="8%" class="text-center fw-bold text-success">09</td>
|
||||
<td class="text-dark fw-bold"><?= _("Permettre aux pharmaciens de modifier le prix d'un médicament ?") ?></td>
|
||||
<td width="20%" class="text-center border-start">
|
||||
<?php $px = ($societeuser['prixMedicamentModifiable']=="1"); ?>
|
||||
<span class="badge <?= $px ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?> rounded-pill px-3 py-2 fw-bold"><?= $px ? _("OUI") : _("NON") ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card border-0 shadow-sm mt-4">
|
||||
<div class="card-header bg-light py-2 px-4 border-0">
|
||||
<h6 class="mb-0 fw-bold text-dark small text-uppercase"><?= _("LABORATOIRES ET IMAGERIES") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-4 text-center">
|
||||
<p class="text-muted small mb-0">Données en cours de configuration...</p>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="10%" class="text-center fw-bold text-success">09 <i class='fas fa-arrow-right small ms-1'></i></td>
|
||||
<td class="text-dark fw-bold"><?= _("Permettre aux pharmaciens de modifier le prix d'un médicament ?") ?></td>
|
||||
<td width="20%" class="text-center border-start">
|
||||
<?php $px = ($societeuser['prixMedicamentModifiable']=="1"); ?>
|
||||
<span class="badge <?= $px ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?> rounded-pill px-3 py-2 fw-bold"><?= $px ? _("OUI") : _("NON") ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
/* CSS CRUCIAL POUR L'AFFICHAGE */
|
||||
/* --- DESIGN NEUTRAL PRO : FORCE DU CONTRASTE --- */
|
||||
.text-dark { color: #1a1d24 !important; font-size: 0.95rem; }
|
||||
.bg-primary-ghost { background-color: rgba(33, 46, 83, 0.08); }
|
||||
.bg-success-ghost { background-color: rgba(39, 174, 96, 0.12); }
|
||||
.bg-danger-ghost { background-color: rgba(192, 57, 43, 0.12); }
|
||||
.bg-warning-ghost { background-color: #ffefd5; } /* Respect de votre couleur d'origine */
|
||||
|
||||
.nav-pills .nav-link { color: var(--color-primary); transition: all 0.3s ease; border: 1px solid transparent; }
|
||||
/* Navigation Pills */
|
||||
.nav-pills .nav-link { color: var(--color-primary); transition: all 0.3s ease; }
|
||||
.nav-pills .nav-link.active { background-color: var(--color-primary) !important; color: white !important; box-shadow: var(--shadow-md); }
|
||||
|
||||
.table td { padding: 1.1rem 0.75rem; border-top: 1px solid #f1f4f6; }
|
||||
/* Tableaux */
|
||||
.table td { border-top: 1px solid #f1f4f6; padding: 1.1rem 0.75rem; }
|
||||
.table-hover tbody tr:hover { background-color: #f8fafc; }
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user