valde
This commit is contained in:
parent
95b06462b6
commit
776b95dab7
67
Controleur/ControleurModifautresparametresmed.php
Executable file
67
Controleur/ControleurModifautresparametresmed.php
Executable file
|
|
@ -0,0 +1,67 @@
|
||||||
|
<?php
|
||||||
|
require_once 'Framework/Controleur.php';
|
||||||
|
require_once 'Modele/Societeuser.php';
|
||||||
|
require_once 'Modele/Menuvueutilisateur.php';
|
||||||
|
require_once 'Modele/Ouinon.php';
|
||||||
|
|
||||||
|
class ControleurModifautresparametresmed extends Controleur {
|
||||||
|
private $menuvue;
|
||||||
|
private $societeuser;
|
||||||
|
private $envoismsactifOuinon;
|
||||||
|
private $smsAssureOuinon;
|
||||||
|
private $smsmParFactureOuinon;
|
||||||
|
private $emailParFactureOuinon;
|
||||||
|
private $copieSmsAssureOuinon;
|
||||||
|
private $seuilAlerteActifOuinon;
|
||||||
|
private $accorderMedecinSouscripteurOuinon;
|
||||||
|
private $tousActesSoumisOuinon;
|
||||||
|
private $envoismswhatsappactifOuinon;
|
||||||
|
private $appliquerTarifBasOuinon;
|
||||||
|
|
||||||
|
public function __construct() {
|
||||||
|
$this->menuvue = new Menuvueutilisateur();
|
||||||
|
$this->menuvue->getMenuVue('Modifautresparametresmed');
|
||||||
|
|
||||||
|
$this->societeuser = new Societeuser();
|
||||||
|
|
||||||
|
$this->envoismsactifOuinon = (new Ouinon())->getListe();
|
||||||
|
$this->smsAssureOuinon = (new Ouinon())->getListe();
|
||||||
|
$this->smsmParFactureOuinon = (new Ouinon())->getListe();
|
||||||
|
$this->emailParFactureOuinon = (new Ouinon())->getListe();
|
||||||
|
$this->seuilAlerteActifOuinon = (new Ouinon())->getListe();
|
||||||
|
$this->accorderMedecinSouscripteurOuinon = (new Ouinon())->getListe();
|
||||||
|
|
||||||
|
$this->tousActesSoumisOuinon = (new Ouinon())->getListe();
|
||||||
|
|
||||||
|
$this->envoismswhatsappactifOuinon = (new Ouinon())->getListe();
|
||||||
|
|
||||||
|
$this->appliquerTarifBasOuinon = (new Ouinon())->getListe();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$codeSociete = $_SESSION['codeSociete'];
|
||||||
|
$societeuser = $this->societeuser->getVwSocieteuser($codeSociete);
|
||||||
|
|
||||||
|
$this->genererVue(array(
|
||||||
|
'societeuser' => $societeuser,
|
||||||
|
|
||||||
|
'envoismsactifOuinon' => $this->envoismsactifOuinon,
|
||||||
|
'smsAssureOuinon' => $this->smsAssureOuinon,
|
||||||
|
'smsmParFactureOuinon' => $this->smsmParFactureOuinon,
|
||||||
|
'emailParFactureOuinon' => $this->emailParFactureOuinon,
|
||||||
|
'copieSmsAssureOuinon' => $this->copieSmsAssureOuinon,
|
||||||
|
|
||||||
|
'seuilAlerteActifOuinon' => $this->seuilAlerteActifOuinon,
|
||||||
|
|
||||||
|
'accorderMedecinSouscripteurOuinon' => $this->accorderMedecinSouscripteurOuinon,
|
||||||
|
|
||||||
|
'tousActesSoumisOuinon' => $this->tousActesSoumisOuinon,
|
||||||
|
'envoismswhatsappactifOuinon' => $this->envoismswhatsappactifOuinon,
|
||||||
|
'appliquerTarifBasOuinon' => $this->appliquerTarifBasOuinon,
|
||||||
|
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -6,28 +6,18 @@ require_once 'Modele/Ouinon.php';
|
||||||
|
|
||||||
class ControleurModifautresparametressin extends Controleur {
|
class ControleurModifautresparametressin extends Controleur {
|
||||||
private $menuvue;
|
private $menuvue;
|
||||||
|
|
||||||
private $societeuser;
|
private $societeuser;
|
||||||
private $rachattm;
|
|
||||||
|
|
||||||
private $accesAjoutPhOuinon;
|
private $accesAjoutPhOuinon;
|
||||||
private $ajoutPrescriptionOuinon;
|
private $ajoutPrescriptionOuinon;
|
||||||
private $ajoutPrescriptionExamOuinon;
|
private $ajoutPrescriptionExamOuinon;
|
||||||
private $envoismsactifOuinon;
|
|
||||||
private $smsAssureOuinon;
|
|
||||||
private $smsmParFactureOuinon;
|
|
||||||
private $emailParFactureOuinon;
|
|
||||||
private $copieSmsAssureOuinon;
|
|
||||||
private $filtreMedecinOuinon;
|
private $filtreMedecinOuinon;
|
||||||
private $seuilAlerteActifOuinon;
|
|
||||||
private $appliquerMargePrixMedicamentOuinon;
|
private $appliquerMargePrixMedicamentOuinon;
|
||||||
private $appliquerMargePrixSubstitutMedicamentOuinon;
|
private $appliquerMargePrixSubstitutMedicamentOuinon;
|
||||||
private $permettrePrescriptionOuinon;
|
private $permettrePrescriptionOuinon;
|
||||||
private $interdirVentePartielleMedicamentOuinon;
|
private $interdirVentePartielleMedicamentOuinon;
|
||||||
private $accorderMedecinSouscripteurOuinon;
|
|
||||||
private $prixMedicamentModifiableOuinon;
|
private $prixMedicamentModifiableOuinon;
|
||||||
private $tousActesSoumisOuinon;
|
|
||||||
private $envoismswhatsappactifOuinon;
|
|
||||||
private $appliquerTarifBasOuinon;
|
|
||||||
private $autoriserUnBonPrincipalOuinon;
|
private $autoriserUnBonPrincipalOuinon;
|
||||||
private $autoriserBonHospitAvantDateOuinon;
|
private $autoriserBonHospitAvantDateOuinon;
|
||||||
private $encaissementExigeOuinon;
|
private $encaissementExigeOuinon;
|
||||||
|
|
@ -37,30 +27,20 @@ class ControleurModifautresparametressin extends Controleur {
|
||||||
$this->menuvue = new Menuvueutilisateur();
|
$this->menuvue = new Menuvueutilisateur();
|
||||||
$this->menuvue->getMenuVue('Modifautresparametressin');
|
$this->menuvue->getMenuVue('Modifautresparametressin');
|
||||||
|
|
||||||
$this->societeuser = new Societeuser();
|
$this->societeuser = new Societeuser();
|
||||||
|
|
||||||
|
$this->accesAjoutPhOuinon = (new Ouinon())->getListe();
|
||||||
|
$this->ajoutPrescriptionOuinon = (new Ouinon())->getListe();
|
||||||
|
$this->ajoutPrescriptionExamOuinon = (new Ouinon())->getListe();
|
||||||
|
$this->copieSmsAssureOuinon = (new Ouinon())->getListe();
|
||||||
|
$this->filtreMedecinOuinon = (new Ouinon())->getListe();
|
||||||
|
|
||||||
$this->accesAjoutPhOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->ajoutPrescriptionOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->ajoutPrescriptionExamOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->envoismsactifOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->smsAssureOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->smsmParFactureOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->emailParFactureOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->copieSmsAssureOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->filtreMedecinOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->seuilAlerteActifOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->appliquerMargePrixMedicamentOuinon = (new Ouinon())->getListe();
|
$this->appliquerMargePrixMedicamentOuinon = (new Ouinon())->getListe();
|
||||||
$this->appliquerMargePrixSubstitutMedicamentOuinon = (new Ouinon())->getListe();
|
$this->appliquerMargePrixSubstitutMedicamentOuinon = (new Ouinon())->getListe();
|
||||||
$this->permettrePrescriptionOuinon = (new Ouinon())->getListe();
|
$this->permettrePrescriptionOuinon = (new Ouinon())->getListe();
|
||||||
$this->interdirVentePartielleMedicamentOuinon = (new Ouinon())->getListe();
|
$this->interdirVentePartielleMedicamentOuinon = (new Ouinon())->getListe();
|
||||||
$this->accorderMedecinSouscripteurOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->accorderMedecinSouscripteurOuinon = (new Ouinon())->getListe();
|
|
||||||
$this->prixMedicamentModifiableOuinon = (new Ouinon())->getListe();
|
$this->prixMedicamentModifiableOuinon = (new Ouinon())->getListe();
|
||||||
$this->tousActesSoumisOuinon = (new Ouinon())->getListe();
|
|
||||||
|
|
||||||
$this->envoismswhatsappactifOuinon = (new Ouinon())->getListe();
|
|
||||||
|
|
||||||
$this->appliquerTarifBasOuinon = (new Ouinon())->getListe();
|
|
||||||
|
|
||||||
$this->autoriserUnBonPrincipalOuinon = (new Ouinon())->getListe();
|
$this->autoriserUnBonPrincipalOuinon = (new Ouinon())->getListe();
|
||||||
|
|
||||||
|
|
@ -73,30 +53,34 @@ class ControleurModifautresparametressin extends Controleur {
|
||||||
}
|
}
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$codeSociete = $_SESSION['codeSociete'];
|
$codeSociete = $_SESSION['codeSociete'];
|
||||||
|
$societeuser = $this->societeuser->getVwSocieteuser($codeSociete);
|
||||||
|
|
||||||
$societeuser = $this->societeuser->getVwSocieteuser($codeSociete);
|
$modeBiometrie = $this->societeuser->getModeBiometrie();
|
||||||
|
$acteConsultationGratuite = $this->societeuser->getActeConsultationGratuite();
|
||||||
|
|
||||||
$modeBiometrie = $this->societeuser->getModeBiometrie();
|
$typeMarge = $this->societeuser->getTypeMarge();
|
||||||
$acteConsultationGratuite = $this->societeuser->getActeConsultationGratuite();
|
|
||||||
|
|
||||||
$typeMarge = $this->societeuser->getTypeMarge();
|
$this->genererVue(array(
|
||||||
|
'societeuser' => $societeuser,
|
||||||
$this->genererVue(array('societeuser' => $societeuser, 'accesAjoutPhOuinon' => $this->accesAjoutPhOuinon,
|
'accesAjoutPhOuinon' => $this->accesAjoutPhOuinon,
|
||||||
'ajoutPrescriptionOuinon' => $this->ajoutPrescriptionOuinon, 'ajoutPrescriptionExamOuinon' => $this->ajoutPrescriptionExamOuinon,
|
'ajoutPrescriptionOuinon' => $this->ajoutPrescriptionOuinon,
|
||||||
'envoismsactifOuinon' => $this->envoismsactifOuinon, 'smsAssureOuinon' => $this->smsAssureOuinon,
|
'ajoutPrescriptionExamOuinon' => $this->ajoutPrescriptionExamOuinon,
|
||||||
'smsmParFactureOuinon' => $this->smsmParFactureOuinon, 'emailParFactureOuinon' => $this->emailParFactureOuinon,
|
'filtreMedecinOuinon' => $this->filtreMedecinOuinon,
|
||||||
'copieSmsAssureOuinon' => $this->copieSmsAssureOuinon, 'filtreMedecinOuinon' => $this->filtreMedecinOuinon,
|
'appliquerMargePrixMedicamentOuinon' => $this->appliquerMargePrixMedicamentOuinon,
|
||||||
'seuilAlerteActifOuinon' => $this->seuilAlerteActifOuinon,'appliquerMargePrixMedicamentOuinon' => $this->appliquerMargePrixMedicamentOuinon,
|
'appliquerMargePrixSubstitutMedicamentOuinon' => $this->appliquerMargePrixSubstitutMedicamentOuinon,
|
||||||
'appliquerMargePrixSubstitutMedicamentOuinon' => $this->appliquerMargePrixSubstitutMedicamentOuinon,
|
'permettrePrescriptionOuinon' => $this->permettrePrescriptionOuinon,
|
||||||
'permettrePrescriptionOuinon' => $this->permettrePrescriptionOuinon, 'modeBiometrie' => $modeBiometrie, 'typeMarge' => $typeMarge,
|
'modeBiometrie' => $modeBiometrie,
|
||||||
'permettrePrescriptionOuinon' => $this->permettrePrescriptionOuinon, 'modeBiometrie' => $modeBiometrie, 'acteConsultationGratuite' => $acteConsultationGratuite,
|
'typeMarge' => $typeMarge,
|
||||||
'typeMarge' => $typeMarge, 'interdirVentePartielleMedicamentOuinon' => $this->interdirVentePartielleMedicamentOuinon,
|
'permettrePrescriptionOuinon' => $this->permettrePrescriptionOuinon,
|
||||||
'accorderMedecinSouscripteurOuinon' => $this->accorderMedecinSouscripteurOuinon, 'prixMedicamentModifiableOuinon' => $this->prixMedicamentModifiableOuinon,
|
'modeBiometrie' => $modeBiometrie,
|
||||||
'tousActesSoumisOuinon' => $this->tousActesSoumisOuinon, 'envoismswhatsappactifOuinon' => $this->envoismswhatsappactifOuinon,
|
'acteConsultationGratuite' => $acteConsultationGratuite,
|
||||||
'appliquerTarifBasOuinon' => $this->appliquerTarifBasOuinon, 'autoriserUnBonPrincipalOuinon' => $this->autoriserUnBonPrincipalOuinon,
|
'interdirVentePartielleMedicamentOuinon' => $this->interdirVentePartielleMedicamentOuinon,
|
||||||
'autoriserBonHospitAvantDateOuinon' => $this->autoriserBonHospitAvantDateOuinon, 'encaissementExigeOuinon' => $this->encaissementExigeOuinon,
|
'prixMedicamentModifiableOuinon' => $this->prixMedicamentModifiableOuinon,
|
||||||
'prixActeModifiableOuinon' => $this->prixActeModifiableOuinon
|
'autoriserUnBonPrincipalOuinon' => $this->autoriserUnBonPrincipalOuinon,
|
||||||
|
'autoriserBonHospitAvantDateOuinon' => $this->autoriserBonHospitAvantDateOuinon,
|
||||||
|
'encaissementExigeOuinon' => $this->encaissementExigeOuinon,
|
||||||
|
'prixActeModifiableOuinon' => $this->prixActeModifiableOuinon
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
128
Js/fonctions.js
128
Js/fonctions.js
|
|
@ -34172,84 +34172,50 @@ function controle_numerique_new(idControle, oldValue)
|
||||||
function enregistrer_modif_parametres_sin()
|
function enregistrer_modif_parametres_sin()
|
||||||
{
|
{
|
||||||
idSocieteuser = $("#idSocieteuser").val();
|
idSocieteuser = $("#idSocieteuser").val();
|
||||||
donnees = 'idSocieteuser='+idSocieteuser;
|
|
||||||
|
|
||||||
accesAjoutPh = $("#s_accesAjoutPh").val();
|
accesAjoutPh = $("#s_accesAjoutPh").val();
|
||||||
ajoutPrescription = $("#s_ajoutPrescription").val();
|
ajoutPrescription = $("#s_ajoutPrescription").val();
|
||||||
donnees += '&accesAjoutPh='+accesAjoutPh+'&ajoutPrescription='+ajoutPrescription;
|
|
||||||
|
|
||||||
ajoutPrescriptionExam = $("#s_ajoutPrescriptionExam").val();
|
ajoutPrescriptionExam = $("#s_ajoutPrescriptionExam").val();
|
||||||
envoismsactif = $("#s_envoismsactif").val();
|
|
||||||
donnees += '&ajoutPrescriptionExam='+ajoutPrescriptionExam+'&envoismsactif='+envoismsactif;
|
|
||||||
|
|
||||||
smsAssure = $("#s_smsAssure").val();
|
|
||||||
smsmParFacture = $("#s_smsmParFacture").val();
|
|
||||||
donnees += '&smsAssure='+smsAssure+'&smsmParFacture='+smsmParFacture;
|
|
||||||
|
|
||||||
emailParFacture = $("#s_emailParFacture").val();
|
|
||||||
copieSmsAssure = $("#s_copieSmsAssure").val();
|
|
||||||
donnees += '&emailParFacture='+emailParFacture+'&copieSmsAssure='+copieSmsAssure;
|
|
||||||
|
|
||||||
filtreMedecin = $("#s_filtreMedecin").val();
|
filtreMedecin = $("#s_filtreMedecin").val();
|
||||||
nbMedicamentMax = $("#s_nbMedicamentMax").val();
|
nbMedicamentMax = $("#s_nbMedicamentMax").val();
|
||||||
donnees += '&filtreMedecin='+filtreMedecin+'&nbMedicamentMax='+nbMedicamentMax;
|
|
||||||
|
|
||||||
seuilAlerteActif = $("#s_seuilAlerteActif").val();
|
|
||||||
donnees += '&seuilAlerteActif='+seuilAlerteActif;
|
|
||||||
|
|
||||||
appliquerMargePrixMedicament = $("#s_appliquerMargePrixMedicament").val();
|
appliquerMargePrixMedicament = $("#s_appliquerMargePrixMedicament").val();
|
||||||
appliquerMargePrixSubstitutMedicament = $("#s_appliquerMargePrixSubstitutMedicament").val();
|
appliquerMargePrixSubstitutMedicament = $("#s_appliquerMargePrixSubstitutMedicament").val();
|
||||||
margePrixMedicament = $("#s_margePrixMedicament").val();
|
margePrixMedicament = $("#s_margePrixMedicament").val();
|
||||||
margePrixSubstitutMedicament = $("#s_margePrixSubstitutMedicament").val();
|
margePrixSubstitutMedicament = $("#s_margePrixSubstitutMedicament").val();
|
||||||
|
|
||||||
montantTotalExamen = $("#s_montantTotalExamen").val();
|
|
||||||
montantTotalMedicament = $("#s_montantTotalMedicament").val();
|
|
||||||
|
|
||||||
nbConsultationSpecialisteJour = $("#s_nbConsultationSpecialisteJour").val();
|
nbConsultationSpecialisteJour = $("#s_nbConsultationSpecialisteJour").val();
|
||||||
ageMaxiPediatrie = $("#s_ageMaxiPediatrie").val();
|
ageMaxiPediatrie = $("#s_ageMaxiPediatrie").val();
|
||||||
nombreFeuilleGratuitJour = $("#s_nombreFeuilleGratuitJour").val();
|
nombreFeuilleGratuitJour = $("#s_nombreFeuilleGratuitJour").val();
|
||||||
codeModeBiometrie = $("#s_codeModeBiometrie").val();
|
codeModeBiometrie = $("#s_codeModeBiometrie").val();
|
||||||
permettrePrescriptionSiCritereBareme = $("#s_permettrePrescriptionSiCritereBareme").val();
|
permettrePrescriptionSiCritereBareme = $("#s_permettrePrescriptionSiCritereBareme").val();
|
||||||
|
|
||||||
interdirVentePartielleMedicament = $("#s_interdirVentePartielleMedicament").val();
|
interdirVentePartielleMedicament = $("#s_interdirVentePartielleMedicament").val();
|
||||||
accorderMedecinSouscripteur = $("#s_accorderMedecinSouscripteur").val();
|
|
||||||
delaisReponseMedecinSouscripteur = $("#s_delaisReponseMedecinSouscripteur").val();
|
|
||||||
|
|
||||||
tousActesSoumisOuinon = $("#s_tousActesSoumisOuinon").val();
|
|
||||||
nombreActeEntentePrealable = $("#s_nombreActeEntentePrealable").val();
|
|
||||||
|
|
||||||
typeMargePrixMedicament = $("#s_typeMargePrixMedicament").val();
|
typeMargePrixMedicament = $("#s_typeMargePrixMedicament").val();
|
||||||
|
|
||||||
|
|
||||||
codeActeConsultationGratuite = $("#s_codeActeConsultationGratuite").val();
|
codeActeConsultationGratuite = $("#s_codeActeConsultationGratuite").val();
|
||||||
quantiteMedicamentPermise = $("#s_quantiteMedicamentPermise").val();
|
quantiteMedicamentPermise = $("#s_quantiteMedicamentPermise").val();
|
||||||
prixMedicamentModifiable = $("#s_prixMedicamentModifiable").val();
|
prixMedicamentModifiable = $("#s_prixMedicamentModifiable").val();
|
||||||
|
|
||||||
nbTentativeBiometrie = $("#s_nbTentativeBiometrie").val();
|
nbTentativeBiometrie = $("#s_nbTentativeBiometrie").val();
|
||||||
|
|
||||||
envoismswhatsappactif = $("#s_envoismswhatsappactif").val();
|
|
||||||
appliquerTarifBas = $("#s_appliquerTarifBas").val();
|
|
||||||
|
|
||||||
autoriserUnBonPrincipal = $("#s_autoriserUnBonPrincipal").val();
|
autoriserUnBonPrincipal = $("#s_autoriserUnBonPrincipal").val();
|
||||||
|
|
||||||
autoriserBonHospitAvantDate = $("#s_autoriserBonHospitAvantDate").val();
|
autoriserBonHospitAvantDate = $("#s_autoriserBonHospitAvantDate").val();
|
||||||
|
|
||||||
encaissementExige = $("#s_encaissementExige").val();
|
encaissementExige = $("#s_encaissementExige").val();
|
||||||
|
|
||||||
prixActeModifiable = $("#s_prixActeModifiable").val();
|
prixActeModifiable = $("#s_prixActeModifiable").val();
|
||||||
|
|
||||||
|
donnees = 'idSocieteuser='+idSocieteuser;
|
||||||
|
donnees += '&accesAjoutPh='+accesAjoutPh+'&ajoutPrescription='+ajoutPrescription;
|
||||||
|
donnees += '&ajoutPrescriptionExam='+ajoutPrescriptionExam;
|
||||||
|
|
||||||
|
donnees += '&filtreMedecin='+filtreMedecin+'&nbMedicamentMax='+nbMedicamentMax;
|
||||||
|
|
||||||
donnees +='&codeActeConsultationGratuite='+codeActeConsultationGratuite;
|
donnees +='&codeActeConsultationGratuite='+codeActeConsultationGratuite;
|
||||||
donnees += '&quantiteMedicamentPermise='+quantiteMedicamentPermise;
|
donnees += '&quantiteMedicamentPermise='+quantiteMedicamentPermise;
|
||||||
donnees +='&prixMedicamentModifiable='+prixMedicamentModifiable;
|
donnees +='&prixMedicamentModifiable='+prixMedicamentModifiable;
|
||||||
|
|
||||||
|
|
||||||
donnees += '&appliquerMargePrixMedicament='+appliquerMargePrixMedicament;
|
donnees += '&appliquerMargePrixMedicament='+appliquerMargePrixMedicament;
|
||||||
donnees += '&appliquerMargePrixSubstitutMedicament='+appliquerMargePrixSubstitutMedicament;
|
donnees += '&appliquerMargePrixSubstitutMedicament='+appliquerMargePrixSubstitutMedicament;
|
||||||
donnees += '&margePrixMedicament='+margePrixMedicament;
|
donnees += '&margePrixMedicament='+margePrixMedicament;
|
||||||
donnees +='&margePrixSubstitutMedicament='+margePrixSubstitutMedicament;
|
donnees +='&margePrixSubstitutMedicament='+margePrixSubstitutMedicament;
|
||||||
donnees += '&montantTotalExamen='+montantTotalExamen;
|
|
||||||
donnees +='&montantTotalMedicament='+montantTotalMedicament;
|
|
||||||
|
|
||||||
donnees +='&nbConsultationSpecialisteJour='+nbConsultationSpecialisteJour;
|
donnees +='&nbConsultationSpecialisteJour='+nbConsultationSpecialisteJour;
|
||||||
donnees +='&ageMaxiPediatrie='+ageMaxiPediatrie;
|
donnees +='&ageMaxiPediatrie='+ageMaxiPediatrie;
|
||||||
|
|
@ -34258,24 +34224,90 @@ function enregistrer_modif_parametres_sin()
|
||||||
donnees +='&permettrePrescriptionSiCritereBareme='+permettrePrescriptionSiCritereBareme;
|
donnees +='&permettrePrescriptionSiCritereBareme='+permettrePrescriptionSiCritereBareme;
|
||||||
|
|
||||||
donnees +='&interdirVentePartielleMedicament='+interdirVentePartielleMedicament;
|
donnees +='&interdirVentePartielleMedicament='+interdirVentePartielleMedicament;
|
||||||
donnees +='&accorderMedecinSouscripteur='+accorderMedecinSouscripteur;
|
|
||||||
donnees +='&delaisReponseMedecinSouscripteur='+delaisReponseMedecinSouscripteur;
|
|
||||||
|
|
||||||
donnees +='&tousActesSoumisOuinon='+tousActesSoumisOuinon;
|
|
||||||
donnees +='&nombreActeEntentePrealable='+nombreActeEntentePrealable;
|
|
||||||
|
|
||||||
donnees +='&typeMargePrixMedicament='+typeMargePrixMedicament;
|
donnees +='&typeMargePrixMedicament='+typeMargePrixMedicament;
|
||||||
|
|
||||||
donnees +='&nbTentativeBiometrie='+nbTentativeBiometrie;
|
donnees +='&nbTentativeBiometrie='+nbTentativeBiometrie;
|
||||||
|
|
||||||
donnees +='&envoismswhatsappactif='+envoismswhatsappactif;
|
|
||||||
donnees +='&appliquerTarifBas='+appliquerTarifBas;
|
|
||||||
|
|
||||||
donnees +='&autoriserUnBonPrincipal='+autoriserUnBonPrincipal;
|
donnees +='&autoriserUnBonPrincipal='+autoriserUnBonPrincipal;
|
||||||
donnees +='&autoriserBonHospitAvantDate='+autoriserBonHospitAvantDate;
|
donnees +='&autoriserBonHospitAvantDate='+autoriserBonHospitAvantDate;
|
||||||
donnees +='&encaissementExige='+encaissementExige;
|
donnees +='&encaissementExige='+encaissementExige;
|
||||||
donnees +='&prixActeModifiable='+prixActeModifiable;
|
donnees +='&prixActeModifiable='+prixActeModifiable;
|
||||||
|
|
||||||
|
v_msg="Confirmez-vous ces modifications?";
|
||||||
|
v_msgEng="Do you confirm these modifications?";
|
||||||
|
|
||||||
|
confirm_ebene(v_msg, v_msgEng)
|
||||||
|
.then((isConfirmed) => {
|
||||||
|
if (isConfirmed) {
|
||||||
|
// L'utilisateur a confirmé
|
||||||
|
$.ajax({
|
||||||
|
url: $("#racineWeb").val()+"Ajaxparametresgeneraux/enregistrermodifsin/",
|
||||||
|
type : 'post',
|
||||||
|
data: donnees,
|
||||||
|
error: function(errorData) {
|
||||||
|
},
|
||||||
|
success: function(data)
|
||||||
|
{
|
||||||
|
v_msg="Mise à jour effectuée avec succès!";
|
||||||
|
v_msgEng="Update done successfully!";
|
||||||
|
alert_ebene(v_msg, v_msgEng);
|
||||||
|
},
|
||||||
|
complete: function()
|
||||||
|
{
|
||||||
|
afficher_autres_parametresgeneraux();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
// L'utilisateur a annulé
|
||||||
|
console.log("Confirmation refusée");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function enregistrer_modif_parametres_med()
|
||||||
|
{
|
||||||
|
idSocieteuser = $("#idSocieteuser").val();
|
||||||
|
|
||||||
|
envoismsactif = $("#s_envoismsactif").val();
|
||||||
|
|
||||||
|
smsAssure = $("#s_smsAssure").val();
|
||||||
|
smsmParFacture = $("#s_smsmParFacture").val();
|
||||||
|
|
||||||
|
emailParFacture = $("#s_emailParFacture").val();
|
||||||
|
copieSmsAssure = $("#s_copieSmsAssure").val();
|
||||||
|
|
||||||
|
seuilAlerteActif = $("#s_seuilAlerteActif").val();
|
||||||
|
|
||||||
|
montantTotalExamen = $("#s_montantTotalExamen").val();
|
||||||
|
montantTotalMedicament = $("#s_montantTotalMedicament").val();
|
||||||
|
|
||||||
|
accorderMedecinSouscripteur = $("#s_accorderMedecinSouscripteur").val();
|
||||||
|
delaisReponseMedecinSouscripteur = $("#s_delaisReponseMedecinSouscripteur").val();
|
||||||
|
|
||||||
|
tousActesSoumisOuinon = $("#s_tousActesSoumisOuinon").val();
|
||||||
|
|
||||||
|
envoismswhatsappactif = $("#s_envoismswhatsappactif").val();
|
||||||
|
appliquerTarifBas = $("#s_appliquerTarifBas").val();
|
||||||
|
nombreActeEntentePrealable = $("#s_nombreActeEntentePrealable").val();
|
||||||
|
|
||||||
|
donnees = 'idSocieteuser='+idSocieteuser;
|
||||||
|
donnees += '&envoismsactif='+envoismsactif;
|
||||||
|
donnees += '&smsAssure='+smsAssure+'&smsmParFacture='+smsmParFacture;
|
||||||
|
donnees += '&emailParFacture='+emailParFacture+'&copieSmsAssure='+copieSmsAssure;
|
||||||
|
donnees += '&seuilAlerteActif='+seuilAlerteActif;
|
||||||
|
donnees += '&montantTotalExamen='+montantTotalExamen;
|
||||||
|
donnees +='&montantTotalMedicament='+montantTotalMedicament;
|
||||||
|
|
||||||
|
donnees +='&accorderMedecinSouscripteur='+accorderMedecinSouscripteur;
|
||||||
|
donnees +='&delaisReponseMedecinSouscripteur='+delaisReponseMedecinSouscripteur;
|
||||||
|
|
||||||
|
donnees +='&tousActesSoumisOuinon='+tousActesSoumisOuinon;
|
||||||
|
|
||||||
|
donnees +='&envoismswhatsappactif='+envoismswhatsappactif;
|
||||||
|
donnees +='&appliquerTarifBas='+appliquerTarifBas;
|
||||||
|
donnees +='&nombreActeEntentePrealable='+nombreActeEntentePrealable;
|
||||||
|
|
||||||
v_msg="Confirmez-vous ces modifications?";
|
v_msg="Confirmez-vous ces modifications?";
|
||||||
v_msgEng="Do you confirm these modifications?";
|
v_msgEng="Do you confirm these modifications?";
|
||||||
|
|
@ -34286,7 +34318,7 @@ function enregistrer_modif_parametres_sin()
|
||||||
if (isConfirmed) {
|
if (isConfirmed) {
|
||||||
// L'utilisateur a confirmé
|
// L'utilisateur a confirmé
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: $("#racineWeb").val()+"Ajaxparametresgeneraux/enregistrermodifsin/",
|
url: $("#racineWeb").val()+"Ajaxparametresgeneraux/enregistrermodifmed/",
|
||||||
type : 'post',
|
type : 'post',
|
||||||
data: donnees,
|
data: donnees,
|
||||||
error: function(errorData) {
|
error: function(errorData) {
|
||||||
|
|
|
||||||
186
Vue/Modifautresparametresmed/index.php
Executable file
186
Vue/Modifautresparametresmed/index.php
Executable file
|
|
@ -0,0 +1,186 @@
|
||||||
|
<div class="page-content">
|
||||||
|
<input class="sr-only" type="text" id="idSocieteuser" name="idSocieteuser" value="<?= $this->nettoyer($societeuser['idSocieteuser']) ?>">
|
||||||
|
|
||||||
|
<div class="header-section mb-4">
|
||||||
|
<div class="d-flex flex-column flex-md-row align-items-md-center justify-content-between bg-white p-3 shadow-sm border-start border-warning border-4" style="border-radius: var(--radius-md);">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<div class="icon-shape bg-warning-ghost text-warning rounded-circle me-3" style="width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;">
|
||||||
|
<i class="fas fa-file-medical-alt fs-5"></i>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h4 id="titre-page" class="mb-0 fw-bold text-uppercase"><?= _("Modifier règles métier") ?></h4>
|
||||||
|
<p class="text-muted small mb-0"><?= _("Médical") ?></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="position-relative mt-3 mt-md-0" style="min-width: 280px; flex-grow: 1; max-width: 350px;">
|
||||||
|
<i class="fas fa-search position-absolute top-50 start-0 translate-middle-y ms-3 text-muted"></i>
|
||||||
|
<input type="text" id="globalSearch" class="form-control ps-5 border-2 rounded-pill shadow-none" placeholder="<?= _('Chercher un paramètre...') ?>">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="d-flex gap-2 mt-3 mt-md-0">
|
||||||
|
<button class="btn btn-outline-secondary btn-sm px-3 fw-bold" onclick="javascript:afficher_autres_parametresgeneraux();">
|
||||||
|
<i class="fas fa-undo me-2"></i><?= _("Annuler") ?>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-primary btn-sm px-3 fw-bold shadow-sm" id="btn_enreg" onclick="javascript:enregistrer_modif_parametres_med();">
|
||||||
|
<i class="fas fa-save me-2"></i><?= _("Enregistrer") ?>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form id="formModifMedical">
|
||||||
|
<div class="card border-0 shadow-sm mb-4">
|
||||||
|
<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">
|
||||||
|
<table class="table table-hover align-middle mb-0">
|
||||||
|
<thead class="bg-light">
|
||||||
|
<tr>
|
||||||
|
<th width="5%" class="text-center border-0 small text-muted">#</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>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php
|
||||||
|
$med_bool = [
|
||||||
|
['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', _("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']
|
||||||
|
];
|
||||||
|
foreach($med_bool as $b):
|
||||||
|
$status = ($societeuser[$b[2]] == "1"); ?>
|
||||||
|
<tr class="searchable-row">
|
||||||
|
<td class="text-center"><span class="badge-ghost bg-info-ghost"><?= $b[0] ?></span></td>
|
||||||
|
<td class="text-muted fw-bold"><?= $b[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>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</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">
|
||||||
|
<tbody>
|
||||||
|
<tr class="searchable-row">
|
||||||
|
<td class="text-center"><span class="badge-ghost bg-info-ghost">08</span></td>
|
||||||
|
<td class="text-muted fw-bold"><?= _("Déclencher une entente préalable si le seuil du montant total des examens prescrits est dépassé.") ?></td>
|
||||||
|
<td class="text-center bg-light text-muted fw-bold"><?= format_N($this->nettoyer($societeuser['montantTotalExamen'])) ?></td>
|
||||||
|
<td>
|
||||||
|
<div class="input-group input-group-sm">
|
||||||
|
<input class="form-control text-center fw-bold border-warning" id="s_montantTotalExamen" name="s_montantTotalExamen" type="text" value="<?= $this->nettoyer($societeuser['montantTotalExamen']) ?>">
|
||||||
|
<span class="input-group-text bg-white border-warning"><?= $_SESSION['devise_C'] ?></span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="searchable-row">
|
||||||
|
<td class="text-center"><span class="badge-ghost bg-info-ghost">09</span></td>
|
||||||
|
<td class="text-muted fw-bold"><?= _("Déclencher une entente préalable si le seuil du montant total des médicaments prescrits est dépassé.") ?></td>
|
||||||
|
<td class="text-center bg-light text-muted fw-bold"><?= format_N($this->nettoyer($societeuser['montantTotalMedicament'])) ?></td>
|
||||||
|
<td>
|
||||||
|
<div class="input-group input-group-sm">
|
||||||
|
<input class="form-control text-center fw-bold border-warning" id="s_montantTotalMedicament" name="s_montantTotalMedicament" type="text" value="<?= $this->nettoyer($societeuser['montantTotalMedicament']) ?>">
|
||||||
|
<span class="input-group-text bg-white border-warning"><?= $_SESSION['devise_C'] ?></span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="searchable-row">
|
||||||
|
<td width="5%" class="text-center"><span class="badge-ghost bg-info-ghost">10</span></td>
|
||||||
|
<td class="text-muted fw-bold"><?= _("Autoriser le médecin du souscripteur à recevoir et traiter les ententes préalables.") ?></td>
|
||||||
|
<td width="15%" class="text-center bg-light text-muted fw-bold">
|
||||||
|
<?php $med = ($societeuser['accorderMedecinSouscripteur'] == "1"); ?>
|
||||||
|
<span class="badge rounded-pill px-3 py-2 <?= $med ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?>">
|
||||||
|
<?= $med ? _("OUI") : _("NON") ?>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
<td width="22%">
|
||||||
|
<select class="form-select form-select-sm fw-bold border-warning" id="s_accorderMedecinSouscripteur" name="s_accorderMedecinSouscripteur">
|
||||||
|
<?php liste_options($accorderMedecinSouscripteurOuinon, $this->nettoyer($societeuser['accorderMedecinSouscripteur']), true); ?>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="searchable-row">
|
||||||
|
<td class="text-center"><span class="badge-ghost bg-info-ghost">11</span></td>
|
||||||
|
<td class="text-muted fw-bold"><?= _("Délai de réponse alloué au médecin du souscripteur.") ?></td>
|
||||||
|
<td class="text-center bg-light text-muted fw-bold"><?= $this->nettoyer($societeuser['delaisReponseMedecinSouscripteur']) ?></td>
|
||||||
|
<td>
|
||||||
|
<div class="input-group input-group-sm">
|
||||||
|
<input class="form-control text-center fw-bold border-warning" id="s_delaisReponseMedecinSouscripteur" name="s_delaisReponseMedecinSouscripteur" type="text" value="<?= $this->nettoyer($societeuser['delaisReponseMedecinSouscripteur']) ?>">
|
||||||
|
<span class="input-group-text bg-white border-warning"><?= _("Heure(s)") ?></span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="searchable-row">
|
||||||
|
<td width="5%" class="text-center"><span class="badge-ghost bg-info-ghost">12</span></td>
|
||||||
|
<td class="text-muted fw-bold"><?= _("Tout acte en entente préalable entraîne la soumission complète de la prescription.") ?></td>
|
||||||
|
<td width="15%" class="text-center bg-light text-muted fw-bold">
|
||||||
|
<?php $med = ($societeuser['tousActesSoumisEntentePrealable'] == "1"); ?>
|
||||||
|
<span class="badge rounded-pill px-3 py-2 <?= $med ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?>">
|
||||||
|
<?= $med ? _("OUI") : _("NON") ?>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
<td width="22%">
|
||||||
|
<select class="form-select form-select-sm fw-bold border-warning" id="s_tousActesSoumisOuinon" name="s_tousActesSoumisOuinon">
|
||||||
|
<?php liste_options($tousActesSoumisOuinon, $this->nettoyer($societeuser['tousActesSoumisEntentePrealable']), true); ?>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="searchable-row">
|
||||||
|
<td class="text-center"><span class="badge-ghost bg-info-ghost">13</span></td>
|
||||||
|
<td class="text-muted fw-bold"><?= _("Déclencher une entente préalable au dépassement du nombre d'actes par prescription.") ?></td>
|
||||||
|
<td class="text-center bg-light text-muted fw-bold"><?= $this->nettoyer($societeuser['nombreActeEntentePrealable']) ?></td>
|
||||||
|
<td>
|
||||||
|
<div class="input-group input-group-sm">
|
||||||
|
<input class="form-control text-center fw-bold border-warning" id="s_nombreActeEntentePrealable" name="s_nombreActeEntentePrealable" type="text" value="<?= $this->nettoyer($societeuser['nombreActeEntentePrealable']) ?>">
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="searchable-row">
|
||||||
|
<td width="5%" class="text-center"><span class="badge-ghost bg-info-ghost">14</span></td>
|
||||||
|
<td class="text-muted fw-bold"><?= _("Appliquer automatiquement le tarif négocié le plus bas.") ?></td>
|
||||||
|
<td width="15%" class="text-center bg-light text-muted fw-bold">
|
||||||
|
<?php $med = ($societeuser['appliquerTarifBas'] == "1"); ?>
|
||||||
|
<span class="badge rounded-pill px-3 py-2 <?= $med ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?>">
|
||||||
|
<?= $med ? _("OUI") : _("NON") ?>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
<td width="22%">
|
||||||
|
<select class="form-select form-select-sm fw-bold border-warning" id="s_appliquerTarifBas" name="s_appliquerTarifBas">
|
||||||
|
<?php liste_options($appliquerTarifBasOuinon, $this->nettoyer($societeuser['appliquerTarifBas']), true); ?>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
<?php //$this->titre = "INTER SANTE - " . _("Modifier Paramètres Médical & Prestataires"); ?>
|
|
||||||
|
|
||||||
<div class="page-content">
|
<div class="page-content">
|
||||||
<input class="sr-only" type="text" id="idSocieteuser" name="idSocieteuser" value="<?= $this->nettoyer($societeuser['idSocieteuser']) ?>">
|
<input class="sr-only" type="text" id="idSocieteuser" name="idSocieteuser" value="<?= $this->nettoyer($societeuser['idSocieteuser']) ?>">
|
||||||
|
|
||||||
|
|
@ -11,7 +9,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h4 id="titre-page" class="mb-0 fw-bold text-uppercase"><?= _("Modifier règles métier") ?></h4>
|
<h4 id="titre-page" class="mb-0 fw-bold text-uppercase"><?= _("Modifier règles métier") ?></h4>
|
||||||
<p class="text-muted small mb-0"><?= _("Médical & Prestations (Sinistre - Prestataires)") ?></p>
|
<p class="text-muted small mb-0"><?= _("Prestations (Sinistre & Prestataires)") ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -31,161 +29,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form id="formModifMedical">
|
<form id="formModifSinistre">
|
||||||
|
|
||||||
<div class="card border-0 shadow-sm mb-4">
|
|
||||||
<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">
|
|
||||||
<table class="table table-hover align-middle mb-0">
|
|
||||||
<thead class="bg-light">
|
|
||||||
<tr>
|
|
||||||
<th width="5%" class="text-center border-0 small text-muted">#</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>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
$med_bool = [
|
|
||||||
['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', _("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']
|
|
||||||
];
|
|
||||||
foreach($med_bool as $b):
|
|
||||||
$status = ($societeuser[$b[2]] == "1"); ?>
|
|
||||||
<tr class="searchable-row">
|
|
||||||
<td class="text-center"><span class="badge-ghost bg-info-ghost"><?= $b[0] ?></span></td>
|
|
||||||
<td class="text-muted fw-bold"><?= $b[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>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</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">
|
|
||||||
<tbody>
|
|
||||||
<tr class="searchable-row">
|
|
||||||
<td class="text-center"><span class="badge-ghost bg-info-ghost">08</span></td>
|
|
||||||
<td class="text-muted fw-bold"><?= _("Déclencher une entente préalable si le seuil du montant total des examens prescrits est dépassé.") ?></td>
|
|
||||||
<td class="text-center bg-light text-muted fw-bold"><?= format_N($this->nettoyer($societeuser['montantTotalExamen'])) ?></td>
|
|
||||||
<td>
|
|
||||||
<div class="input-group input-group-sm">
|
|
||||||
<input class="form-control text-center fw-bold border-warning" id="s_montantTotalExamen" name="s_montantTotalExamen" type="text" value="<?= $this->nettoyer($societeuser['montantTotalExamen']) ?>">
|
|
||||||
<span class="input-group-text bg-white border-warning"><?= $_SESSION['devise_C'] ?></span>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="searchable-row">
|
|
||||||
<td class="text-center"><span class="badge-ghost bg-info-ghost">09</span></td>
|
|
||||||
<td class="text-muted fw-bold"><?= _("Déclencher une entente préalable si le seuil du montant total des médicaments prescrits est dépassé.") ?></td>
|
|
||||||
<td class="text-center bg-light text-muted fw-bold"><?= format_N($this->nettoyer($societeuser['montantTotalMedicament'])) ?></td>
|
|
||||||
<td>
|
|
||||||
<div class="input-group input-group-sm">
|
|
||||||
<input class="form-control text-center fw-bold border-warning" id="s_montantTotalMedicament" name="s_montantTotalMedicament" type="text" value="<?= $this->nettoyer($societeuser['montantTotalMedicament']) ?>">
|
|
||||||
<span class="input-group-text bg-white border-warning"><?= $_SESSION['devise_C'] ?></span>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="searchable-row">
|
|
||||||
<td width="5%" class="text-center"><span class="badge-ghost bg-info-ghost">10</span></td>
|
|
||||||
<td class="text-muted fw-bold"><?= _("Autoriser le médecin du souscripteur à recevoir et traiter les ententes préalables.") ?></td>
|
|
||||||
<td width="15%" class="text-center bg-light text-muted fw-bold">
|
|
||||||
<?php $med = ($societeuser['accorderMedecinSouscripteur'] == "1"); ?>
|
|
||||||
<span class="badge rounded-pill px-3 py-2 <?= $med ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?>">
|
|
||||||
<?= $med ? _("OUI") : _("NON") ?>
|
|
||||||
</span>
|
|
||||||
</td>
|
|
||||||
<td width="22%">
|
|
||||||
<select class="form-select form-select-sm fw-bold border-warning" id="s_accorderMedecinSouscripteur" name="s_accorderMedecinSouscripteur">
|
|
||||||
<?php liste_options($accorderMedecinSouscripteurOuinon, $this->nettoyer($societeuser['accorderMedecinSouscripteur']), true); ?>
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="searchable-row">
|
|
||||||
<td class="text-center"><span class="badge-ghost bg-info-ghost">11</span></td>
|
|
||||||
<td class="text-muted fw-bold"><?= _("Délai de réponse alloué au médecin du souscripteur.") ?></td>
|
|
||||||
<td class="text-center bg-light text-muted fw-bold"><?= $this->nettoyer($societeuser['delaisReponseMedecinSouscripteur']) ?></td>
|
|
||||||
<td>
|
|
||||||
<div class="input-group input-group-sm">
|
|
||||||
<input class="form-control text-center fw-bold border-warning" id="s_delaisReponseMedecinSouscripteur" name="s_delaisReponseMedecinSouscripteur" type="text" value="<?= $this->nettoyer($societeuser['delaisReponseMedecinSouscripteur']) ?>">
|
|
||||||
<span class="input-group-text bg-white border-warning"><?= _("Heure(s)") ?></span>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="searchable-row">
|
|
||||||
<td width="5%" class="text-center"><span class="badge-ghost bg-info-ghost">12</span></td>
|
|
||||||
<td class="text-muted fw-bold"><?= _("Tout acte en entente préalable entraîne la soumission complète de la prescription.") ?></td>
|
|
||||||
<td width="15%" class="text-center bg-light text-muted fw-bold">
|
|
||||||
<?php $med = ($societeuser['tousActesSoumisEntentePrealable'] == "1"); ?>
|
|
||||||
<span class="badge rounded-pill px-3 py-2 <?= $med ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?>">
|
|
||||||
<?= $med ? _("OUI") : _("NON") ?>
|
|
||||||
</span>
|
|
||||||
</td>
|
|
||||||
<td width="22%">
|
|
||||||
<select class="form-select form-select-sm fw-bold border-warning" id="s_tousActesSoumisOuinon" name="s_tousActesSoumisOuinon">
|
|
||||||
<?php liste_options($tousActesSoumisOuinon, $this->nettoyer($societeuser['tousActesSoumisEntentePrealable']), true); ?>
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="searchable-row">
|
|
||||||
<td class="text-center"><span class="badge-ghost bg-info-ghost">13</span></td>
|
|
||||||
<td class="text-muted fw-bold"><?= _("Déclencher une entente préalable au dépassement du nombre d'actes par prescription.") ?></td>
|
|
||||||
<td class="text-center bg-light text-muted fw-bold"><?= $this->nettoyer($societeuser['nombreActeEntentePrealable']) ?></td>
|
|
||||||
<td>
|
|
||||||
<div class="input-group input-group-sm">
|
|
||||||
<input class="form-control text-center fw-bold border-warning" id="s_nombreActeEntentePrealable" name="s_nombreActeEntentePrealable" type="text" value="<?= $this->nettoyer($societeuser['nombreActeEntentePrealable']) ?>">
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="searchable-row">
|
|
||||||
<td width="5%" class="text-center"><span class="badge-ghost bg-info-ghost">14</span></td>
|
|
||||||
<td class="text-muted fw-bold"><?= _("Appliquer automatiquement le tarif négocié le plus bas.") ?></td>
|
|
||||||
<td width="15%" class="text-center bg-light text-muted fw-bold">
|
|
||||||
<?php $med = ($societeuser['appliquerTarifBas'] == "1"); ?>
|
|
||||||
<span class="badge rounded-pill px-3 py-2 <?= $med ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?>">
|
|
||||||
<?= $med ? _("OUI") : _("NON") ?>
|
|
||||||
</span>
|
|
||||||
</td>
|
|
||||||
<td width="22%">
|
|
||||||
<select class="form-select form-select-sm fw-bold border-warning" id="s_appliquerTarifBas" name="s_appliquerTarifBas">
|
|
||||||
<?php liste_options($appliquerTarifBasOuinon, $this->nettoyer($societeuser['appliquerTarifBas']), true); ?>
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="card border-0 shadow-sm mb-4">
|
<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">
|
<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">
|
<h6 class="mb-0 text-white fw-bold text-uppercase">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user