This commit is contained in:
KONE SOREL 2026-03-03 18:16:19 +00:00
parent d4311aea40
commit c28382fd53
2 changed files with 19 additions and 12 deletions

View File

@ -241,12 +241,12 @@
<tbody>
<?php
$comms = [
['01', _("Activer la notification exclusivement par SMS."), 'envoismsactif'],
['02', _("Activer la notification exclusivement par WhatsApp."), 'envoismswhatsappactif'],
['01', _("Activer la notification par SMS."), 'envoismsactif'],
['02', _("Activer la notification par WhatsApp."), 'envoismswhatsappactif'],
['03', _("Activer les notifications SMS/WhatsApp pour les assurés."), 'smsAssure'],
['04', _("Alerter l'assuré principal par SMS/WhatsApp après chaque facturation prestataire."), 'smsmParFacture'],
['05', _("Alerter l'assuré principal par e-mail après chaque facturation prestataire."), 'emailParFacture'],
['06', _("Partager avec l'assuré les échanges prestataire relatifs aux ententes et dérogations."), 'copieSmsPrestataireAssure'],
['04', _("Alerter l'assuré principal (SMS/WhatsApp) à chaque facturation."), 'smsmParFacture'],
['05', _("Alerter l'assuré principal par e-mail à chaque facturation."), 'emailParFacture'],
['06', _("Transmettre à l'assuré les échanges prestataires sur les ententes et dérogations."), 'copieSmsPrestataireAssure'],
['07', _("Alerter l'assuré principal (SMS/WhatsApp/e-mail) dès que son solde atteint le seuil défini."), 'seuilAlerteActif']
];
foreach($comms as $c):

View File

@ -34,10 +34,12 @@
<form id="formModifMedical">
<div class="card border-0 shadow-sm mb-4">
<div class="card-header bg-primary py-3 d-flex align-items-center justify-content-between">
<h6 class="mb-0 text-white fw-bold text-uppercase"><i class="fas fa-stethoscope me-2"></i><?= _("Protocoles Médicaux & Ententes") ?></h6>
<span class="badge bg-white text-primary rounded-pill"><?= _("14 Paramètres") ?></span>
</div>
<div class="card-header bg-info py-3 d-flex align-items-center justify-content-between">
<h6 class="mb-0 text-white fw-bold text-uppercase">
<i class="fas fa-comment-alt me-2"></i><?= _("Règles du Médical") ?>
</h6>
<span class="badge bg-white text-primary rounded-pill"><?= _("14 Paramètres") ?></span>
</div>
<div class="card-body p-0">
<div class="table-responsive">
@ -45,7 +47,7 @@
<thead class="bg-light">
<tr>
<th width="5%" class="text-center border-0 small text-muted">#</th>
<th class="border-0 small text-muted"><?= _("Désignation") ?></th>
<th class="border-0 small text-muted"><?= _("PARAMÈTRE DE COMMUNICATION") ?></th>
<th width="15%" class="text-center border-0 small text-muted"><?= _("Valeur Actuelle") ?></th>
<th width="22%" class="text-center border-0 small text-muted"><?= _("Nouvelle Valeur") ?></th>
</tr>
@ -56,8 +58,8 @@
['01', _("Activer la notification par SMS."), 'envoismsactif', $envoismsactifOuinon, 's_envoismsactif'],
['02', _("Activer la notification par WhatsApp."), 'envoismswhatsappactif', $envoismswhatsappactifOuinon, 's_envoismswhatsappactif'],
['03', _("Activer les notifications SMS/WhatsApp pour les assurés."), 'smsAssure', $smsAssureOuinon, 's_smsAssure'],
['04', _("Informer l'assuré principal (SMS/WhatsApp) à chaque facturation."), 'smsmParFacture', $smsmParFactureOuinon, 's_smsmParFacture'],
['05', _("Informer l'assuré principal par e-mail à chaque facturation."), 'emailParFacture', $emailParFactureOuinon, 's_emailParFacture'],
['04', _("Alerter l'assuré principal (SMS/WhatsApp) à chaque facturation."), 'smsmParFacture', $smsmParFactureOuinon, 's_smsmParFacture'],
['05', _("Alerter l'assuré principal par e-mail à chaque facturation."), 'emailParFacture', $emailParFactureOuinon, 's_emailParFacture'],
['06', _("Transmettre à l'assuré les échanges prestataires sur les ententes et dérogations."), 'copieSmsPrestataireAssure', $copieSmsAssureOuinon, 's_copieSmsAssure'],
['07', _("Alerter l'assuré principal (SMS/WhatsApp/e-mail) dès que son solde atteint le seuil défini."), 'seuilAlerteActif', $seuilAlerteActifOuinon, 's_seuilAlerteActif']
];
@ -80,6 +82,11 @@
</div>
<div class="card border-0 shadow-sm mb-4">
<div class="card-header bg-dark py-3">
<h6 class="mb-0 text-white fw-bold text-uppercase">
<i class="fas fa-file-medical-alt me-2"></i><?= _("Protocoles d'Entente Préalable") ?>
</h6>
</div>
<div class="card-body p-0">
<div class="table-responsive">
<table class="table table-hover align-middle mb-0">