This commit is contained in:
KANE LAZENI 2026-07-26 22:01:08 +00:00
parent 0e83c627b7
commit 953cdec945

View File

@ -320,8 +320,6 @@ class Cronenvoimail
$this->emailDestination = "gmebene@gmail.com";
}
// var_dump($this->idMail." => emailDestination => ".$this->emailDestination." => objet => ".$this->objet);
$this->body = $this->body;
$addr = explode(';', $this->emailDestination);
@ -350,9 +348,6 @@ class Cronenvoimail
$lesMails = $this->lesMails;
//var_dump($lesMails);
//exit();
foreach ($lesMails as $un_mail)
{
$this->idMail = $un_mail['idMail'];
@ -491,8 +486,6 @@ class Cronenvoimail
$this->emailDestination .= ";".$this->emailAdherent;
}
// $this->traiterdestinationmail();
if($this->codeLangueSociete=="en_US")
{
$this->objet = "HOSPITALZATION NOTIFICATION : ".$this->nomProduitSante;
@ -530,9 +523,6 @@ Merci et bonne réception.";
$this->emailDestination = $this->emailAdherent;
// $this->traiterdestinationmail();
// Propre à ce mail => non fonctorisable
$this->objet = "ALERTE CONSOMMATION : ".$this->nomProduitSante;
$this->body = "- Prestataire : ".$this->prestataire."
@ -548,7 +538,6 @@ Merci et bonne réception.";
- Ticket Modérateur : ".format_N($this->montantTm)." ".$this->devise."
Merci et bonne réception.";
// Fin Propre à ce mail
$this->envoyerlemail();
}
@ -559,9 +548,6 @@ Merci et bonne réception.";
$this->emailDestination = $this->emailAdherent;
// $this->traiterdestinationmail();
// Propre à ce mail => non fonctorisable
$this->objet = "ALERTE CONSOMMATION PHARMACIE : ".$this->nomProduitSante;
$this->body = "- Prestataire : ".$this->prestataire."
@ -579,7 +565,6 @@ Merci et bonne réception.";
- Ticket Modérateur : ".format_N($this->montantTm)." ".$this->devise."
Merci et bonne réception.";
// Fin Propre à ce mail
$this->envoyerlemail();
}
@ -590,9 +575,6 @@ Merci et bonne réception.";
$this->emailDestination = $this->emailAdherent;
// $this->traiterdestinationmail();
// Propre à ce mail => non fonctorisable
$this->objet = "ALERTE CONSOMMATION LABORATOIRE : ".$this->nomProduitSante;
$this->body = "- Prestataire : ".$this->prestataire."
@ -610,7 +592,6 @@ Merci et bonne réception.";
- Ticket Modérateur : ".format_N($this->montantTm)." ".$this->devise."
Merci et bonne réception.";
// Fin Propre à ce mail
$this->envoyerlemail();
}
@ -621,9 +602,6 @@ Merci et bonne réception.";
$this->emailDestination = $this->emailAdherent;
// $this->traiterdestinationmail();
// Propre à ce mail => non fonctorisable
$this->objet = "ALERTE CONSOMMATION OPTIQUE : ".$this->nomProduitSante;
$this->body = "- Prestataire : ".$this->prestataire."
@ -641,19 +619,14 @@ Merci et bonne réception.";
- Ticket Modérateur : ".format_N($this->montantTm)." ".$this->devise."
Merci et bonne réception.";
// Fin Propre à ce mail
$this->envoyerlemail();
}
public function mailcommandebon($codeTypeBon, $quantite, $prestataire, $heureCourante)
{
// $this->chargersociete();
$this->emailDestination = $this->emailGestionBon;
// $this->traiterdestinationmail();
$this->chargerinfosbon($codeTypeBon);
if($this->codeLangueSociete=="en_US")
@ -690,12 +663,8 @@ Merci et bonne réception.";
public function mailreceptionbon($codeTypeBon, $noDepart, $noFin, $prestataire, $heureCourante)
{
// $this->chargersociete();
$this->emailDestination = $this->emailGestionBon;
// $this->traiterdestinationmail();
$this->chargerinfosbon($codeTypeBon);
if($this->codeLangueSociete=="en_US")
@ -731,11 +700,7 @@ Merci et bonne réception.";
public function maildemandeannulationbon($idBon, $heureCourante)
{
// $this->chargersociete();
$this->emailDestination = $this->emailGestionBon;
// $this->traiterdestinationmail();
$this->chargerbonpec($idBon);
@ -781,8 +746,6 @@ Merci et bonne réception.";
public function maildemandederogation($codeDerogation, $observations, $prestataire, $idBeneficiaire, $heureCourante)
{
// $this->chargersociete();
$this->emailDestination = $this->emailDerogation;
$this->chargerbeneficiaire($idBeneficiaire);
@ -794,8 +757,6 @@ Merci et bonne réception.";
$this->emailDestination .= ";".$this->emailAdherent;
}
// $this->traiterdestinationmail();
if($this->codeLangueSociete=="en_US")
{
$this->objet = "REQUEST FOR EXEMPTION : ".$this->nomProduitSante;