Output($fichierSimple,"F");
+
+ // 08/11/2025 => conversion image pdf
+ pdf_to_image($fichierSimple, $uniqid);
+?>
diff --git a/Societes/radiant/Tarifs/Controleur/Cpfc2eng.php b/Societes/radiant/Tarifs/Controleur/Cpfc2eng.php
new file mode 100644
index 0000000..8f80f5f
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Cpfc2eng.php
@@ -0,0 +1,275 @@
+police->getEnteteCP($idPolice);
+ $adherent = $this->police->getAdherentCP($idPolice);
+ // $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice);
+ // $garantiescollegecps = $this->police->getGarantiesCollegesCPFC($idPolice);
+ $garantiescollegecps = $this->police->getGarantiesAdherentCPFC($idPolice);
+ $listeassures = $this->police->getcpfclisteassures($idPolice);
+
+ // $pdf = new FPDF();
+ $pdf = new FPDF_Protection();
+ $pdf->SetProtection(array('print'));
+
+ $pdf->AliasNbPages();
+ $pdf->AddPage();
+
+ $ht=10;
+
+ $pdf->SetMargins(10, 10, 10) ;
+
+ $pdf->SetFont('Arial','B', 15);
+
+ $pdf->SetY(37);
+
+ if($adherent['codeProduit']=="FC2")
+ {
+ $pdf->SetFillColor(135,206,250); // bleu
+
+ $pdf->Cell(0,$ht,convertirc("INDIVIDUAL HEALTH INSURANCE CONTRACT"),1,1,'C',true);
+ // $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20);
+ $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180);
+
+ $pdf->SetFont('');
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(0,$ht,convertirc("POLICY NUMBER : ".$entetecp['numeroPolice']),0,1,'C',false);
+ // $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false);
+
+ $pdf->Ln(7);
+
+ $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURER :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Name"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": Radiant Insurance Company"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Address"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": Kigali, KN 2 Avenue, CHIC Building; P.O. BOX: 1861, Kigali-Rwanda"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Tel"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": +250 788 50 08 77/ 2050"),0,1,'L',false);
+
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURED :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Names"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$adherent['nom'] . " " . $adherent['prenoms']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Type of Insurance"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": Individual Cover"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("TIN/PASSPORT/NID"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$adherent['numeroPiece']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Village/Cell/Sector"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ // $pdf->Cell(0,$ht,convertirc(": ".$adherent['adresseGeo']),0,1,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("District"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$adherent['ville'].' / '. $adherent['localite']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Telefone"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$adherent['telephonePortable']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Email"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$adherent['email']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Contract Signing Date"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".dateFr($adherent['dateSysteme'])),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Commencement Date"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEffet']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Contract Ending Date"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEcheance']),0,1,'L',false);
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("PERSONS TO BE INSURED :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("Contracting Party’s staff members aged more than 18 years and less than 65 years as of the commencement of the insurance contract, the individual insured person, his/her spouse as well as their dependent children of less than 21 years of age.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+ // $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("LIST OF PERSONS TO BE INSURED IN THIS CONTRACT :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(85,$ht,convertirc('Names'),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc('Date of Birth'),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc('Membership Number'),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc('Premiums'),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+ foreach ($listeassures as $assure)
+ {
+ $pdf->Cell(85,$ht,convertirc($assure['nomAssure']),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc(dateFr($assure['dateNaissance'])),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc($assure['numeroBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($assure['primeNetteStat']),1,1,'C',false);
+ }
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(155,$ht,convertirc('Total'),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($adherent['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("ANNUAL CEILINGS :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(115,$ht,convertirc('Guarantee'),1,0,'C',false);
+ $pdf->Cell(70,$ht,convertirc('Amount'),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+ foreach ($garantiescollegecps as $garantiescollegecp)
+ {
+ $pdf->Cell(115,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false);
+ $pdf->Cell(70,$ht,format_N($garantiescollegecp['plafond']),1,1,'C',false);
+ }
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("GUARANTEES :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("The health insurance scheme will pay the charges incurred for medical care due to, illness, accident, dental and eye care or maternity.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("ACCESS TO HEALTH CARE FACILITIES :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("The insured will receive medical services at all health centers, district and provincial hospitals, Kanombe Military Hospital, CHUB, CHUK, and Ndera Hospital, plus some clinics as per the list attached on this contract as well as all pharmacies that have partnership with RADIANT INSURANCE COMPANY.
+The insured shall a 10% co-pay in public health facilities&Pharmacies and 15% in private clinics.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','BI', 10);
+ $text = convertirc("Note: This list should be updated by adding or removing a provider any time in accordance with the agreement between RADIANT INSURANCE COMPANY LTD and the provider. In this event, RADIANT INSURANCE COMPANY LTD shall inform the client through the email address or telephone number provided by the client in this contract.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("The insured shall a 10% co-pay in public health&pharmacies and 15% in private clinics.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+ // $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("V. UNCOVERED GUARANTEES :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("- All medical services that are not related to sickness are not covered;
+- Maternity cover becomes effective from 10 months of insurance for the 1st year and immediately when the contract is renewed on the date it was due to expire;
+- Vaccination, family planning, infertility, crutches and orthosis, kidney transplantation (dialysis) and other special activities or tests not related to normal illness is not guaranteed.
+- CT Scan and MRI are covered for Inpatient cases
+- Optical Frame");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("A Procedure for incorporating a new dependent :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("Addition of a child born to or spouse shall take place not later than thirty (30) days from the date of birth of the child or from the date of marriage.
+Members of the new insured family will be included in the contract plus 75% of the insurance premiums paid by the insured when he or she adds the spouse and 37.5% when he/she adds the child born regardless of the remaining days until the end of the contract year. Members of his family will have the right to medical treatment from the time their names and birthdays are submitted to RADIANT.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("TERMINATION OF THE AGREEMENT :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("The agreement can be terminated if the insured chooses to cancel it and will be refunded the premium paid minus fifteen thousand Rwandan Francs (15,000 Frw) for each card issued, only if it has been done less than 30 days since the first premium payment, meaning they have not yet started using the insurance for themselves or their dependents.
+The agreement can be terminated if it is found that the insured has used or attempted to use the insurance for someone not covered by the policy or has knowingly attempted to claim for services not covered by this agreement. In such cases, the premium paid will not be refunded.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+ // $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("FINAL PROVISIONS :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+$text = convertirc("RADIANT INSURANCE COMPANY cannot be held responsible for any health consequences of the insured arising from treatments received at the hospital or medications prescribed.
+These agreements have been approved by both parties involved and are effective from");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(dateFr($adherent['dateSysteme']).'.'),0,1,'L',false);
+
+ $pdf->Ln(10);
+
+ $pdf->Cell(0,$ht,convertirc("Done at Kigali, on ".$entetecp['dateJour']),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->Cell(0,$ht,convertirc("THE SUBSCRIBER"),0,0,'L',false);
+
+ $pdf->Cell(0,$ht,convertirc("THE INSURER"),0,1,'R',false);
+ }
+ else
+ {
+ $pdf->Cell(0,$ht,convertirc("Tt is not a FC2 contact"),0,1,'C',false);
+ }
+ /*
+
+ $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf";
+ $pdf->Output($fichier,"F");
+
+ $t_html ='
Output($fichierSimple,"F");
+
+ // 08/11/2025 => conversion image pdf
+ pdf_to_image($fichierSimple, $uniqid);
+?>
diff --git a/Societes/radiant/Tarifs/Controleur/Cpstandard.php b/Societes/radiant/Tarifs/Controleur/Cpstandard.php
new file mode 100644
index 0000000..275702e
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Cpstandard.php
@@ -0,0 +1,675 @@
+police->getEnteteCP($idPolice);
+ $collegecps = $this->police->getCollegesCP($idPolice);
+ $collegecp2s = $this->police->getCollegesCP($idPolice);
+ $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice);
+ $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice);
+ // $tableauajustementcps = $this->police->gettableauAjustementCP($idPolice);
+
+ // $pdf = new FPDF();
+ $pdf = new FPDF_Protection();
+ $pdf->SetProtection(array('print'));
+
+ $pdf->AliasNbPages();
+ $pdf->AddPage();
+
+ $ht=10;
+
+ $pdf->SetMargins(10, 10, 10) ;
+
+ $pdf->SetFont('Arial','B', 15);
+
+ $pdf->SetY(40);
+
+ $pdf->SetFillColor(135,206,250); // bleu
+
+ if($entetecp['codeTypeContrat'] == "G")
+ {
+ $pdf->Cell(0,$ht,convertirc("CONTRAT - GROUPE D'ASSURANCE SANTE"),1,1,'C',true);
+ }
+ else
+ {
+ $pdf->Cell(0,$ht,convertirc("CONTRAT - D'ASSURANCE SANTE INDIVIDUEL"),1,1,'C',true);
+ }
+
+ $pdf->SetFont('');
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(50,$ht,convertirc("No POLICE"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false);
+
+ $pdf->Cell(50,$ht,convertirc("SOUSCRITE PAR"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(50,$ht,convertirc("Dont le Siège Social est"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("En qualité de CONTRACTANT "),0,0,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Auprès de "),0,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false);
+
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(0,$ht,convertirc("En qualité d'ASSUREUR "),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Le présent contrat est constitué et régi par les CONDITIONS PARTICULIERES, les DISPOSITIONS"),0,1,'C',false);
+ $pdf->Cell(0,$ht,convertirc("SPECIALES ainsi que par les CONDITIONS GENERALES."),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Il a pour objet la garantie suivante :"),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','B', 13);
+ $pdf->Cell(0,$ht,convertirc("MALADIE - HOSPITALISATION - MATERNITE - OPHTALMOLOGIE - DENTISTERIE"),0,1,'C',false);
+
+
+ $pdf->AddPage();
+ $ht=6;
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc("CONDITIONS PARTICULIERES"),0,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Déclare souscrire aux conditions générales et dispositions spéciales du Contrat ");
+ $text .= convertirc("d'Assurance Maladie Groupe et celles particulières qui suivent, auprès de ".$_SESSION['nomSociete']);
+ $text .= convertirc(" en faveur des personnes à assurer, pour les Garanties et moyennant les Cotisations ci-après :");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 1 : PERSONNES A ASSURER"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les membres du Personnel de l'assuré âgés de plus de 18 ans et de moins de 70 ans à ");
+ $text .= convertirc("l'entrée dans l'assurance selon la répartition suivante :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(30,$ht,convertirc("Catégorie"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Nb Adh"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Nb Dép"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Adh"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Dép"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ foreach ($collegecps as $collegecp)
+ {
+ $pdf->Cell(30,$ht,convertirc($collegecp['codeProduit']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false);
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Totaux : "),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false);
+
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','', 9);
+ $text = convertirc("En dehors de cette tranche d'âge la couverture fait l'objet d'un accord spécial entre le souscripteur et l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("A partir de 60 ans, un examen medical est obligatoire pour les assurés individuels.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 2 : PRISE D’EFFET ET MODE DE FONCTIONNEMENT DE MEDICOR"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Sous réserve d'acceptation par l'Assureur, les garanties prennent effet pour chaque personne à assurer : ");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("- Dès la date d'effet du contrat pour les personnes à assurer se trouvant déjà au service du Contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("- Directement après la date de leur admission au Service du Contractant pour les personnes engagées ");
+ $text .= convertirc("postérieurement à la date d'effet du contrat. Le Departement des Ressources Humaines du Contractant doit être en étroite collaboration avec ");
+ $text .= convertirc($_SESSION['nomSociete'] . ". Une prime calculée au prorata est payable immédiatement pour toute personne devenue Adhérent pendant la période de couverture.");
+ $pdf->MultiCell(0, $ht, $text);
+ $text = convertirc("- Ainsi, chaque assuré aura une carte d’assurance maladie qu’il va présenter aux prestataires de soins et ceux-ci vont vérifier à partir de ses empreintes digitales son identité et sa limite de couverture via l’application de MEDICOR. Cela va permettre aussi à l’assuré de voir en temps réel où il en est avec sa limite de couverture. ");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("- NB : Pour les assurés individuels, ils doivent attendre une période d’un mois avant de bénéficier de l’assurance santé ; exception faite des cas d’accident.
+Aussi, les assurés individuels doivent attendre une période de 10 mois avant de bénéficier de la couverture maternité. ");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ // $pdf->Ln(5);
+ $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("Article 3 : DUREE DU CONTRAT"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Le présent contrat est souscrit pour une durée d'une année à compter du ".$entetecp['dateEffet']." au ".$entetecp['dateEcheance']."
+Il sera renouvelable tacitement dans les conditions prévues à l'article 6 des présentes conditions particulières sauf résiliation avec un préavis de un mois avant son échéance.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ $pdf->Cell(0,$ht,convertirc("Article 4 : DES GARANTIES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1.A. PRESTATIONS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("La garantie maladie offre le paiement des frais pour les soins de santé à la suite de maladie d'accident ou de maternité.
+Ainsi, sont prises en charge les prestations médicales suivantes :
+- Soins ambulatoires, hospitalisation , maternité (sauf pour les dépendants), ophtalmologie, dentisterie et maladies chroniques.
+- Les conditions de prématurité sont couvertes
+- L'IRM et d'autres tests spéciaux sont tous couverts
+- Paiement indirect : le bénéficiaire paie sa contribution pendant l'obtention du service médical et le prestataire demande
+le remboursement ou la différence à RDIANT INSURANCE COMPANY (applicable pour les options avec ticket modérateur)
+- Tous les traitements médicaux et les médicaments doivent prescrits par un médecin diplômé et enregistré et qui a été autorisé par le Ministère de la Santé. Notre régime médical donne accès à des spécialités et à des médicaments génériques. Cependant, les spécialités doivent être prescrites par un médecin spécialiste, sauf en cas d'urgence par autorisation préalable
+- Les garanties de couverture concernent le personnel assuré; son conjoint ainsi que leurs enfants à charge jusqu'à 21 ans et prolongé jusqu'à 25 ans si l'enfant est encore étudiant
+- Frais d'Ambulance pour les cas d'urgence d'un hôpital à un autre et d'un lieu d'accident à l'hôpital en cas d'accident sur le territoire burundais. Le service ambulance s’appliquera aux assurés malades qui devont être traité dans un hôpital désigné, à partir d’une zone où les équipements indispensables n’existent pas, sans toutefois dépasser 500.000.FBu. durant toute la période de couverture (et dans la limite annuelle du patient hospitalisé).
+- Traitements dans tous les hôpitaux partenaires des pays d'Afrique de l'Est. L’assuré ira dans un établissement approprié selon le partenariat de l'assureur. Il devra aviser l’assureur au moins 3 jours avant afin de lui permettre d’aviser les prestatires désignés par l’assuré (seulement pour ceux qui ont une couverture extraterritoriale).
+- Traitement en Inde le cas échéant,sur base d’un rapport médical d’un medecin specialiste attestant que les mêmes services ne peuvent pas être offerts dans les pays de l’Afrique de l’Est avec l'approbation préalable de RDIANT INSURANCE COMPANY
+- L'extension dans les pays d'Afrique de l'Est est couverte dans la limite de la couverture pour les personnes à charge de l'assuré. Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.
+- L'hébergement d'un parent pour les enfants de moins de 12 ans à l'hôpital, cela ne s'appliquera qu'à la couverture à l'étranger
+- La chambre individuelle est couverte
+- Ajout automatique d'un nouveau-né et/ou conjoint sans prime supplémentaire à l'exception des frais de carte
+- Ajout automatique d'un nouvel adhérent avec une prime calculée au prorata
+- Suppression automatique pour l'agent qui quitte le groupe et remboursement de 75% de la prime non consommée calculée au prorata, si aucun service médical n'a été payé pour lui et les personnes à sa charge
+- L'émission de cartes d'assurance maladie dans les 7 jours suivant la notification et/ou preuve de paiement.
+- Les cartes d'assurance maladie portent un numéro de téléphone que le patient peut appeler si nécessaire. Il y aura également un gestionnaire de sinistre désigné spécifiquement en charge de l'assuré.
+- La liste de tous les partenaires de RDIANT INSURANCE COMPANY est jointe à cette offre technique
+- Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.pour les frais déboursés chez un prestataire qui n'a pas de partenariat avec RDIANT INSURANCE COMPANY et qui n'a pas été résilié ou suspendu pour faute ou mauvaises pratiques.
+- Délai maximum de remboursement en cas de paiement direct là où il n y a pas de partenariat et après réception de tous les documents requis : 2 jours
+- Gestion commune avec l'employeur des cas de fraudes
+- Les frais funéraires en cas de décès d'un membre assuré ou son bénéficiaire sont payables endeans 24 heures suivant la réception de l'avis de décès à l'Employeur ou à la personne qu'il peut désigner.
+- La liste du personnel ainsi que les rapports de consommations médicales seront fournis mensuellement.
+- En cas de dépassement des limites de l'assuré au cours de la période d'assurance, RDIANT INSURANCE COMPANY peut le couvrir sans prime supplémentaire si le taux de sinistralité du groupe est inférieur à 60%.");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. B. REMBOURSEMENT DES SOINS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Aucun acte médical, appareil, opération ou hospitalisation, n'est pris en charge s'il n'a été ordonné par une personne titulaire d'un diplôme de médecin, chirurgien ou chirurgien - dentiste.
+Aucun acte n'est pris en charge s'il n'est exécuté par une personne qualifiée et dans un établissement officiellement autorisé par le Ministère de la santé qui, sauf cas de force majeure, doit être conventionné par l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Le système de règlement des factures des prestations est en principe le Tiers payant par lequel le bénéficiaire de l'assurance maladie ne paie que le ticket modérateur convenu et le prestataire des soins se fait payer le solde de sa facture par l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Le payement direct qui consiste à ce que l'assuré paie la totalité de la facture des prestations médicales et se fait rembourser chez l'Assureur n'est utilisé qu'à titre exceptionnel.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("A cet effet, le prestataire ou l'assuré le cas échéant, devra remettre à l'Assureur les notes d'honoraires ou de frais et les ordonnances acquittées, datées et mentionnant les noms et prénoms de l'Assuré qu'elles concernent.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les notes doivent indiquer la nature et la date des soins donnés en distinguant le coût de chacun des actes pratiqués.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les ordonnances doivent porter lisiblement les noms et prénoms de l'assuré et s'accompagner des justificatifs de payement des produits pharmaceutiques.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. C.ETENDUE DE LA GARANTIE MALADIE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("La garantie englobe la personne assurée elle-même, son conjoint ainsi que leurs enfants légalement à charge de moins de 21 ans ou de moins de 25 ans s'ils sont encore étudiants.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1. D.PRESTATIONS ET TAUX GARANTIS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Les prestations et les taux garantis sont décrits, selon la catégorie, dans le tableau ci-dessous :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(100,$ht,convertirc("Type de Prestataire"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Taux Garantie(%)"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Ticket Modérateur(%)"),1,1,'C',false);
+
+ $categorie = "";
+
+ foreach ($tableaupretationcps as $tableaupretationcp)
+ {
+ if($categorie!=$tableaupretationcp['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($tableaupretationcp['codeProduit']." : ".$tableaupretationcp['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoin']),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false);
+ $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false);
+
+ $categorie = $tableaupretationcp['libelleCollege'];
+ }
+
+ // $pdf->AddPage();
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("PLAFONDS ANNUELS PAR FAMILLE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(2);
+
+ $pdf->Cell(100,$ht,convertirc("Garantie"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Plafond"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Par Bén."),1,1,'C',false);
+
+ $produit = "";
+
+ foreach ($garantiescollegecps as $garantiescollegecp)
+ {
+ if($produit!=$garantiescollegecp['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(160,$ht,convertirc($garantiescollegecp['codeProduit']." : ".$garantiescollegecp['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantie']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false);
+
+ $champApplication = ($garantiescollegecp['champApplication']=="1");
+
+ if($champApplication == TRUE)
+ $check = "4";
+ else
+ $check = "";
+
+ $pdf->SetFont('ZapfDingbats','', 9);
+ $pdf->Cell(20, $ht, $check,1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = $garantiescollegecp['libelleCollege'];
+ }
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.2. CESSATION DES GARANTIES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties cessent collectivement le jour de la résiliation du contrat ou de l’echeance de celui-ci et individuellement, le jour où la personne assurée atteint la limite de couverture, quitte le service du Contractant, ou décède.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+ $text = convertirc("En cas de fraude avérée, l'Assureur se réserve le droit de radier l'assuré concerné. L'ensemble des garanties offertes à la personne Assurée doivent être annulées à partir de la date où nous avons eu connaissance de la fraude. Les primes payées ne sont pas remboursables et le Membre ne sera plus admissible comme personne assurée pour les périodes futures.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ // $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION DES GARANTIES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties sont suspendues collectivement si les primes ne sont pas payées dans les TRENTE (30) jours à partir de la prise d'effet du contrat et individuellement si les primes ne sont pas payées immédiatement après l'adhésion de l'assuré.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les garanties reprendront effet immédiatement après le paiement de la totalité des primes en souffrance au moment de la suspension.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 5 : COTISATIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties définies ci-dessus sont accordées moyennant des cotisations de :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ /*
+ if($entetecp['commission']>"0")
+ {
+ $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false);
+ $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(190,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['accessoireBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Total Général"),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($entetecp['nbAssure']),1,0,'C',false);
+ $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false);
+ }
+ else
+ {
+ */
+ $pdf->Cell(50,$ht,convertirc("Type assuré"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("P. Base"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("P. Nette"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Carte"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Prime Ttc"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(170,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(50,$ht,convertirc("Total Général"),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($entetecp['nbAssure']),1,0,'C',false);
+ // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false);
+ // }
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 6 : RENOUVELEMENT ET CLAUSE D'AJUSTEMENT DE LA PRIME"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Un mois avant l'échéance, un avenant provisionnel de renouvellement sera envoyé à l’assuré pour le règlement d'un acompte sur le renouvellement.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("La prime définie ci-dessus fera l'objet dans les conditions ci-après d'un ajustement en fonction des résultats de Sinistres sur primes nettes (déduction faite des taxes et commissions des intermédiaires) après la clôture de chaque exercice.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Pour associer l’assuré à l'évolution des consommations, un rapport d’utilisation trimestriel lui sera régulièrement transmis.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 7: EXCLUSIONS GENERALES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("- Traitement cosmétique et chirurgie esthétique
+- Blessures dues à la participation aux jeux et activités dangereuses
+- Blessures dues à la participation aux greves et émeutes
+- Traitement de fécondité à savoir les frais de traitement liés à la stérilité et à l'impuissance
+- Traitement prophylactique, les compléments alimentaires
+- Cardiopathie ischemique
+- Automutilation intentionnelle,suicide ou influence de l'alcool ou de la drogue
+- Cancers de la peau,cancers in situ et mélanomes in situ (sauf les melanones malins)
+- Les voyages en avion, sauf si le Membre (ayant payé le billet) voyage dans un avion conçu pour transporter des passagers
+- Coût d'appareils auditifs, à moins qu’il résulte d’un accident
+- Dépression nerveuse, psychonévrose, à moins qu'il ne résulte d'un accident
+- Frais recouvrables en vertu de la Loi sur l’Indemnisation des Accidents du Travail ou les services publics de santé, y compris les régimes d’indemnisation de l'INSS ou tout autre régime sauf sur demande préalable de l’assuré et moyennant une prime correspondante");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 8 : DISPOSITIONS FINALES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Lors de l'exécution des actes, examens ou traitements des assurés, le professionnel de santé ou l'établissement de soins est seul et unique responsable des complications, incidents ou accidents pouvant survenir dans la pratique de l'art médical.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("En aucun cas, la responsabilité de l'Assureur ne pourra être invoquée pour des faits relevant de la responsabilité du professionnel de santé ou de l'établissement de soins.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Le contrat sera établi en deux (2) exemplaires et prend effet sous réserve des dispositions de l'Article II des CONDITIONS PARTICULIERES, le ".$entetecp['dateEffet']);
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ // DEBUT TEXTE LIBRE
+ if ($entetecp['texteCp']>" ")
+ {
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("ANNEXES AUX CONDITIONS PARTICULIERES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc($entetecp['texteCp']);
+
+ $pdf->MultiCell(0, $ht, $text);
+ }
+ // FIN TEXTE LIBRE
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BI', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Fait à ".$_SESSION['villeSociete'].", le ".$entetecp['dateJour']),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("POUR RDIANT INSURANCE COMPANY"),0,0,'L',false);
+
+ $pdf->Cell(0,$ht,convertirc("POUR L’ASSURE"),0,1,'R',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("LE PRODUCTEUR"),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("LA DIRECTION"),0,1,'L',false);
+
+ /*
+ $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf";
+ $pdf->Output($fichier,"F");
+
+ $t_html ='
Output($fichierSimple,"F");
+
+ // 08/11/2025 => conversion image pdf
+ pdf_to_image($fichierSimple, $uniqid);
+?>
diff --git a/Societes/radiant/Tarifs/Controleur/Cpstandardeng.php b/Societes/radiant/Tarifs/Controleur/Cpstandardeng.php
new file mode 100644
index 0000000..828410c
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Cpstandardeng.php
@@ -0,0 +1,578 @@
+police->getEnteteCP($idPolice);
+ $collegecps = $this->police->getCollegesCP($idPolice);
+ $collegecp2s = $this->police->getCollegesCP($idPolice);
+ $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice);
+ $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice);
+
+ // $pdf = new FPDF();
+ $pdf = new FPDF_Protection();
+ $pdf->SetProtection(array('print'));
+
+ $pdf->AliasNbPages();
+ $pdf->AddPage();
+
+ $ht=10;
+
+ $pdf->SetMargins(10, 10, 10) ;
+
+ $pdf->SetFont('Arial','B', 15);
+
+ $pdf->SetY(40);
+
+ $pdf->SetFillColor(135,206,250); // bleu
+
+ $pdf->Cell(0,$ht,convertirc("MEDICOR – HEALTH INSURANCE"),1,1,'C',true);
+
+ $pdf->SetFont('');
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(45,$ht,convertirc("No Policy"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false);
+
+ $pdf->Cell(45,$ht,convertirc("SUBSCRIBER"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(45,$ht,convertirc("Headquarter"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("As Insured"),0,0,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Near "),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false);
+
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(0,$ht,convertirc("The future contract will cover the following guarantees :"),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','B', 13);
+ $pdf->Cell(0,$ht,convertirc("DISEASE-HOSPITALIZATION-MATERNITY-OPHTHALOMOLOGY-DENTAL"),0,1,'C',false);
+
+
+ $pdf->AddPage();
+ $ht=6;
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc("PARTICULAR DISPOSITIONS"),0,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false);
+
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Declares to subscribe to the general terms and conditions and special provisions of the Group Heath Insurance Agreement and the following particulars with ".$entetecp['nomSociete']." for the persons to be insured, for the guarantees and for the following contribution :");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 1 : PEOPLE TO BE ASSURED"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Staff members of the insured person over the age of 18 and under 65 at the time of entry into the insurance according to the following breakdown:");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(30,$ht,convertirc("Category"),1,0,'C',false);
+ $pdf->Cell(25,$ht,convertirc("Nb members"),1,0,'C',false);
+ $pdf->Cell(25,$ht,convertirc("Nb Dep"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Premium member"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Premium Dep"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Tot premium"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ foreach ($collegecps as $collegecp)
+ {
+ $pdf->Cell(30,$ht,convertirc($collegecp['codeProduit']),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false);
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Totaux : "),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($entetecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($entetecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($entetecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','', 9);
+ $text = convertirc("Outside this age group the cover is the subject of a special agreement between the subscriber and the Insurer.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("From the age of 60, a medical examination is compulsory for individual insured persons.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 2: TAKING EFFECT AND MODE OF OPERATION OF MEDICOR"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Subject to acceptance by the Insurer, the benefits take effect for each person to be insured:
+- From the effective date of the contract for persons to be insured who are already in the Contractor's service.
+- Directly after the date of their admission to the Contractor's Department for persons hired after the effective date of the contract. The Contractor's Human Resources Department must be in close collaboration with BICOR LIFE AND CAPITALIZATION. A prorated premium is payable immediately to any person who becomes a Member during the period of coverage.
+- Thus, each insured will have a health insurance card that he will present to health care providers and they will verify from his fingerprints his identity and coverage limit via the application of MEDICOR. This will also allow the insured to see in real time where he is with his limit of coverage.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ // $pdf->Ln(5);
+ $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("Article 3: DURATION OF THE FUTURE CONTRACT"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The contract will be signed for a period of one year from ".$entetecp['dateEffet']." to ".$entetecp['dateEcheance'].".
+It will be tacitly renewable under the conditions set out in article 6 of these special conditions, unless terminated with one month’s notice before its expiry.
+No obligation to renew the contract is incubent upon the parties. RDIANT INSURANCE COMPANY reserves the right to refuse or restrict the terms of coverage for all Members or any Member by granting the insured person a notice period of one month in accordance with the conditions set out in article 6 of these special conditions.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("Article 4 : BENEFITS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1.A. ADVANTAGES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The health insurance offers the payment of expenses for health care as a result of accident or maternity sickness.
+
+Thus, the following medical benefits are covered:
+-outpatient, hospitalization, maternity, ophthalmology, dentistry and chronic diseases.
+
+-conditions of prematurity are covered
+
+-MRI and other special tests are all covered
+
+-Indirect payment: the beneficiary pays his contribution while obtaining the medical service and the provider requests refund or difference to RDIANT INSURANCE COMPANY (applicable for options with co-payment)
+
+- All medical treatments and medications prescribed by a qualified and registered doctor and which has been authorized by the Ministry of Health. Our medical plan provides access to specialties and generic drugs.
+However, specialties must be prescribed by a medical specialist, except in case of emergency by prior authorization.
+
+-Coverage guarantees concern the insured staff, spouse and their dependent children up to age 21 and extended to 25 if the child is still a student.
+
+-Ambulance costs for emergency cases from one hospital to another and from an accident site to the hospital in the event of an accident on Burundian territory. The ambulance service will apply to sick insured persons who are to be treated in a designated hospital, from an area where necessary equipment does not exist, but without exceeding Bif 500,000 during the entire coverage period (and within the annual limit of the hospitalized)
+
+-Treatments in all partner hospitals in East African countries. The insured will go to an appropriate institution according to the partnership of the insurer. He will have to notify the insurer at least 3 days before to allow him to notify the insured persons designated by the insured (only for those who have extraterritorial coverage).
+
+-Treatments in India if necessary, based on a medical report from a specialist doctor attestating tha the same services can not be offerered in East African countries with the prior approval of RDIANT INSURANCE COMPANY.
+
+-The extension in East African countries is covered within the limit of coverage for dependents of the insured.
+
+-The refund will be based on the most expensive rate depending on the category in which you are insured locally.
+
+-Accommodation of a parent for children under 12 years old in the hospital. This will only apply to coverage abroad
+
+-The single room is covered
+
+-Automatic addition of a newborn and/or spouse without additional premium except card fees
+
+-Automatic addition of a new member with a prorated premium
+
+-Automatic deletion for the agent leaving the group and refund of 75% of the unutilized premium calculated
+
+-pro rata, if no medical service has been paid for him and his dependents
+
+-The issue of health insurance cards within 7 days of notification and/or proof of payment.
+
+-Health insurance cards carry a telephone number which the patient can call if necessary. There will also be a designated claims manager specifically in charge of ".$entetecp['nomClient'].".
+
+-The list of all RDIANT INSURANCE COMPANY partners is attached to this technical offer
+
+-The refund will be based on the most expensive rate depending on the category in which you are insured locally.
+For expenses paid to a provider who has no partnership with RDIANT INSURANCE COMPANY and which has not been terminated or suspended for fault or bad practice.
+
+-Maximum repayment period in case of direct payment where there is no partnership and after receipt of all required documents: 2 days
+
+-Joint management with the employer of cases of fraud
+
+-Funeral expenses in the event of the death on an insured member or his beneficiary are payable within 24 hours of receipt of the death notice to the employer or to the person he may designate.
+
+-The list of staff and reports of medical consumption will be provided monthly.
+
+-If the limit of the insured person is exceeded during the insurance period, RDIANT INSURANCE COMPANY may cover him without additional premium if the loss ratio of the ".$entetecp['nomClient']." Group is less than 60%.");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. B. REIMBURSEMENT OF CARE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("No medical act, device, operation or hospitalization is supported if it has not been ordered by a person holding a doctor’s degree, surgeon or dental surgeon.
+
+No act is taken in charge if it is not performed by a qualified person and in an establishment officially authorized by the Ministry of Health which, except in cases of major force, must be agreed by the insurer.
+
+The system of payment of benefits invoices is in principle the Third party paying by which the beneficiary of the insurance sickness only pays the agreed co-payment and the care provider is paid the balance of his bill by the insurer.
+
+The direct payment which consists in the fact that the insured person pays the entire bill for the medical services and is reimbursed by the insured is only used in exceptional circumstances.
+
+For this purpose, the service provider or the insured if applicable, must submit to the insurer the notes of fees or expenses and the orders paid, dated and mentioning the names and forenames of the insured concerned. The notes must indicate the nature and the date of the care given by distinguishing the cost of each of the acts performed.
+
+Prescriptions must clearly bear the name and surname of the insured and be accompanied by proof of payment of pharmaceutical products.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. C.EXTENT OF THE DISEASE GUARANTEE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("The coverage includes the insured person himself, his spouse and their legally dependent children under 21 or under 25 if they are still students.
+
+This coverage is also extended to staff who fall ill while on a work mission or on annual leave recognized by the contractor.
+
+In the latter case, the reimbursement will be made on the basis of the KIRA Hospital rate for members of the first category or the Reference Public Hospital for members of the other categories after deduction of the co-payment mentioned in the table of benefits and limits.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ // $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1. D.BENEFITS AND GUARANTEED RATE"),0,1,'L',false);
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Benefits and guaranteed rates are described, by category, in the tables below :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(100,$ht,convertirc("Type of provider"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Rate guarantee(%)"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Co-payment(%)"),1,1,'C',false);
+
+ $categorie = "";
+
+ foreach ($tableaupretationcps as $tableaupretationcp)
+ {
+ if($categorie!=$tableaupretationcp['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoinEng']),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false);
+ $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false);
+
+ $categorie = $tableaupretationcp['libelleCollege'];
+ }
+
+ $pdf->AddPage();
+ // $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("LIMITS PER FAMILY OR PER MEMBER"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(2);
+
+ $pdf->Cell(100,$ht,convertirc("Garantee"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Limit"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Per Ben."),1,1,'C',false);
+
+ $produit = "";
+
+ foreach ($garantiescollegecps as $garantiescollegecp)
+ {
+ if($produit!=$garantiescollegecp['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false);
+
+ $champApplication = ($garantiescollegecp['champApplication']=="1");
+
+ if($champApplication == TRUE)
+ $check = "4";
+ else
+ $check = "";
+
+ $pdf->SetFont('ZapfDingbats','', 9);
+ $pdf->Cell(20, $ht, $check,1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = $garantiescollegecp['libelleCollege'];
+ }
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.2. TERMINATION OF GUARANTEES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Collateral ceases collectively on the day of termination of the contract or on its due date and individually, on the day the insured person reaches the limit of coverage, leaves the contractor’s service, or dies.
+In case of proven fraud, the insurer reserves the right to cancel the insured concerned. All the benefits offered to the insured person must be canceled from the date we became aware of the fraud. Premiums paid are not refundable and the member will no longer be eligible as an insured person for future periods.");
+ $pdf->MultiCell(0, $ht, $text);
+
+
+ // $pdf->AddPage();
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION OF GUARANTEES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Collateral is suspended collectively if the premiums are not paid within THIRTY (30) days of the effective date of the policy and individually if the premiums are not paid immediately after the insured’s membership.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("Guarantees will resume immediately upon payment of all outstanding premiums at the time of suspens.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 5 : CONTRIBUTIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The guarantees defined above will be granted with :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Cell(50,$ht,convertirc("Insured type"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Basic premium"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Net premium"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Card"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Premium Ttc"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Tot Premium"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(170,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 6: RENEWAL AND PREMIUM ADJUSTEMENT CLAUSE"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("One month before the expiry, a provisional renewal rider will be sent to the insured for payment of a deposit on the renewal.
+The premium defined above will be adjusted in accordance with the results of net premium claims (net of taxes and commissions of intermediaries) after the end of each financial year.
+To associate the insured with changes in consumptions, quarterly usage report will be regularly transmitted. ");
+ $pdf->MultiCell(0, $ht, $text);
+
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("Article 7: GENERAL EXCLUSIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("- Cosmetic treatment and cosmetic surgery
+- Injuries due to participation in games and dangerous activities
+- Injuries due to participation in strikes and riots
+- Fertility treatment, namely treatment costs related to infertility and impotence
+- Prophylactic treatment, dietary supplements
+-Ischemic heart disease
+- Intentional self-harm, suicide or the influence of alcohol or drugs
+- Skin cancers, in situ cancers and melanomas in situ (except malignant melanomas)
+- Air travel, unless the Member (having paid for the ticket) travels in an airplane designed to carry passengers
+- Cost of hearing aids, unless resulting from an accident
+- Nervous breakdown, psychoneurosis, unless it results from an accident");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 8: FINAL PROVISIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("When performing the acts, examinations or treatments of the insured, the health professional or the care establishment is the sole and sole responsible for complications, incidents or accidents that may occur in the practice of the medical art.
+In no event shall the Insurer's liability be invoked for matters that are the responsibility of the health professional or the health care facility.
+The contract will be established in two (2) copies and takes effect subject to the provisions of Article II of the PARTICULAR CONDITIONS, the ".$entetecp['dateEffet']);
+ $pdf->MultiCell(0, $ht, $text);
+
+ // DEBUT TEXTE LIBRE
+ if ($entetecp['texteCp']>" ")
+ {
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("ANNEXES TO THE PARTICULAR CONDITIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc($entetecp['texteCp']);
+
+ $pdf->MultiCell(0, $ht, $text);
+ }
+ // FIN TEXTE LIBRE
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BI', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Done at ".$_SESSION['villeSociete']." ".$entetecp['dateJour']."."),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("FOR RDIANT INSURANCE COMPANY"),0,0,'L',false);
+
+ $pdf->Cell(0,$ht,convertirc("FOR INSURED"),0,1,'R',false);
+
+ $pdf->Ln(20);
+
+ $pdf->Cell(0,$ht,convertirc("UNDERWRITTER"),0,1,'L',false);
+
+ $pdf->Ln(20);
+
+ $pdf->Cell(0,$ht,convertirc("EXECUTIVE MANAGEMENT"),0,1,'L',false);
+
+/*
+ $fichier="Temp/TMP_particuliars_conditions"."_".uniqid().".pdf";
+ $pdf->Output($fichier,"F");
+
+ $t_html ='
Output($fichierSimple,"F");
+
+ // 08/11/2025 => conversion image pdf
+ pdf_to_image($fichierSimple, $uniqid);
+
+?>
diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegedenregistrer.php b/Societes/radiant/Tarifs/Controleur/Creercollegedenregistrer.php
new file mode 100644
index 0000000..0bd006f
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Creercollegedenregistrer.php
@@ -0,0 +1,33 @@
+requete->getParametre("codeProduit");
+ $libelleCollege = $this->requete->getParametre("libelleCollege");
+ $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique");
+ $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique");
+ $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique");
+ $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique");
+ $rachatTm = $this->requete->getParametre("rachatTm");
+ $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique");
+ $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique");
+ $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique");
+ $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique");
+ $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique");
+ $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond");
+ $numeroOptionTarif = $this->requete->getParametreFormulaire("numeroOptionTarif");
+
+ $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique");
+
+ $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit,
+ $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte,
+ $imposerPlafond, $numeroOptionTarif, $tauxPrimeFraisFuneraire);
+
+ if($this->requete->existeParametre("btn_recap"))
+ {
+ $this->rediriger("Creercolleged");
+ }
+ else
+ {
+ $this->college_temp->enregistrer($idCollegeTemp);
+ $this->rediriger("Fichedevis");
+ }
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegedindex.php b/Societes/radiant/Tarifs/Controleur/Creercollegedindex.php
new file mode 100644
index 0000000..39158bc
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Creercollegedindex.php
@@ -0,0 +1,18 @@
+college_temp->getCollegeTemp($idCollegeTemp);
+ $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp);
+ $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp);
+ $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp);
+
+ $tableau_prestations = $this->college_temp->getPrestation($idCollegeTemp);
+
+ $optionstarif = $this->college_temp->getoptionstarif($idPolice);
+
+ $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit,
+ 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles,
+ 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, 'optionstarif' => $optionstarif,
+ 'tableau_prestations' => $tableau_prestations, 'ouinonimposerplafond' => $this->ouinonimposerplafond));
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegedinitcollege.php b/Societes/radiant/Tarifs/Controleur/Creercollegedinitcollege.php
new file mode 100644
index 0000000..6a071d4
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Creercollegedinitcollege.php
@@ -0,0 +1,8 @@
+requete->getSession()->getAttribut('login');
+
+ $idCollegeTemp = $this->college_temp->initCollege($idPolice, $user);
+
+ $this->rediriger("Creercolleged");
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegeenregistrer.php b/Societes/radiant/Tarifs/Controleur/Creercollegeenregistrer.php
new file mode 100644
index 0000000..df62264
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Creercollegeenregistrer.php
@@ -0,0 +1,32 @@
+requete->getParametre("codeProduit");
+ $libelleCollege = $this->requete->getParametre("libelleCollege");
+ $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique");
+ $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique");
+ $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique");
+ $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique");
+ $rachatTm = $this->requete->getParametre("rachatTm");
+ $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique");
+ $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique");
+ $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique");
+ $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique");
+ $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique");
+ $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond");
+
+ $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique");
+
+ $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit,
+ $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte,
+ $imposerPlafond, $tauxPrimeFraisFuneraire);
+
+ if($this->requete->existeParametre("btn_recap"))
+ {
+ $this->rediriger("Creercollege");
+ }
+ else
+ {
+ $this->college_temp->enregistrer($idCollegeTemp);
+ $this->rediriger("Collegepolice");
+ }
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegeindex.php b/Societes/radiant/Tarifs/Controleur/Creercollegeindex.php
new file mode 100644
index 0000000..3abfbca
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Creercollegeindex.php
@@ -0,0 +1,16 @@
+college_temp->getCollegeTemp($idCollegeTemp);
+ $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp);
+ $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp);
+ $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp);
+
+ $tableau_prestations = $this->college_temp->getPrestation($idCollegeTemp);
+
+ $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit,
+ 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles,
+ 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm,
+ 'tableau_prestations' => $tableau_prestations, 'ouinonimposerplafond' => $this->ouinonimposerplafond));
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur/Creercollegeinitcollege.php b/Societes/radiant/Tarifs/Controleur/Creercollegeinitcollege.php
new file mode 100644
index 0000000..22aaae4
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Creercollegeinitcollege.php
@@ -0,0 +1,8 @@
+requete->getSession()->getAttribut('login');
+
+ $idCollegeTemp = $this->college_temp->initCollege($idPolice, $user);
+
+ $this->rediriger("Creercollege");
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur/Devisstandard.php b/Societes/radiant/Tarifs/Controleur/Devisstandard.php
new file mode 100644
index 0000000..2c27214
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Devisstandard.php
@@ -0,0 +1,694 @@
+police->getEnteteCP($idPolice);
+ $collegecps = $this->police->getCollegesCP($idPolice);
+ $collegecp2s = $this->police->getCollegesCP($idPolice);
+ $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice);
+ $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice);
+
+ // $pdf = new FPDF();
+ $pdf = new FPDF_Protection();
+ $pdf->SetProtection(array('print'));
+
+ $pdf->AliasNbPages();
+ $pdf->AddPage();
+
+ $ht=10;
+
+ $pdf->SetMargins(10, 10, 10) ;
+
+ $pdf->SetFont('Arial','B', 15);
+
+ $pdf->SetY(40);
+
+ $pdf->SetFillColor(135,206,250); // bleu
+
+ if($entetecp['codeTypeContrat'] == "G")
+ {
+ $pdf->Cell(0,$ht,convertirc("PROPOSITION DE CONTRAT - D'ASSURANCE SANTE"),1,1,'C',true);
+ }
+ else
+ {
+ $pdf->Cell(0,$ht,convertirc("PROPOSITION DE CONTRAT - D'ASSURANCE SANTE INDIVIDUEL"),1,1,'C',true);
+ }
+
+ $pdf->SetFont('');
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(45,$ht,convertirc("No DEVIS"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false);
+
+ $pdf->Cell(45,$ht,convertirc("CLIENT"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(45,$ht,convertirc("Dont le Siège Social est"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ // $pdf->Cell(0,$ht,convertirc("En qualité de PROSPECT "),0,0,'C',false);
+ // $pdf->Cell(0,$ht,convertirc("En qualité de CLIENT "),0,0,'C',false);
+ $pdf->Cell(0,$ht,convertirc("En qualité d'Assuré "),0,0,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Auprès de "),0,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false);
+
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(0,$ht,convertirc("En qualité d'ASSUREUR "),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Le futur contrat aura pour objet la garantie suivante :"),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','B', 13);
+ $pdf->Cell(0,$ht,convertirc("MALADIE - HOSPITALISATION - MATERNITE - OPHTALMOLOGIE - DENTISTERIE"),0,1,'C',false);
+
+
+ $pdf->AddPage();
+ $ht=6;
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc("DISPOSITIONS PARTICULIERES"),0,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false);
+
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Déclare souscrire aux conditions générales et dispositions spéciales du Contrat ");
+ $text .= convertirc("d'Assurance Maladie Groupe et celles particulières qui suivent, auprès de ".$_SESSION['nomSociete']);
+ $text .= convertirc(" en faveur des personnes à assurer, pour les Garanties et moyennant les Cotisations ci-après :");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 1 : PERSONNES A ASSURER"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les membres du Personnel de l'assuré âgés de plus de 18 ans et de moins de 70 ans à ");
+ $text .= convertirc("l'entrée dans l'assurance selon la répartition suivante :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(30,$ht,convertirc("Catégorie"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Nb Adh"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Nb Dép"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Adh"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Dép"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $oldnumeroOptionTarif = "0";
+
+ $nbAdherent = "0";
+ $nbAyantdroit = "0";
+ $primeTtcAdherent = "0";
+ $primeTtcBeneficiaire = "0";
+ $primeTtcTotal = "0";
+
+ $categorie = "0";
+
+ foreach ($collegecps as $collegecp)
+ {
+ $numeroOptionTarif = $collegecp['numeroOptionTarif'];
+
+ if ($oldnumeroOptionTarif<>$numeroOptionTarif && $oldnumeroOptionTarif <> "0")
+ {
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$oldnumeroOptionTarif),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($nbAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($nbAyantdroit),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false);
+
+ $nbAdherent = "0";
+ $nbAyantdroit = "0";
+ $primeTtcAdherent = "0";
+ $primeTtcBeneficiaire = "0";
+ $primeTtcTotal = "0";
+
+ $pdf->Ln(5);
+ }
+
+ if($categorie!=$collegecp['numeroOptionTarif'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($collegecp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Option ".$collegecp['numeroOptionTarif']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false);
+
+ $nbAdherent += $collegecp['nbAdherent'];
+ $nbAyantdroit += $collegecp['nbAyantdroit'];
+ $primeTtcAdherent += $collegecp['primeTtcAdherent'];
+ $primeTtcBeneficiaire += $collegecp['primeTtcBeneficiaire'];
+ $primeTtcTotal += $collegecp['primeTtcTotal'];
+
+ $oldnumeroOptionTarif = $numeroOptionTarif;
+ $categorie = $collegecp['numeroOptionTarif'];
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$numeroOptionTarif),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($nbAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($nbAyantdroit),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("En dehors de cette tranche d'âge la couverture fait l'objet d'un accord spécial entre le souscripteur et l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("A partir de 60 ans, un examen medical est obligatoire pour les assurés individuels.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 2 : PRISE D’EFFET ET MODE DE FONCTIONNEMENT DE MEDICOR"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Sous réserve d'acceptation par l'Assureur, les garanties prennent effet pour chaque personne à assurer : ");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("- Dès la date d'effet du contrat pour les personnes à assurer se trouvant déjà au service du Contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("- Directement après la date de leur admission au Service du Contractant pour les personnes engagées ");
+ $text .= convertirc("postérieurement à la date d'effet du contrat. Le Departement des Ressources Humaines du Contractant doit être en étroite collaboration avec ");
+ $text .= convertirc($_SESSION['nomSociete'] . ". Une prime calculée au prorata est payable immédiatement pour toute personne devenue Adhérent pendant la période de couverture.");
+ $pdf->MultiCell(0, $ht, $text);
+ $text = convertirc("- Ainsi, chaque assuré aura une carte d’assurance maladie qu’il va présenter aux prestataires de soins et ceux-ci vont vérifier à partir de ses empreintes digitales son identité et sa limite de couverture via l’application de MEDICOR. Cela va permettre aussi à l’assuré de voir en temps réel où il en est avec sa limite de couverture. ");
+ $pdf->MultiCell(0, $ht, $text);
+ $text = convertirc("- NB : Pour les assurés individuels, ils doivent attendre une période d’un mois avant de bénéficier de l’assurance santé ; exception faite des cas d’accident.
+Aussi, les assurés individuels doivent attendre une période de 10 mois avant de bénéficier de la couverture maternité. ");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ // $pdf->Ln(5);
+ $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("Article 3 : DUREE DU FUTUR CONTRAT"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Le contrat sera souscrit pour une durée d'une année à compter du ".$entetecp['dateEffet']." au ".$entetecp['dateEcheance']."
+Il sera renouvelable tacitement dans les conditions prévues à l'article 6 des présentes conditions particulières sauf résiliation avec un préavis de un mois avant son échéance.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+
+ $pdf->Cell(0,$ht,convertirc("Article 4 : DES GARANTIES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1.A. PRESTATIONS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("La garantie maladie offre le paiement des frais pour les soins de santé à la suite de maladie d'accident ou de maternité.
+Ainsi, sont prises en charge les prestations médicales suivantes :
+- Soins ambulatoires, hospitalisation , maternité (sauf pour les dépendants), ophtalmologie, dentisterie et maladies chroniques.
+- Les conditions de prématurité sont couvertes
+- L'IRM et d'autres tests spéciaux sont tous couverts
+- Paiement indirect : le bénéficiaire paie sa contribution pendant l'obtention du service médical et le prestataire demande
+le remboursement ou la différence à BICOR VIE ET CAPITALISATION (applicable pour les options avec ticket modérateur)
+- Tous les traitements médicaux et les médicaments doivent prescrits par un médecin diplômé et enregistré et qui a été autorisé par le Ministère de la Santé. Notre régime médical donne accès à des spécialités et à des médicaments génériques. Cependant, les spécialités doivent être prescrites par un médecin spécialiste, sauf en cas d'urgence par autorisation préalable
+- Les garanties de couverture concernent le personnel assuré; son conjoint ainsi que leurs enfants à charge jusqu'à 21 ans et prolongé jusqu'à 25 ans si l'enfant est encore étudiant
+- Frais d'Ambulance pour les cas d'urgence d'un hôpital à un autre et d'un lieu d'accident à l'hôpital en cas d'accident sur le territoire burundais. Le service ambulance s’appliquera aux assurés malades qui devont être traité dans un hôpital désigné, à partir d’une zone où les équipements indispensables n’existent pas, sans toutefois dépasser 500.000.FBu. durant toute la période de couverture (et dans la limite annuelle du patient hospitalisé).
+- Traitements dans tous les hôpitaux partenaires des pays d'Afrique de l'Est. L’assuré ira dans un établissement approprié selon le partenariat de l'assureur. Il devra aviser l’assureur au moins 3 jours avant afin de lui permettre d’aviser les prestatires désignés par l’assuré (seulement pour ceux qui ont une couverture extraterritoriale).
+- Traitement en Inde le cas échéant,sur base d’un rapport médical d’un medecin specialiste attestant que les mêmes services ne peuvent pas être offerts dans les pays de l’Afrique de l’Est avec l'approbation préalable de BICOR VIE ET CAPITALISATION
+- L'extension dans les pays d'Afrique de l'Est est couverte dans la limite de la couverture pour les personnes à charge de l'assuré. Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.
+- L'hébergement d'un parent pour les enfants de moins de 12 ans à l'hôpital, cela ne s'appliquera qu'à la couverture à l'étranger
+- La chambre individuelle est couverte
+- Ajout automatique d'un nouveau-né et/ou conjoint sans prime supplémentaire à l'exception des frais de carte
+- Ajout automatique d'un nouvel adhérent avec une prime calculée au prorata
+- Suppression automatique pour l'agent qui quitte le groupe et remboursement de 75% de la prime non consommée calculée au prorata, si aucun service médical n'a été payé pour lui et les personnes à sa charge
+- L'émission de cartes d'assurance maladie dans les 7 jours suivant la notification et/ou preuve de paiement.
+- Les cartes d'assurance maladie portent un numéro de téléphone que le patient peut appeler si nécessaire. Il y aura également un gestionnaire de sinistre désigné spécifiquement en charge de l'assuré.
+- La liste de tous les partenaires de BICOR VIE ET CAPITALISATION est jointe à cette offre technique
+- Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.pour les frais déboursés chez un prestataire qui n'a pas de partenariat avec BICOR VIE ET CAPITALISATION et qui n'a pas été résilié ou suspendu pour faute ou mauvaises pratiques.
+- Délai maximum de remboursement en cas de paiement direct là où il n y a pas de partenariat et après réception de tous les documents requis : 2 jours
+- Gestion commune avec l'employeur des cas de fraudes
+- Les frais funéraires en cas de décès d'un membre assuré ou son bénéficiaire sont payables endeans 24 heures suivant la réception de l'avis de décès à l'Employeur ou à la personne qu'il peut désigner.
+- La liste du personnel ainsi que les rapports de consommations médicales seront fournis mensuellement.
+- En cas de dépassement des limites de l'assuré au cours de la période d'assurance, BICOR VIE ET CAPITALISATION peut le couvrir sans prime supplémentaire si le taux de sinistralité du groupe est inférieur à 60%.");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. B. REMBOURSEMENT DES SOINS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Aucun acte médical, appareil, opération ou hospitalisation, n'est pris en charge s'il n'a été ordonné par une personne titulaire d'un diplôme de médecin, chirurgien ou chirurgien - dentiste.
+Aucun acte n'est pris en charge s'il n'est exécuté par une personne qualifiée et dans un établissement officiellement autorisé par le Ministère de la santé qui, sauf cas de force majeure, doit être conventionné par l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Le système de règlement des factures des prestations est en principe le Tiers payant par lequel le bénéficiaire de l'assurance maladie ne paie que le ticket modérateur convenu et le prestataire des soins se fait payer le solde de sa facture par l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Le payement direct qui consiste à ce que l'assuré paie la totalité de la facture des prestations médicales et se fait rembourser chez l'Assureur n'est utilisé qu'à titre exceptionnel.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("A cet effet, le prestataire ou l'assuré le cas échéant, devra remettre à l'Assureur les notes d'honoraires ou de frais et les ordonnances acquittées, datées et mentionnant les noms et prénoms de l'Assuré qu'elles concernent.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les notes doivent indiquer la nature et la date des soins donnés en distinguant le coût de chacun des actes pratiqués.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les ordonnances doivent porter lisiblement les noms et prénoms de l'assuré et s'accompagner des justificatifs de payement des produits pharmaceutiques.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. C.ETENDUE DE LA GARANTIE MALADIE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("La garantie englobe la personne assurée elle-même, son conjoint ainsi que leurs enfants légalement à charge de moins de 21 ans ou de moins de 25 ans s'ils sont encore étudiants.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ // $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1. D.PRESTATIONS ET TAUX GARANTIS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Les prestations et les taux garantis sont décrits, selon la catégorie, dans le tableaux ci-dessous :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(100,$ht,convertirc("Type de Prestataire"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Taux Garantie(%)"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Ticket Modérateur(%)"),1,1,'C',false);
+
+ $categorie = "";
+
+ foreach ($tableaupretationcps as $tableaupretationcp)
+ {
+ if($categorie!=$tableaupretationcp['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoin']),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false);
+ $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false);
+
+ $categorie = $tableaupretationcp['libelleComplet'];
+ }
+
+ $pdf->AddPage();
+ // $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("PLAFONDS ANNUELS PAR FAMILLE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(2);
+
+ $pdf->Cell(100,$ht,convertirc("Garantie"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Plafond"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Par Bén."),1,1,'C',false);
+
+ $produit = "";
+
+ foreach ($garantiescollegecps as $garantiescollegecp)
+ {
+ if($produit!=$garantiescollegecp['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantie']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false);
+
+ $champApplication = ($garantiescollegecp['champApplication']=="1");
+
+ if($champApplication == TRUE)
+ $check = "4";
+ else
+ $check = "";
+
+ $pdf->SetFont('ZapfDingbats','', 9);
+ $pdf->Cell(20, $ht, $check,1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = $garantiescollegecp['libelleComplet'];
+ }
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.2. CESSATION DES GARANTIES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties cessent collectivement le jour de la résiliation du contrat ou de l’echeance de celui-ci et individuellement, le jour où la personne assurée atteint la limite de couverture, quitte le service du Contractant, ou décède.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+ $text = convertirc("En cas de fraude avérée, l'Assureur se réserve le droit de radier l'assuré concerné. L'ensemble des garanties offertes à la personne Assurée doivent être annulées à partir de la date où nous avons eu connaissance de la fraude. Les primes payées ne sont pas remboursables et le Membre ne sera plus admissible comme personne assurée pour les périodes futures.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ // $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION DES GARANTIES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties sont suspendues collectivement si les primes ne sont pas payées dans les TRENTE (30) jours à partir de la prise d'effet du contrat et individuellement si les primes ne sont pas payées immédiatement après l'adhésion de l'assuré.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les garanties reprendront effet immédiatement après le paiement de la totalité des primes en souffrance au moment de la suspension.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 5 : COTISATIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties définies ci-dessus seront accordées moyennant des cotisations de :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ /*
+ if($entetecp['commission']>"0")
+ {
+ $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false);
+ $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['taxeBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ }
+ else
+ {
+ */
+ $pdf->Cell(50,$ht,convertirc("Type assuré"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("P. Base"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("P. Nette"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Carte"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Prime Ttc"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ // $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false);
+ $pdf->Cell(170,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+ // }
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 6 : RENOUVELEMENT ET CLAUSE D'AJUSTEMENT"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Un mois avant l'échéance, un avenant provisionnel de renouvellement sera envoyé à l’assuré pour le règlement d'un acompte sur le renouvellement.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("La prime définie ci-dessus fera l'objet dans les conditions ci-après d'un ajustement en fonction des résultats de Sinistres sur primes nettes(déduction faite des taxes et commissions des intermédiaires) après la clôture de chaque exercice.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Pour associer l’assuré à l'évolution des consommations, un rapport d’utilisation trimestriel lui sera régulièrement transmis.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 7: EXCLUSIONS GENERALES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("- Traitement cosmétique et chirurgie esthétique
+- Blessures dues à la participation aux jeux et activités dangereuses
+- Blessures dues à la participation aux greves et émeutes
+- Traitement de fécondité à savoir les frais de traitement liés à la stérilité et à l'impuissance
+- Traitement prophylactique, les compléments alimentaires
+- Cardiopathie ischemique
+- Automutilation intentionnelle,suicide ou influence de l'alcool ou de la drogue
+- Cancers de la peau,cancers in situ et mélanomes in situ (sauf les melanones malins)
+- Les voyages en avion, sauf si le Membre (ayant payé le billet) voyage dans un avion conçu pour transporter des passagers
+- Coût d'appareils auditifs, à moins qu’il résulte d’un accident
+- Dépression nerveuse, psychonévrose, à moins qu'il ne résulte d'un accident
+- Frais recouvrables en vertu de la Loi sur l’Indemnisation des Accidents du Travail ou les services publics de santé, y compris les régimes d’indemnisation de l'INSS ou tout autre régime sauf sur demande préalable de l’assuré et moyennant une prime correspondante");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 8 : DISPOSITIONS FINALES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Lors de l'exécution des actes, examens ou traitements des assurés, le professionnel de santé ou l'établissement de soins est seul et unique responsable des complications, incidents ou accidents pouvant survenir dans la pratique de l'art médical.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("En aucun cas, la responsabilité de l'Assureur ne pourra être invoquée pour des faits relevant de la responsabilité du professionnel de santé ou de l'établissement de soins.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Le contrat sera établi en deux (2) exemplaires et prend effet sous réserve des dispositions de l'Article II des CONDITIONS PARTICULIERES, le ".$entetecp['dateEffet']);
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ // DEBUT TEXTE LIBRE
+ if ($entetecp['texteCp']>" ")
+ {
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("ANNEXES AUX CONDITIONS PARTICULIERES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc($entetecp['texteCp']);
+
+ $pdf->MultiCell(0, $ht, $text);
+ }
+ // FIN TEXTE LIBRE
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BI', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Fait à ".$_SESSION['villeSociete'].", le ".$entetecp['dateJour']),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("POUR BICOR VIE ET CAPITALISATION"),0,0,'L',false);
+
+ $pdf->Cell(0,$ht,convertirc("POUR L’ASSURE"),0,1,'R',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("LE PRODUCTEUR"),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("LA DIRECTION"),0,1,'L',false);
+
+ $fichier="Temp/TMP_devis"."_".uniqid().".pdf";
+ $pdf->Output($fichier,"F");
+
+
+ $t_html ='
diff --git a/Societes/radiant/Tarifs/Controleur/Devisstandardeng.php b/Societes/radiant/Tarifs/Controleur/Devisstandardeng.php
new file mode 100644
index 0000000..9beacd3
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur/Devisstandardeng.php
@@ -0,0 +1,681 @@
+police->getEnteteCP($idPolice);
+ $collegecps = $this->police->getCollegesCP($idPolice);
+ $collegecp2s = $this->police->getCollegesCP($idPolice);
+ $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice);
+ $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice);
+
+ // $pdf = new FPDF();
+ $pdf = new FPDF_Protection();
+ $pdf->SetProtection(array('print'));
+
+ $pdf->AliasNbPages();
+ $pdf->AddPage();
+
+ $ht=10;
+
+ $pdf->SetMargins(10, 10, 10) ;
+
+ $pdf->SetFont('Arial','B', 15);
+
+ $pdf->SetY(40);
+
+ $pdf->SetFillColor(135,206,250); // bleu
+
+ $pdf->Cell(0,$ht,convertirc("MEDICOR PROPOSAL – HEALTH INSURANCE"),1,1,'C',true);
+
+ $pdf->SetFont('');
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(45,$ht,convertirc("No Quotation"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false);
+
+ $pdf->Cell(45,$ht,convertirc("CLIENT"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(45,$ht,convertirc("Headquarter"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("As Insured"),0,0,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Near "),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false);
+
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(0,$ht,convertirc("The future contract will cover the following guarantees :"),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','B', 13);
+ $pdf->Cell(0,$ht,convertirc("DISEASE-HOSPITALIZATION-MATERNITY-OPHTHALOMOLOGY-DENTAL"),0,1,'C',false);
+
+
+ $pdf->AddPage();
+ $ht=6;
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc("PARTICULAR DISPOSITIONS"),0,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false);
+
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Declares to subscribe to the general terms and conditions and special provisions of the Group Heath Insurance Agreement and the following particulars with ".$entetecp['nomSociete']." for the persons to be insured, for the guarantees and for the following contribution :");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 1 : PEOPLE TO BE ASSURED"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Staff members of the insured person over the age of 18 and under 65 at the time of entry into the insurance according to the following breakdown:");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(30,$ht,convertirc("Category"),1,0,'C',false);
+ $pdf->Cell(25,$ht,convertirc("Nb members"),1,0,'C',false);
+ $pdf->Cell(25,$ht,convertirc("Nb Dep"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Premium member"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Premium Dep"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Tot premium"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $oldnumeroOptionTarif = "0";
+
+ $nbAdherent = "0";
+ $nbAyantdroit = "0";
+ $primeTtcAdherent = "0";
+ $primeTtcBeneficiaire = "0";
+ $primeTtcTotal = "0";
+
+ $categorie = "0";
+
+ foreach ($collegecps as $collegecp)
+ {
+ $numeroOptionTarif = $collegecp['numeroOptionTarif'];
+
+ if ($oldnumeroOptionTarif<>$numeroOptionTarif && $oldnumeroOptionTarif <> "0")
+ {
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Total : Option ".$oldnumeroOptionTarif),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($nbAdherent),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($nbAyantdroit),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($primeTtcAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false);
+
+ $nbAdherent = "0";
+ $nbAyantdroit = "0";
+ $primeTtcAdherent = "0";
+ $primeTtcBeneficiaire = "0";
+ $primeTtcTotal = "0";
+
+ $pdf->Ln(5);
+ }
+
+ if($categorie!=$collegecp['numeroOptionTarif'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($collegecp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Option ".$collegecp['numeroOptionTarif']),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false);
+
+ $nbAdherent += $collegecp['nbAdherent'];
+ $nbAyantdroit += $collegecp['nbAyantdroit'];
+ $primeTtcAdherent += $collegecp['primeTtcAdherent'];
+ $primeTtcBeneficiaire += $collegecp['primeTtcBeneficiaire'];
+ $primeTtcTotal += $collegecp['primeTtcTotal'];
+
+ $oldnumeroOptionTarif = $numeroOptionTarif;
+ $categorie = $collegecp['numeroOptionTarif'];
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$numeroOptionTarif),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($nbAdherent),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($nbAyantdroit),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($primeTtcAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','', 9);
+ $text = convertirc("Outside this age group the cover is the subject of a special agreement between the subscriber and the Insurer.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("From the age of 60, a medical examination is compulsory for individual insured persons.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 2: TAKING EFFECT AND MODE OF OPERATION OF MEDICOR"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Subject to acceptance by the Insurer, the benefits take effect for each person to be insured:
+- From the effective date of the contract for persons to be insured who are already in the Contractor's service.
+- Directly after the date of their admission to the Contractor's Department for persons hired after the effective date of the contract. The Contractor's Human Resources Department must be in close collaboration with BICOR LIFE AND CAPITALIZATION. A prorated premium is payable immediately to any person who becomes a Member during the period of coverage.
+- Thus, each insured will have a health insurance card that he will present to health care providers and they will verify from his fingerprints his identity and coverage limit via the application of MEDICOR. This will also allow the insured to see in real time where he is with his limit of coverage.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ // $pdf->Ln(5);
+ $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("Article 3: DURATION OF THE FUTURE CONTRACT"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The contract will be signed for a period of one year from ".$entetecp['dateEffet']." to ".$entetecp['dateEcheance'].".
+It will be tacitly renewable under the conditions set out in article 6 of these special conditions, unless terminated with one month’s notice before its expiry.
+No obligation to renew the contract is incubent upon the parties. BICOR VIE ET CAPITALISATION reserves the right to refuse or restrict the terms of coverage for all Members or any Member by granting the insured person a notice period of one month in accordance with the conditions set out in article 6 of these special conditions.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("Article 4 : BENEFITS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1.A. ADVANTAGES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The health insurance offers the payment of expenses for health care as a result of accident or maternity sickness.
+
+Thus, the following medical benefits are covered:
+-outpatient, hospitalization, maternity, ophthalmology, dentistry and chronic diseases.
+
+-conditions of prematurity are covered
+
+-MRI and other special tests are all covered
+
+-Indirect payment: the beneficiary pays his contribution while obtaining the medical service and the provider requests refund or difference to BICOR VIE ET CAPITALISATION (applicable for options with co-payment)
+
+- All medical treatments and medications prescribed by a qualified and registered doctor and which has been authorized by the Ministry of Health. Our medical plan provides access to specialties and generic drugs.
+However, specialties must be prescribed by a medical specialist, except in case of emergency by prior authorization.
+
+-Coverage guarantees concern the insured staff, spouse and their dependent children up to age 21 and extended to 25 if the child is still a student.
+
+-Ambulance costs for emergency cases from one hospital to another and from an accident site to the hospital in the event of an accident on Burundian territory. The ambulance service will apply to sick insured persons who are to be treated in a designated hospital, from an area where necessary equipment does not exist, but without exceeding Bif 500,000 during the entire coverage period (and within the annual limit of the hospitalized)
+
+-Treatments in all partner hospitals in East African countries. The insured will go to an appropriate institution according to the partnership of the insurer. He will have to notify the insurer at least 3 days before to allow him to notify the insured persons designated by the insured (only for those who have extraterritorial coverage).
+
+-Treatments in India if necessary, based on a medical report from a specialist doctor attestating tha the same services can not be offerered in East African countries with the prior approval of BICOR VIE ET CAPITALISATION.
+
+-The extension in East African countries is covered within the limit of coverage for dependents of the insured.
+
+-The refund will be based on the most expensive rate depending on the category in which you are insured locally.
+
+-Accommodation of a parent for children under 12 years old in the hospital. This will only apply to coverage abroad
+
+-The single room is covered
+
+-Automatic addition of a newborn and/or spouse without additional premium except card fees
+
+-Automatic addition of a new member with a prorated premium
+
+-Automatic deletion for the agent leaving the group and refund of 75% of the unutilized premium calculated
+
+-pro rata, if no medical service has been paid for him and his dependents
+
+-The issue of health insurance cards within 7 days of notification and/or proof of payment.
+
+-Health insurance cards carry a telephone number which the patient can call if necessary. There will also be a designated claims manager specifically in charge of ".$entetecp['nomClient'].".
+
+-The list of all BICOR VIE ET CAPITALISATION partners is attached to this technical offer
+
+-The refund will be based on the most expensive rate depending on the category in which you are insured locally.
+For expenses paid to a provider who has no partnership with BICOR VIE ET CAPITALISATION and which has not been terminated or suspended for fault or bad practice.
+
+-Maximum repayment period in case of direct payment where there is no partnership and after receipt of all required documents: 2 days
+
+-Joint management with the employer of cases of fraud
+
+-Funeral expenses in the event of the death on an insured member or his beneficiary are payable within 24 hours of receipt of the death notice to the employer or to the person he may designate.
+
+-The list of staff and reports of medical consumption will be provided monthly.
+
+-If the limit of the insured person is exceeded during the insurance period, BICOR VIE ET CAPITALISATION may cover him without additional premium if the loss ratio of the ".$entetecp['nomClient']." Group is less than 60%.");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. B. REIMBURSEMENT OF CARE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("No medical act, device, operation or hospitalization is supported if it has not been ordered by a person holding a doctor’s degree, surgeon or dental surgeon.
+
+No act is taken in charge if it is not performed by a qualified person and in an establishment officially authorized by the Ministry of Health which, except in cases of major force, must be agreed by the insurer.
+
+The system of payment of benefits invoices is in principle the Third party paying by which the beneficiary of the insurance sickness only pays the agreed co-payment and the care provider is paid the balance of his bill by the insurer.
+
+The direct payment which consists in the fact that the insured person pays the entire bill for the medical services and is reimbursed by the insured is only used in exceptional circumstances.
+
+For this purpose, the service provider or the insured if applicable, must submit to the insurer the notes of fees or expenses and the orders paid, dated and mentioning the names and forenames of the insured concerned. The notes must indicate the nature and the date of the care given by distinguishing the cost of each of the acts performed.
+
+Prescriptions must clearly bear the name and surname of the insured and be accompanied by proof of payment of pharmaceutical products.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. C.EXTENT OF THE DISEASE GUARANTEE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("The coverage includes the insured person himself, his spouse and their legally dependent children under 21 or under 25 if they are still students.
+
+This coverage is also extended to staff who fall ill while on a work mission or on annual leave recognized by the contractor.
+
+In the latter case, the reimbursement will be made on the basis of the KIRA Hospital rate for members of the first category or the Reference Public Hospital for members of the other categories after deduction of the co-payment mentioned in the table of benefits and limits.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ // $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1. D.BENEFITS AND GUARANTEED RATE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Benefits and guaranteed rates are described, by category, in the tables below :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(100,$ht,convertirc("Type of provider"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Rate guarantee(%)"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Co-payment(%)"),1,1,'C',false);
+
+ $categorie = "";
+
+ foreach ($tableaupretationcps as $tableaupretationcp)
+ {
+ if($categorie!=$tableaupretationcp['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoinEng']),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false);
+ $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false);
+
+ $categorie = $tableaupretationcp['libelleComplet'];
+ }
+
+ $pdf->AddPage();
+ // $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("LIMITS PER FAMILY OR PER MEMBER"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(2);
+
+ $pdf->Cell(100,$ht,convertirc("Garantee"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Limit"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Per Ben."),1,1,'C',false);
+
+ $produit = "";
+
+ foreach ($garantiescollegecps as $garantiescollegecp)
+ {
+ if($produit!=$garantiescollegecp['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false);
+
+ $champApplication = ($garantiescollegecp['champApplication']=="1");
+
+ if($champApplication == TRUE)
+ $check = "4";
+ else
+ $check = "";
+
+ $pdf->SetFont('ZapfDingbats','', 9);
+ $pdf->Cell(20, $ht, $check,1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = $garantiescollegecp['libelleComplet'];
+ }
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.2. TERMINATION OF GUARANTEES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Collateral ceases collectively on the day of termination of the contract or on its due date and individually, on the day the insured person reaches the limit of coverage, leaves the contractor’s service, or dies.
+In case of proven fraud, the insurer reserves the right to cancel the insured concerned. All the benefits offered to the insured person must be canceled from the date we became aware of the fraud. Premiums paid are not refundable and the member will no longer be eligible as an insured person for future periods.");
+ $pdf->MultiCell(0, $ht, $text);
+
+
+ // $pdf->AddPage();
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION OF GUARANTEES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Collateral is suspended collectively if the premiums are not paid within THIRTY (30) days of the effective date of the policy and individually if the premiums are not paid immediately after the insured’s membership.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("Guarantees will resume immediately upon payment of all outstanding premiums at the time of suspens.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 5 : CONTRIBUTIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The guarantees defined above will be granted with :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ /*
+ if($entetecp['commission']>"0")
+ {
+ $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false);
+ $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['taxeBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ }
+ else
+ {
+ */
+ $pdf->Cell(50,$ht,convertirc("Insured type"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Basic premium"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Net premium"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Card"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Premium Ttc"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Tot Premium"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(170,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+ // }
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 6: RENEWAL AND PREMIUM ADJUSTEMENT CLAUSE"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("One month before the expiry, a provisional renewal rider will be sent to the insured for payment of a deposit on the renewal.
+The premium defined above will be adjusted in accordance with the results of net premium claims (net of taxes and commissions of intermediaries) after the end of each financial year.
+To associate the insured with changes in consumptions, quarterly usage report will be regularly transmitted. ");
+ $pdf->MultiCell(0, $ht, $text);
+
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("Article 7: GENERAL EXCLUSIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("- Cosmetic treatment and cosmetic surgery
+- Injuries due to participation in games and dangerous activities
+- Injuries due to participation in strikes and riots
+- Fertility treatment, namely treatment costs related to infertility and impotence
+- Prophylactic treatment, dietary supplements
+-Ischemic heart disease
+- Intentional self-harm, suicide or the influence of alcohol or drugs
+- Skin cancers, in situ cancers and melanomas in situ (except malignant melanomas)
+- Air travel, unless the Member (having paid for the ticket) travels in an airplane designed to carry passengers
+- Cost of hearing aids, unless resulting from an accident
+- Nervous breakdown, psychoneurosis, unless it results from an accident");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 8: FINAL PROVISIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("When performing the acts, examinations or treatments of the insured, the health professional or the care establishment is the sole and sole responsible for complications, incidents or accidents that may occur in the practice of the medical art.
+In no event shall the Insurer's liability be invoked for matters that are the responsibility of the health professional or the health care facility.
+The contract will be established in two (2) copies and takes effect subject to the provisions of Article II of the PARTICULAR CONDITIONS, the ".$entetecp['dateEffet']);
+ $pdf->MultiCell(0, $ht, $text);
+
+ // DEBUT TEXTE LIBRE
+ if ($entetecp['texteCp']>" ")
+ {
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("ANNEXES TO THE PARTICULAR CONDITIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc($entetecp['texteCp']);
+
+ $pdf->MultiCell(0, $ht, $text);
+ }
+ // FIN TEXTE LIBRE
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BI', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Done at ".$_SESSION['villeSociete']." ".$entetecp['dateJour']."."),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("FOR BICOR VIE ET CAPITALISATION"),0,0,'L',false);
+
+ $pdf->Cell(0,$ht,convertirc("FOR INSURED"),0,1,'R',false);
+
+ $pdf->Ln(20);
+
+ $pdf->Cell(0,$ht,convertirc("UNDERWRITTER"),0,1,'L',false);
+
+ $pdf->Ln(20);
+
+ $pdf->Cell(0,$ht,convertirc("EXECUTIVE MANAGEMENT"),0,1,'L',false);
+
+ $fichier="Temp/TMP_proposal"."_".uniqid().".pdf";
+ $pdf->Output($fichier,"F");
+
+
+ $t_html ='
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc2eng.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc2eng.php
new file mode 100644
index 0000000..f273d57
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpfc2eng.php
@@ -0,0 +1,261 @@
+police->getEnteteCP($idPolice);
+ $adherent = $this->police->getAdherentCP($idPolice);
+ // $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice);
+ $garantiescollegecps = $this->police->getGarantiesCollegesCPFC($idPolice);
+ $listeassures = $this->police->getcpfclisteassures($idPolice);
+
+ $pdf = new FPDF();
+ $pdf->AliasNbPages();
+ $pdf->AddPage();
+
+ $ht=10;
+
+ $pdf->SetMargins(10, 10, 10) ;
+
+ $pdf->SetFont('Arial','B', 15);
+
+ $pdf->SetY(37);
+
+ if($adherent['codeProduit']=="FC2")
+ {
+ $pdf->SetFillColor(135,206,250); // bleu
+
+ $pdf->Cell(0,$ht,convertirc("INDIVIDUAL HEALTH INSURANCE CONTRACT"),1,1,'C',true);
+ // $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20);
+ $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180);
+
+ $pdf->SetFont('');
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(0,$ht,convertirc("POLICY NUMBER : ".$entetecp['numeroPolice']),0,1,'C',false);
+ // $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false);
+
+ $pdf->Ln(7);
+
+ $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURER :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Name"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": Radiant Insurance Company"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Address"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": Kigali, KN 2 Avenue, CHIC Building; P.O. BOX: 1861, Kigali-Rwanda"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Tel"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": +250 788 50 08 77/ 2050"),0,1,'L',false);
+
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("CONTACT DETAILS OF THE INSURED :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Names"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$adherent['nom'] . " " . $adherent['prenoms']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Type of Insurance"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": Individual Cover"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("TIN/PASSPORT/NID"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$adherent['numeroPiece']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Village/Cell/Sector"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ // $pdf->Cell(0,$ht,convertirc(": ".$adherent['adresseGeo']),0,1,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("District"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$adherent['ville'].' / '. $adherent['localite']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Telefone"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$adherent['telephonePortable']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Email"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$adherent['email']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Contract Signing Date"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".dateFr($adherent['dateSysteme'])),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Commencement Date"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEffet']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(50,$ht,convertirc("Contract Ending Date"),0,0,'L',false);
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['dateEcheance']),0,1,'L',false);
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("PERSONS TO BE INSURED :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("Contracting Party’s staff members aged more than 18 years and less than 65 years as of the commencement of the insurance contract, the individual insured person, his/her spouse as well as their dependent children of less than 21 years of age.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+ // $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("LIST OF PERSONS TO BE INSURED IN THIS CONTRACT :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(85,$ht,convertirc('Names'),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc('Date of Birth'),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc('Membership Number'),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc('Premiums'),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+ foreach ($listeassures as $assure)
+ {
+ $pdf->Cell(85,$ht,convertirc($assure['nomAssure']),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc(dateFr($assure['dateNaissance'])),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc($assure['numeroBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($assure['primeNetteStat']),1,1,'C',false);
+ }
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(155,$ht,convertirc('Total'),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($adherent['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("ANNUAL CEILINGS :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(115,$ht,convertirc('Guarantee'),1,0,'C',false);
+ $pdf->Cell(70,$ht,convertirc('Amount'),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+ foreach ($garantiescollegecps as $garantiescollegecp)
+ {
+ $pdf->Cell(115,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false);
+ $pdf->Cell(70,$ht,format_N($garantiescollegecp['plafond']),1,1,'C',false);
+ }
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("GUARANTEES :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("The health insurance scheme will pay the charges incurred for medical care due to, illness, accident, dental and eye care or maternity.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("ACCESS TO HEALTH CARE FACILITIES :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("The insured will receive medical services at all health centers, district and provincial hospitals, Kanombe Military Hospital, CHUB, CHUK, and Ndera Hospital, plus some clinics as per the list attached on this contract as well as all pharmacies that have partnership with RADIANT INSURANCE COMPANY.
+The insured shall a 10% co-pay in public health facilities&Pharmacies and 15% in private clinics.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','BI', 10);
+ $text = convertirc("Note: This list should be updated by adding or removing a provider any time in accordance with the agreement between RADIANT INSURANCE COMPANY LTD and the provider. In this event, RADIANT INSURANCE COMPANY LTD shall inform the client through the email address or telephone number provided by the client in this contract.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("The insured shall a 10% co-pay in public health&pharmacies and 15% in private clinics.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+ // $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("V. UNCOVERED GUARANTEES :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("- All medical services that are not related to sickness are not covered;
+- Maternity cover becomes effective from 10 months of insurance for the 1st year and immediately when the contract is renewed on the date it was due to expire;
+- Vaccination, family planning, infertility, crutches and orthosis, kidney transplantation (dialysis) and other special activities or tests not related to normal illness is not guaranteed.
+- CT Scan and MRI are covered for Inpatient cases
+- Optical Frame");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("A Procedure for incorporating a new dependent :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("Addition of a child born to or spouse shall take place not later than thirty (30) days from the date of birth of the child or from the date of marriage.
+Members of the new insured family will be included in the contract plus 50% of the insurance premiums paid by the insured when he or she adds the spouse and 25% when he/she adds the child born regardless of the remaining days until the end of the contract year. Members of his family will have the right to medical treatment from the time their names and birthdays are submitted to RADIANT.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("TERMINATION OF THE AGREEMENT :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+ $text = convertirc("The agreement can be terminated if the insured chooses to cancel it and will be refunded the premium paid minus fifteen thousand Rwandan Francs (15,000 Frw) for each card issued, only if it has been done less than 30 days since the first premium payment, meaning they have not yet started using the insurance for themselves or their dependents.
+The agreement can be terminated if it is found that the insured has used or attempted to use the insurance for someone not covered by the policy or has knowingly attempted to claim for services not covered by this agreement. In such cases, the premium paid will not be refunded.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+ // $pdf->Ln(7);
+
+ $pdf->SetFont('Arial','BU', 15);
+ $pdf->Cell(50,$ht,convertirc("FINAL PROVISIONS :"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+$text = convertirc("RADIANT INSURANCE COMPANY cannot be held responsible for any health consequences of the insured arising from treatments received at the hospital or medications prescribed.
+These agreements have been approved by both parties involved and are effective from");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc(dateFr($adherent['dateSysteme']).'.'),0,1,'L',false);
+
+ $pdf->Ln(10);
+
+ $pdf->Cell(0,$ht,convertirc("Done at Kigali, on ".$entetecp['dateJour']),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->Cell(0,$ht,convertirc("THE SUBSCRIBER"),0,0,'L',false);
+
+ $pdf->Cell(0,$ht,convertirc("THE INSURER"),0,1,'R',false);
+ }
+ else
+ {
+ $pdf->Cell(0,$ht,convertirc("Tt is not a FC2 contact"),0,1,'C',false);
+ }
+
+ $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf";
+ $pdf->Output($fichier,"F");
+
+ $t_html ='
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandard.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandard.php
new file mode 100644
index 0000000..cc6faf3
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandard.php
@@ -0,0 +1,662 @@
+police->getEnteteCP($idPolice);
+ $collegecps = $this->police->getCollegesCP($idPolice);
+ $collegecp2s = $this->police->getCollegesCP($idPolice);
+ $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice);
+ $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice);
+ // $tableauajustementcps = $this->police->gettableauAjustementCP($idPolice);
+
+ $pdf = new FPDF();
+ $pdf->AliasNbPages();
+ $pdf->AddPage();
+
+ $ht=10;
+
+ $pdf->SetMargins(10, 10, 10) ;
+
+ $pdf->SetFont('Arial','B', 15);
+
+ $pdf->SetY(40);
+
+ $pdf->SetFillColor(135,206,250); // bleu
+
+ if($entetecp['codeTypeContrat'] == "G")
+ {
+ $pdf->Cell(0,$ht,convertirc("CONTRAT - GROUPE D'ASSURANCE SANTE"),1,1,'C',true);
+ }
+ else
+ {
+ $pdf->Cell(0,$ht,convertirc("CONTRAT - D'ASSURANCE SANTE INDIVIDUEL"),1,1,'C',true);
+ }
+
+ $pdf->SetFont('');
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(50,$ht,convertirc("No POLICE"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false);
+
+ $pdf->Cell(50,$ht,convertirc("SOUSCRITE PAR"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(50,$ht,convertirc("Dont le Siège Social est"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("En qualité de CONTRACTANT "),0,0,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Auprès de "),0,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false);
+
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(0,$ht,convertirc("En qualité d'ASSUREUR "),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Le présent contrat est constitué et régi par les CONDITIONS PARTICULIERES, les DISPOSITIONS"),0,1,'C',false);
+ $pdf->Cell(0,$ht,convertirc("SPECIALES ainsi que par les CONDITIONS GENERALES."),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Il a pour objet la garantie suivante :"),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','B', 13);
+ $pdf->Cell(0,$ht,convertirc("MALADIE - HOSPITALISATION - MATERNITE - OPHTALMOLOGIE - DENTISTERIE"),0,1,'C',false);
+
+
+ $pdf->AddPage();
+ $ht=6;
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc("CONDITIONS PARTICULIERES"),0,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Déclare souscrire aux conditions générales et dispositions spéciales du Contrat ");
+ $text .= convertirc("d'Assurance Maladie Groupe et celles particulières qui suivent, auprès de ".$_SESSION['nomSociete']);
+ $text .= convertirc(" en faveur des personnes à assurer, pour les Garanties et moyennant les Cotisations ci-après :");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 1 : PERSONNES A ASSURER"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les membres du Personnel de l'assuré âgés de plus de 18 ans et de moins de 70 ans à ");
+ $text .= convertirc("l'entrée dans l'assurance selon la répartition suivante :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(30,$ht,convertirc("Catégorie"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Nb Adh"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Nb Dép"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Adh"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Dép"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ foreach ($collegecps as $collegecp)
+ {
+ $pdf->Cell(30,$ht,convertirc($collegecp['codeProduit']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false);
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Totaux : "),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false);
+
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','', 9);
+ $text = convertirc("En dehors de cette tranche d'âge la couverture fait l'objet d'un accord spécial entre le souscripteur et l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("A partir de 60 ans, un examen medical est obligatoire pour les assurés individuels.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 2 : PRISE D’EFFET ET MODE DE FONCTIONNEMENT DE MEDICOR"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Sous réserve d'acceptation par l'Assureur, les garanties prennent effet pour chaque personne à assurer : ");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("- Dès la date d'effet du contrat pour les personnes à assurer se trouvant déjà au service du Contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("- Directement après la date de leur admission au Service du Contractant pour les personnes engagées ");
+ $text .= convertirc("postérieurement à la date d'effet du contrat. Le Departement des Ressources Humaines du Contractant doit être en étroite collaboration avec ");
+ $text .= convertirc($_SESSION['nomSociete'] . ". Une prime calculée au prorata est payable immédiatement pour toute personne devenue Adhérent pendant la période de couverture.");
+ $pdf->MultiCell(0, $ht, $text);
+ $text = convertirc("- Ainsi, chaque assuré aura une carte d’assurance maladie qu’il va présenter aux prestataires de soins et ceux-ci vont vérifier à partir de ses empreintes digitales son identité et sa limite de couverture via l’application de MEDICOR. Cela va permettre aussi à l’assuré de voir en temps réel où il en est avec sa limite de couverture. ");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("- NB : Pour les assurés individuels, ils doivent attendre une période d’un mois avant de bénéficier de l’assurance santé ; exception faite des cas d’accident.
+Aussi, les assurés individuels doivent attendre une période de 10 mois avant de bénéficier de la couverture maternité. ");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ // $pdf->Ln(5);
+ $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("Article 3 : DUREE DU CONTRAT"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Le présent contrat est souscrit pour une durée d'une année à compter du ".$entetecp['dateEffet']." au ".$entetecp['dateEcheance']."
+Il sera renouvelable tacitement dans les conditions prévues à l'article 6 des présentes conditions particulières sauf résiliation avec un préavis de un mois avant son échéance.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ $pdf->Cell(0,$ht,convertirc("Article 4 : DES GARANTIES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1.A. PRESTATIONS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("La garantie maladie offre le paiement des frais pour les soins de santé à la suite de maladie d'accident ou de maternité.
+Ainsi, sont prises en charge les prestations médicales suivantes :
+- Soins ambulatoires, hospitalisation , maternité (sauf pour les dépendants), ophtalmologie, dentisterie et maladies chroniques.
+- Les conditions de prématurité sont couvertes
+- L'IRM et d'autres tests spéciaux sont tous couverts
+- Paiement indirect : le bénéficiaire paie sa contribution pendant l'obtention du service médical et le prestataire demande
+le remboursement ou la différence à RDIANT INSURANCE COMPANY (applicable pour les options avec ticket modérateur)
+- Tous les traitements médicaux et les médicaments doivent prescrits par un médecin diplômé et enregistré et qui a été autorisé par le Ministère de la Santé. Notre régime médical donne accès à des spécialités et à des médicaments génériques. Cependant, les spécialités doivent être prescrites par un médecin spécialiste, sauf en cas d'urgence par autorisation préalable
+- Les garanties de couverture concernent le personnel assuré; son conjoint ainsi que leurs enfants à charge jusqu'à 21 ans et prolongé jusqu'à 25 ans si l'enfant est encore étudiant
+- Frais d'Ambulance pour les cas d'urgence d'un hôpital à un autre et d'un lieu d'accident à l'hôpital en cas d'accident sur le territoire burundais. Le service ambulance s’appliquera aux assurés malades qui devont être traité dans un hôpital désigné, à partir d’une zone où les équipements indispensables n’existent pas, sans toutefois dépasser 500.000.FBu. durant toute la période de couverture (et dans la limite annuelle du patient hospitalisé).
+- Traitements dans tous les hôpitaux partenaires des pays d'Afrique de l'Est. L’assuré ira dans un établissement approprié selon le partenariat de l'assureur. Il devra aviser l’assureur au moins 3 jours avant afin de lui permettre d’aviser les prestatires désignés par l’assuré (seulement pour ceux qui ont une couverture extraterritoriale).
+- Traitement en Inde le cas échéant,sur base d’un rapport médical d’un medecin specialiste attestant que les mêmes services ne peuvent pas être offerts dans les pays de l’Afrique de l’Est avec l'approbation préalable de RDIANT INSURANCE COMPANY
+- L'extension dans les pays d'Afrique de l'Est est couverte dans la limite de la couverture pour les personnes à charge de l'assuré. Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.
+- L'hébergement d'un parent pour les enfants de moins de 12 ans à l'hôpital, cela ne s'appliquera qu'à la couverture à l'étranger
+- La chambre individuelle est couverte
+- Ajout automatique d'un nouveau-né et/ou conjoint sans prime supplémentaire à l'exception des frais de carte
+- Ajout automatique d'un nouvel adhérent avec une prime calculée au prorata
+- Suppression automatique pour l'agent qui quitte le groupe et remboursement de 75% de la prime non consommée calculée au prorata, si aucun service médical n'a été payé pour lui et les personnes à sa charge
+- L'émission de cartes d'assurance maladie dans les 7 jours suivant la notification et/ou preuve de paiement.
+- Les cartes d'assurance maladie portent un numéro de téléphone que le patient peut appeler si nécessaire. Il y aura également un gestionnaire de sinistre désigné spécifiquement en charge de l'assuré.
+- La liste de tous les partenaires de RDIANT INSURANCE COMPANY est jointe à cette offre technique
+- Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.pour les frais déboursés chez un prestataire qui n'a pas de partenariat avec RDIANT INSURANCE COMPANY et qui n'a pas été résilié ou suspendu pour faute ou mauvaises pratiques.
+- Délai maximum de remboursement en cas de paiement direct là où il n y a pas de partenariat et après réception de tous les documents requis : 2 jours
+- Gestion commune avec l'employeur des cas de fraudes
+- Les frais funéraires en cas de décès d'un membre assuré ou son bénéficiaire sont payables endeans 24 heures suivant la réception de l'avis de décès à l'Employeur ou à la personne qu'il peut désigner.
+- La liste du personnel ainsi que les rapports de consommations médicales seront fournis mensuellement.
+- En cas de dépassement des limites de l'assuré au cours de la période d'assurance, RDIANT INSURANCE COMPANY peut le couvrir sans prime supplémentaire si le taux de sinistralité du groupe est inférieur à 60%.");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. B. REMBOURSEMENT DES SOINS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Aucun acte médical, appareil, opération ou hospitalisation, n'est pris en charge s'il n'a été ordonné par une personne titulaire d'un diplôme de médecin, chirurgien ou chirurgien - dentiste.
+Aucun acte n'est pris en charge s'il n'est exécuté par une personne qualifiée et dans un établissement officiellement autorisé par le Ministère de la santé qui, sauf cas de force majeure, doit être conventionné par l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Le système de règlement des factures des prestations est en principe le Tiers payant par lequel le bénéficiaire de l'assurance maladie ne paie que le ticket modérateur convenu et le prestataire des soins se fait payer le solde de sa facture par l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Le payement direct qui consiste à ce que l'assuré paie la totalité de la facture des prestations médicales et se fait rembourser chez l'Assureur n'est utilisé qu'à titre exceptionnel.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("A cet effet, le prestataire ou l'assuré le cas échéant, devra remettre à l'Assureur les notes d'honoraires ou de frais et les ordonnances acquittées, datées et mentionnant les noms et prénoms de l'Assuré qu'elles concernent.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les notes doivent indiquer la nature et la date des soins donnés en distinguant le coût de chacun des actes pratiqués.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les ordonnances doivent porter lisiblement les noms et prénoms de l'assuré et s'accompagner des justificatifs de payement des produits pharmaceutiques.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. C.ETENDUE DE LA GARANTIE MALADIE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("La garantie englobe la personne assurée elle-même, son conjoint ainsi que leurs enfants légalement à charge de moins de 21 ans ou de moins de 25 ans s'ils sont encore étudiants.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1. D.PRESTATIONS ET TAUX GARANTIS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Les prestations et les taux garantis sont décrits, selon la catégorie, dans le tableau ci-dessous :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(100,$ht,convertirc("Type de Prestataire"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Taux Garantie(%)"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Ticket Modérateur(%)"),1,1,'C',false);
+
+ $categorie = "";
+
+ foreach ($tableaupretationcps as $tableaupretationcp)
+ {
+ if($categorie!=$tableaupretationcp['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($tableaupretationcp['codeProduit']." : ".$tableaupretationcp['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoin']),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false);
+ $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false);
+
+ $categorie = $tableaupretationcp['libelleCollege'];
+ }
+
+ // $pdf->AddPage();
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("PLAFONDS ANNUELS PAR FAMILLE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(2);
+
+ $pdf->Cell(100,$ht,convertirc("Garantie"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Plafond"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Par Bén."),1,1,'C',false);
+
+ $produit = "";
+
+ foreach ($garantiescollegecps as $garantiescollegecp)
+ {
+ if($produit!=$garantiescollegecp['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(160,$ht,convertirc($garantiescollegecp['codeProduit']." : ".$garantiescollegecp['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantie']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false);
+
+ $champApplication = ($garantiescollegecp['champApplication']=="1");
+
+ if($champApplication == TRUE)
+ $check = "4";
+ else
+ $check = "";
+
+ $pdf->SetFont('ZapfDingbats','', 9);
+ $pdf->Cell(20, $ht, $check,1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = $garantiescollegecp['libelleCollege'];
+ }
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.2. CESSATION DES GARANTIES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties cessent collectivement le jour de la résiliation du contrat ou de l’echeance de celui-ci et individuellement, le jour où la personne assurée atteint la limite de couverture, quitte le service du Contractant, ou décède.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+ $text = convertirc("En cas de fraude avérée, l'Assureur se réserve le droit de radier l'assuré concerné. L'ensemble des garanties offertes à la personne Assurée doivent être annulées à partir de la date où nous avons eu connaissance de la fraude. Les primes payées ne sont pas remboursables et le Membre ne sera plus admissible comme personne assurée pour les périodes futures.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ // $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION DES GARANTIES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties sont suspendues collectivement si les primes ne sont pas payées dans les TRENTE (30) jours à partir de la prise d'effet du contrat et individuellement si les primes ne sont pas payées immédiatement après l'adhésion de l'assuré.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les garanties reprendront effet immédiatement après le paiement de la totalité des primes en souffrance au moment de la suspension.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 5 : COTISATIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties définies ci-dessus sont accordées moyennant des cotisations de :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ /*
+ if($entetecp['commission']>"0")
+ {
+ $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false);
+ $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(190,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['accessoireBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Total Général"),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($entetecp['nbAssure']),1,0,'C',false);
+ $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false);
+ }
+ else
+ {
+ */
+ $pdf->Cell(50,$ht,convertirc("Type assuré"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("P. Base"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("P. Nette"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Carte"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Prime Ttc"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(170,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(50,$ht,convertirc("Total Général"),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($entetecp['nbAssure']),1,0,'C',false);
+ // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false);
+ // }
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 6 : RENOUVELEMENT ET CLAUSE D'AJUSTEMENT DE LA PRIME"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Un mois avant l'échéance, un avenant provisionnel de renouvellement sera envoyé à l’assuré pour le règlement d'un acompte sur le renouvellement.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("La prime définie ci-dessus fera l'objet dans les conditions ci-après d'un ajustement en fonction des résultats de Sinistres sur primes nettes (déduction faite des taxes et commissions des intermédiaires) après la clôture de chaque exercice.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Pour associer l’assuré à l'évolution des consommations, un rapport d’utilisation trimestriel lui sera régulièrement transmis.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 7: EXCLUSIONS GENERALES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("- Traitement cosmétique et chirurgie esthétique
+- Blessures dues à la participation aux jeux et activités dangereuses
+- Blessures dues à la participation aux greves et émeutes
+- Traitement de fécondité à savoir les frais de traitement liés à la stérilité et à l'impuissance
+- Traitement prophylactique, les compléments alimentaires
+- Cardiopathie ischemique
+- Automutilation intentionnelle,suicide ou influence de l'alcool ou de la drogue
+- Cancers de la peau,cancers in situ et mélanomes in situ (sauf les melanones malins)
+- Les voyages en avion, sauf si le Membre (ayant payé le billet) voyage dans un avion conçu pour transporter des passagers
+- Coût d'appareils auditifs, à moins qu’il résulte d’un accident
+- Dépression nerveuse, psychonévrose, à moins qu'il ne résulte d'un accident
+- Frais recouvrables en vertu de la Loi sur l’Indemnisation des Accidents du Travail ou les services publics de santé, y compris les régimes d’indemnisation de l'INSS ou tout autre régime sauf sur demande préalable de l’assuré et moyennant une prime correspondante");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 8 : DISPOSITIONS FINALES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Lors de l'exécution des actes, examens ou traitements des assurés, le professionnel de santé ou l'établissement de soins est seul et unique responsable des complications, incidents ou accidents pouvant survenir dans la pratique de l'art médical.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("En aucun cas, la responsabilité de l'Assureur ne pourra être invoquée pour des faits relevant de la responsabilité du professionnel de santé ou de l'établissement de soins.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Le contrat sera établi en deux (2) exemplaires et prend effet sous réserve des dispositions de l'Article II des CONDITIONS PARTICULIERES, le ".$entetecp['dateEffet']);
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ // DEBUT TEXTE LIBRE
+ if ($entetecp['texteCp']>" ")
+ {
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("ANNEXES AUX CONDITIONS PARTICULIERES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc($entetecp['texteCp']);
+
+ $pdf->MultiCell(0, $ht, $text);
+ }
+ // FIN TEXTE LIBRE
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BI', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Fait à ".$_SESSION['villeSociete'].", le ".$entetecp['dateJour']),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("POUR RDIANT INSURANCE COMPANY"),0,0,'L',false);
+
+ $pdf->Cell(0,$ht,convertirc("POUR L’ASSURE"),0,1,'R',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("LE PRODUCTEUR"),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("LA DIRECTION"),0,1,'L',false);
+
+ $fichier="Temp/TMP_conditions_particulieres"."_".uniqid().".pdf";
+ $pdf->Output($fichier,"F");
+
+ $t_html ='
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandardeng.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandardeng.php
new file mode 100644
index 0000000..45d7d3e
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Cpstandardeng.php
@@ -0,0 +1,566 @@
+police->getEnteteCP($idPolice);
+ $collegecps = $this->police->getCollegesCP($idPolice);
+ $collegecp2s = $this->police->getCollegesCP($idPolice);
+ $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice);
+ $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice);
+
+ $pdf = new FPDF();
+ $pdf->AliasNbPages();
+ $pdf->AddPage();
+
+ $ht=10;
+
+ $pdf->SetMargins(10, 10, 10) ;
+
+ $pdf->SetFont('Arial','B', 15);
+
+ $pdf->SetY(40);
+
+ $pdf->SetFillColor(135,206,250); // bleu
+
+ $pdf->Cell(0,$ht,convertirc("MEDICOR – HEALTH INSURANCE"),1,1,'C',true);
+
+ $pdf->SetFont('');
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(45,$ht,convertirc("No Policy"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false);
+
+ $pdf->Cell(45,$ht,convertirc("SUBSCRIBER"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(45,$ht,convertirc("Headquarter"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("As Insured"),0,0,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Near "),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false);
+
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(0,$ht,convertirc("The future contract will cover the following guarantees :"),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','B', 13);
+ $pdf->Cell(0,$ht,convertirc("DISEASE-HOSPITALIZATION-MATERNITY-OPHTHALOMOLOGY-DENTAL"),0,1,'C',false);
+
+
+ $pdf->AddPage();
+ $ht=6;
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc("PARTICULAR DISPOSITIONS"),0,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false);
+
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Declares to subscribe to the general terms and conditions and special provisions of the Group Heath Insurance Agreement and the following particulars with ".$entetecp['nomSociete']." for the persons to be insured, for the guarantees and for the following contribution :");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 1 : PEOPLE TO BE ASSURED"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Staff members of the insured person over the age of 18 and under 65 at the time of entry into the insurance according to the following breakdown:");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(30,$ht,convertirc("Category"),1,0,'C',false);
+ $pdf->Cell(25,$ht,convertirc("Nb members"),1,0,'C',false);
+ $pdf->Cell(25,$ht,convertirc("Nb Dep"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Premium member"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Premium Dep"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Tot premium"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ foreach ($collegecps as $collegecp)
+ {
+ $pdf->Cell(30,$ht,convertirc($collegecp['codeProduit']),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false);
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Totaux : "),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($entetecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($entetecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($entetecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($entetecp['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','', 9);
+ $text = convertirc("Outside this age group the cover is the subject of a special agreement between the subscriber and the Insurer.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("From the age of 60, a medical examination is compulsory for individual insured persons.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 2: TAKING EFFECT AND MODE OF OPERATION OF MEDICOR"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Subject to acceptance by the Insurer, the benefits take effect for each person to be insured:
+- From the effective date of the contract for persons to be insured who are already in the Contractor's service.
+- Directly after the date of their admission to the Contractor's Department for persons hired after the effective date of the contract. The Contractor's Human Resources Department must be in close collaboration with BICOR LIFE AND CAPITALIZATION. A prorated premium is payable immediately to any person who becomes a Member during the period of coverage.
+- Thus, each insured will have a health insurance card that he will present to health care providers and they will verify from his fingerprints his identity and coverage limit via the application of MEDICOR. This will also allow the insured to see in real time where he is with his limit of coverage.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ // $pdf->Ln(5);
+ $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("Article 3: DURATION OF THE FUTURE CONTRACT"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The contract will be signed for a period of one year from ".$entetecp['dateEffet']." to ".$entetecp['dateEcheance'].".
+It will be tacitly renewable under the conditions set out in article 6 of these special conditions, unless terminated with one month’s notice before its expiry.
+No obligation to renew the contract is incubent upon the parties. RDIANT INSURANCE COMPANY reserves the right to refuse or restrict the terms of coverage for all Members or any Member by granting the insured person a notice period of one month in accordance with the conditions set out in article 6 of these special conditions.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("Article 4 : BENEFITS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1.A. ADVANTAGES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The health insurance offers the payment of expenses for health care as a result of accident or maternity sickness.
+
+Thus, the following medical benefits are covered:
+-outpatient, hospitalization, maternity, ophthalmology, dentistry and chronic diseases.
+
+-conditions of prematurity are covered
+
+-MRI and other special tests are all covered
+
+-Indirect payment: the beneficiary pays his contribution while obtaining the medical service and the provider requests refund or difference to RDIANT INSURANCE COMPANY (applicable for options with co-payment)
+
+- All medical treatments and medications prescribed by a qualified and registered doctor and which has been authorized by the Ministry of Health. Our medical plan provides access to specialties and generic drugs.
+However, specialties must be prescribed by a medical specialist, except in case of emergency by prior authorization.
+
+-Coverage guarantees concern the insured staff, spouse and their dependent children up to age 21 and extended to 25 if the child is still a student.
+
+-Ambulance costs for emergency cases from one hospital to another and from an accident site to the hospital in the event of an accident on Burundian territory. The ambulance service will apply to sick insured persons who are to be treated in a designated hospital, from an area where necessary equipment does not exist, but without exceeding Bif 500,000 during the entire coverage period (and within the annual limit of the hospitalized)
+
+-Treatments in all partner hospitals in East African countries. The insured will go to an appropriate institution according to the partnership of the insurer. He will have to notify the insurer at least 3 days before to allow him to notify the insured persons designated by the insured (only for those who have extraterritorial coverage).
+
+-Treatments in India if necessary, based on a medical report from a specialist doctor attestating tha the same services can not be offerered in East African countries with the prior approval of RDIANT INSURANCE COMPANY.
+
+-The extension in East African countries is covered within the limit of coverage for dependents of the insured.
+
+-The refund will be based on the most expensive rate depending on the category in which you are insured locally.
+
+-Accommodation of a parent for children under 12 years old in the hospital. This will only apply to coverage abroad
+
+-The single room is covered
+
+-Automatic addition of a newborn and/or spouse without additional premium except card fees
+
+-Automatic addition of a new member with a prorated premium
+
+-Automatic deletion for the agent leaving the group and refund of 75% of the unutilized premium calculated
+
+-pro rata, if no medical service has been paid for him and his dependents
+
+-The issue of health insurance cards within 7 days of notification and/or proof of payment.
+
+-Health insurance cards carry a telephone number which the patient can call if necessary. There will also be a designated claims manager specifically in charge of ".$entetecp['nomClient'].".
+
+-The list of all RDIANT INSURANCE COMPANY partners is attached to this technical offer
+
+-The refund will be based on the most expensive rate depending on the category in which you are insured locally.
+For expenses paid to a provider who has no partnership with RDIANT INSURANCE COMPANY and which has not been terminated or suspended for fault or bad practice.
+
+-Maximum repayment period in case of direct payment where there is no partnership and after receipt of all required documents: 2 days
+
+-Joint management with the employer of cases of fraud
+
+-Funeral expenses in the event of the death on an insured member or his beneficiary are payable within 24 hours of receipt of the death notice to the employer or to the person he may designate.
+
+-The list of staff and reports of medical consumption will be provided monthly.
+
+-If the limit of the insured person is exceeded during the insurance period, RDIANT INSURANCE COMPANY may cover him without additional premium if the loss ratio of the ".$entetecp['nomClient']." Group is less than 60%.");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. B. REIMBURSEMENT OF CARE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("No medical act, device, operation or hospitalization is supported if it has not been ordered by a person holding a doctor’s degree, surgeon or dental surgeon.
+
+No act is taken in charge if it is not performed by a qualified person and in an establishment officially authorized by the Ministry of Health which, except in cases of major force, must be agreed by the insurer.
+
+The system of payment of benefits invoices is in principle the Third party paying by which the beneficiary of the insurance sickness only pays the agreed co-payment and the care provider is paid the balance of his bill by the insurer.
+
+The direct payment which consists in the fact that the insured person pays the entire bill for the medical services and is reimbursed by the insured is only used in exceptional circumstances.
+
+For this purpose, the service provider or the insured if applicable, must submit to the insurer the notes of fees or expenses and the orders paid, dated and mentioning the names and forenames of the insured concerned. The notes must indicate the nature and the date of the care given by distinguishing the cost of each of the acts performed.
+
+Prescriptions must clearly bear the name and surname of the insured and be accompanied by proof of payment of pharmaceutical products.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. C.EXTENT OF THE DISEASE GUARANTEE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("The coverage includes the insured person himself, his spouse and their legally dependent children under 21 or under 25 if they are still students.
+
+This coverage is also extended to staff who fall ill while on a work mission or on annual leave recognized by the contractor.
+
+In the latter case, the reimbursement will be made on the basis of the KIRA Hospital rate for members of the first category or the Reference Public Hospital for members of the other categories after deduction of the co-payment mentioned in the table of benefits and limits.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ // $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1. D.BENEFITS AND GUARANTEED RATE"),0,1,'L',false);
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Benefits and guaranteed rates are described, by category, in the tables below :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(100,$ht,convertirc("Type of provider"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Rate guarantee(%)"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Co-payment(%)"),1,1,'C',false);
+
+ $categorie = "";
+
+ foreach ($tableaupretationcps as $tableaupretationcp)
+ {
+ if($categorie!=$tableaupretationcp['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoinEng']),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false);
+ $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false);
+
+ $categorie = $tableaupretationcp['libelleCollege'];
+ }
+
+ $pdf->AddPage();
+ // $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("LIMITS PER FAMILY OR PER MEMBER"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(2);
+
+ $pdf->Cell(100,$ht,convertirc("Garantee"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Limit"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Per Ben."),1,1,'C',false);
+
+ $produit = "";
+
+ foreach ($garantiescollegecps as $garantiescollegecp)
+ {
+ if($produit!=$garantiescollegecp['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false);
+
+ $champApplication = ($garantiescollegecp['champApplication']=="1");
+
+ if($champApplication == TRUE)
+ $check = "4";
+ else
+ $check = "";
+
+ $pdf->SetFont('ZapfDingbats','', 9);
+ $pdf->Cell(20, $ht, $check,1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = $garantiescollegecp['libelleCollege'];
+ }
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.2. TERMINATION OF GUARANTEES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Collateral ceases collectively on the day of termination of the contract or on its due date and individually, on the day the insured person reaches the limit of coverage, leaves the contractor’s service, or dies.
+In case of proven fraud, the insurer reserves the right to cancel the insured concerned. All the benefits offered to the insured person must be canceled from the date we became aware of the fraud. Premiums paid are not refundable and the member will no longer be eligible as an insured person for future periods.");
+ $pdf->MultiCell(0, $ht, $text);
+
+
+ // $pdf->AddPage();
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION OF GUARANTEES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Collateral is suspended collectively if the premiums are not paid within THIRTY (30) days of the effective date of the policy and individually if the premiums are not paid immediately after the insured’s membership.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("Guarantees will resume immediately upon payment of all outstanding premiums at the time of suspens.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 5 : CONTRIBUTIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The guarantees defined above will be granted with :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Cell(50,$ht,convertirc("Insured type"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Basic premium"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Net premium"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Card"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Premium Ttc"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Tot Premium"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleCollege'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(170,$ht,convertirc($collegecp2['codeProduit']." : ".$collegecp2['libelleCollege']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 6: RENEWAL AND PREMIUM ADJUSTEMENT CLAUSE"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("One month before the expiry, a provisional renewal rider will be sent to the insured for payment of a deposit on the renewal.
+The premium defined above will be adjusted in accordance with the results of net premium claims (net of taxes and commissions of intermediaries) after the end of each financial year.
+To associate the insured with changes in consumptions, quarterly usage report will be regularly transmitted. ");
+ $pdf->MultiCell(0, $ht, $text);
+
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("Article 7: GENERAL EXCLUSIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("- Cosmetic treatment and cosmetic surgery
+- Injuries due to participation in games and dangerous activities
+- Injuries due to participation in strikes and riots
+- Fertility treatment, namely treatment costs related to infertility and impotence
+- Prophylactic treatment, dietary supplements
+-Ischemic heart disease
+- Intentional self-harm, suicide or the influence of alcohol or drugs
+- Skin cancers, in situ cancers and melanomas in situ (except malignant melanomas)
+- Air travel, unless the Member (having paid for the ticket) travels in an airplane designed to carry passengers
+- Cost of hearing aids, unless resulting from an accident
+- Nervous breakdown, psychoneurosis, unless it results from an accident");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 8: FINAL PROVISIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("When performing the acts, examinations or treatments of the insured, the health professional or the care establishment is the sole and sole responsible for complications, incidents or accidents that may occur in the practice of the medical art.
+In no event shall the Insurer's liability be invoked for matters that are the responsibility of the health professional or the health care facility.
+The contract will be established in two (2) copies and takes effect subject to the provisions of Article II of the PARTICULAR CONDITIONS, the ".$entetecp['dateEffet']);
+ $pdf->MultiCell(0, $ht, $text);
+
+ // DEBUT TEXTE LIBRE
+ if ($entetecp['texteCp']>" ")
+ {
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("ANNEXES TO THE PARTICULAR CONDITIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc($entetecp['texteCp']);
+
+ $pdf->MultiCell(0, $ht, $text);
+ }
+ // FIN TEXTE LIBRE
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BI', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Done at ".$_SESSION['villeSociete']." ".$entetecp['dateJour']."."),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("FOR RDIANT INSURANCE COMPANY"),0,0,'L',false);
+
+ $pdf->Cell(0,$ht,convertirc("FOR INSURED"),0,1,'R',false);
+
+ $pdf->Ln(20);
+
+ $pdf->Cell(0,$ht,convertirc("UNDERWRITTER"),0,1,'L',false);
+
+ $pdf->Ln(20);
+
+ $pdf->Cell(0,$ht,convertirc("EXECUTIVE MANAGEMENT"),0,1,'L',false);
+
+ $fichier="Temp/TMP_particuliars_conditions"."_".uniqid().".pdf";
+ $pdf->Output($fichier,"F");
+
+
+ $t_html ='
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedenregistrer.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedenregistrer.php
new file mode 100644
index 0000000..0bd006f
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedenregistrer.php
@@ -0,0 +1,33 @@
+requete->getParametre("codeProduit");
+ $libelleCollege = $this->requete->getParametre("libelleCollege");
+ $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique");
+ $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique");
+ $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique");
+ $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique");
+ $rachatTm = $this->requete->getParametre("rachatTm");
+ $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique");
+ $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique");
+ $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique");
+ $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique");
+ $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique");
+ $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond");
+ $numeroOptionTarif = $this->requete->getParametreFormulaire("numeroOptionTarif");
+
+ $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique");
+
+ $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit,
+ $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte,
+ $imposerPlafond, $numeroOptionTarif, $tauxPrimeFraisFuneraire);
+
+ if($this->requete->existeParametre("btn_recap"))
+ {
+ $this->rediriger("Creercolleged");
+ }
+ else
+ {
+ $this->college_temp->enregistrer($idCollegeTemp);
+ $this->rediriger("Fichedevis");
+ }
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedindex.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedindex.php
new file mode 100644
index 0000000..39158bc
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedindex.php
@@ -0,0 +1,18 @@
+college_temp->getCollegeTemp($idCollegeTemp);
+ $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp);
+ $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp);
+ $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp);
+
+ $tableau_prestations = $this->college_temp->getPrestation($idCollegeTemp);
+
+ $optionstarif = $this->college_temp->getoptionstarif($idPolice);
+
+ $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit,
+ 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles,
+ 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm, 'optionstarif' => $optionstarif,
+ 'tableau_prestations' => $tableau_prestations, 'ouinonimposerplafond' => $this->ouinonimposerplafond));
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedinitcollege.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedinitcollege.php
new file mode 100644
index 0000000..6a071d4
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegedinitcollege.php
@@ -0,0 +1,8 @@
+requete->getSession()->getAttribut('login');
+
+ $idCollegeTemp = $this->college_temp->initCollege($idPolice, $user);
+
+ $this->rediriger("Creercolleged");
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeenregistrer.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeenregistrer.php
new file mode 100644
index 0000000..df62264
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeenregistrer.php
@@ -0,0 +1,32 @@
+requete->getParametre("codeProduit");
+ $libelleCollege = $this->requete->getParametre("libelleCollege");
+ $nbAdherent = $this->requete->getParametreFormulaire("nbAdherent","numerique");
+ $nbAyantdroit = $this->requete->getParametreFormulaire("nbAyantdroit","numerique");
+ $primeFamille = $this->requete->getParametreFormulaire("primeFamille","numerique");
+ $surprimeAnt = $this->requete->getParametreFormulaire("surprimeAnt","numerique");
+ $rachatTm = $this->requete->getParametre("rachatTm");
+ $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique");
+ $tauxRachatTm = $this->requete->getParametreFormulaire("tauxRachatTm","numerique");
+ $tauxPrimeRachatTm = $this->requete->getParametreFormulaire("tauxPrimeRachatTm","numerique");
+ $cplFuneraire = $this->requete->getParametreFormulaire("cplFuneraire","numerique");
+ $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique");
+ $imposerPlafond = $this->requete->getParametreFormulaire("imposerPlafond");
+
+ $tauxPrimeFraisFuneraire = $this->requete->getParametreFormulaire("tauxPrimeFraisFuneraire","numerique");
+
+ $this->college_temp->recapituler($idCollegeTemp, $codeProduit, $libelleCollege, $nbAdherent, $nbAyantdroit,
+ $primeFamille, $surprimeAnt, $rachatTm, $cplFuneraire, $tauxRachatTm, $tauxPrimeRachatTm, $fraisCarte,
+ $imposerPlafond, $tauxPrimeFraisFuneraire);
+
+ if($this->requete->existeParametre("btn_recap"))
+ {
+ $this->rediriger("Creercollege");
+ }
+ else
+ {
+ $this->college_temp->enregistrer($idCollegeTemp);
+ $this->rediriger("Collegepolice");
+ }
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeindex.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeindex.php
new file mode 100644
index 0000000..3abfbca
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeindex.php
@@ -0,0 +1,16 @@
+college_temp->getCollegeTemp($idCollegeTemp);
+ $garantiesbase = $this->college_temp->getGarBaseCollege($idCollegeTemp);
+ $garoptionnelles = $this->college_temp->getGarOptCollege($idCollegeTemp);
+ $garoptacquises = $this->college_temp->getGarOptCollegeAcq($idCollegeTemp);
+
+ $tableau_prestations = $this->college_temp->getPrestation($idCollegeTemp);
+
+ $this->genererVue(array('collegeTemp' => $collegeTemp, 'produit' => $this->produit,
+ 'garantiesbase' => $garantiesbase, 'garoptionnelles' => $garoptionnelles,
+ 'garoptacquises' => $garoptacquises, 'rachattm' => $this->rachattm,
+ 'tableau_prestations' => $tableau_prestations, 'ouinonimposerplafond' => $this->ouinonimposerplafond));
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeinitcollege.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeinitcollege.php
new file mode 100644
index 0000000..22aaae4
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Creercollegeinitcollege.php
@@ -0,0 +1,8 @@
+requete->getSession()->getAttribut('login');
+
+ $idCollegeTemp = $this->college_temp->initCollege($idPolice, $user);
+
+ $this->rediriger("Creercollege");
+?>
\ No newline at end of file
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandard.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandard.php
new file mode 100644
index 0000000..f144f78
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandard.php
@@ -0,0 +1,691 @@
+police->getEnteteCP($idPolice);
+ $collegecps = $this->police->getCollegesCP($idPolice);
+ $collegecp2s = $this->police->getCollegesCP($idPolice);
+ $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice);
+ $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice);
+
+ $pdf = new FPDF();
+ $pdf->AliasNbPages();
+ $pdf->AddPage();
+
+ $ht=10;
+
+ $pdf->SetMargins(10, 10, 10) ;
+
+ $pdf->SetFont('Arial','B', 15);
+
+ $pdf->SetY(40);
+
+ $pdf->SetFillColor(135,206,250); // bleu
+
+ if($entetecp['codeTypeContrat'] == "G")
+ {
+ $pdf->Cell(0,$ht,convertirc("PROPOSITION DE CONTRAT - D'ASSURANCE SANTE"),1,1,'C',true);
+ }
+ else
+ {
+ $pdf->Cell(0,$ht,convertirc("PROPOSITION DE CONTRAT - D'ASSURANCE SANTE INDIVIDUEL"),1,1,'C',true);
+ }
+
+ $pdf->SetFont('');
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(45,$ht,convertirc("No DEVIS"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false);
+
+ $pdf->Cell(45,$ht,convertirc("CLIENT"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(45,$ht,convertirc("Dont le Siège Social est"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ // $pdf->Cell(0,$ht,convertirc("En qualité de PROSPECT "),0,0,'C',false);
+ // $pdf->Cell(0,$ht,convertirc("En qualité de CLIENT "),0,0,'C',false);
+ $pdf->Cell(0,$ht,convertirc("En qualité d'Assuré "),0,0,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Auprès de "),0,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false);
+
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(0,$ht,convertirc("En qualité d'ASSUREUR "),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Le futur contrat aura pour objet la garantie suivante :"),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','B', 13);
+ $pdf->Cell(0,$ht,convertirc("MALADIE - HOSPITALISATION - MATERNITE - OPHTALMOLOGIE - DENTISTERIE"),0,1,'C',false);
+
+
+ $pdf->AddPage();
+ $ht=6;
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc("DISPOSITIONS PARTICULIERES"),0,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false);
+
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Déclare souscrire aux conditions générales et dispositions spéciales du Contrat ");
+ $text .= convertirc("d'Assurance Maladie Groupe et celles particulières qui suivent, auprès de ".$_SESSION['nomSociete']);
+ $text .= convertirc(" en faveur des personnes à assurer, pour les Garanties et moyennant les Cotisations ci-après :");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 1 : PERSONNES A ASSURER"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les membres du Personnel de l'assuré âgés de plus de 18 ans et de moins de 70 ans à ");
+ $text .= convertirc("l'entrée dans l'assurance selon la répartition suivante :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(30,$ht,convertirc("Catégorie"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Nb Adh"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Nb Dép"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Adh"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Dép"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $oldnumeroOptionTarif = "0";
+
+ $nbAdherent = "0";
+ $nbAyantdroit = "0";
+ $primeTtcAdherent = "0";
+ $primeTtcBeneficiaire = "0";
+ $primeTtcTotal = "0";
+
+ $categorie = "0";
+
+ foreach ($collegecps as $collegecp)
+ {
+ $numeroOptionTarif = $collegecp['numeroOptionTarif'];
+
+ if ($oldnumeroOptionTarif<>$numeroOptionTarif && $oldnumeroOptionTarif <> "0")
+ {
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$oldnumeroOptionTarif),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($nbAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($nbAyantdroit),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false);
+
+ $nbAdherent = "0";
+ $nbAyantdroit = "0";
+ $primeTtcAdherent = "0";
+ $primeTtcBeneficiaire = "0";
+ $primeTtcTotal = "0";
+
+ $pdf->Ln(5);
+ }
+
+ if($categorie!=$collegecp['numeroOptionTarif'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($collegecp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Option ".$collegecp['numeroOptionTarif']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false);
+
+ $nbAdherent += $collegecp['nbAdherent'];
+ $nbAyantdroit += $collegecp['nbAyantdroit'];
+ $primeTtcAdherent += $collegecp['primeTtcAdherent'];
+ $primeTtcBeneficiaire += $collegecp['primeTtcBeneficiaire'];
+ $primeTtcTotal += $collegecp['primeTtcTotal'];
+
+ $oldnumeroOptionTarif = $numeroOptionTarif;
+ $categorie = $collegecp['numeroOptionTarif'];
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$numeroOptionTarif),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($nbAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($nbAyantdroit),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("En dehors de cette tranche d'âge la couverture fait l'objet d'un accord spécial entre le souscripteur et l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("A partir de 60 ans, un examen medical est obligatoire pour les assurés individuels.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 2 : PRISE D’EFFET ET MODE DE FONCTIONNEMENT DE MEDICOR"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Sous réserve d'acceptation par l'Assureur, les garanties prennent effet pour chaque personne à assurer : ");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("- Dès la date d'effet du contrat pour les personnes à assurer se trouvant déjà au service du Contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("- Directement après la date de leur admission au Service du Contractant pour les personnes engagées ");
+ $text .= convertirc("postérieurement à la date d'effet du contrat. Le Departement des Ressources Humaines du Contractant doit être en étroite collaboration avec ");
+ $text .= convertirc($_SESSION['nomSociete'] . ". Une prime calculée au prorata est payable immédiatement pour toute personne devenue Adhérent pendant la période de couverture.");
+ $pdf->MultiCell(0, $ht, $text);
+ $text = convertirc("- Ainsi, chaque assuré aura une carte d’assurance maladie qu’il va présenter aux prestataires de soins et ceux-ci vont vérifier à partir de ses empreintes digitales son identité et sa limite de couverture via l’application de MEDICOR. Cela va permettre aussi à l’assuré de voir en temps réel où il en est avec sa limite de couverture. ");
+ $pdf->MultiCell(0, $ht, $text);
+ $text = convertirc("- NB : Pour les assurés individuels, ils doivent attendre une période d’un mois avant de bénéficier de l’assurance santé ; exception faite des cas d’accident.
+Aussi, les assurés individuels doivent attendre une période de 10 mois avant de bénéficier de la couverture maternité. ");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ // $pdf->Ln(5);
+ $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("Article 3 : DUREE DU FUTUR CONTRAT"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Le contrat sera souscrit pour une durée d'une année à compter du ".$entetecp['dateEffet']." au ".$entetecp['dateEcheance']."
+Il sera renouvelable tacitement dans les conditions prévues à l'article 6 des présentes conditions particulières sauf résiliation avec un préavis de un mois avant son échéance.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+
+ $pdf->Cell(0,$ht,convertirc("Article 4 : DES GARANTIES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1.A. PRESTATIONS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("La garantie maladie offre le paiement des frais pour les soins de santé à la suite de maladie d'accident ou de maternité.
+Ainsi, sont prises en charge les prestations médicales suivantes :
+- Soins ambulatoires, hospitalisation , maternité (sauf pour les dépendants), ophtalmologie, dentisterie et maladies chroniques.
+- Les conditions de prématurité sont couvertes
+- L'IRM et d'autres tests spéciaux sont tous couverts
+- Paiement indirect : le bénéficiaire paie sa contribution pendant l'obtention du service médical et le prestataire demande
+le remboursement ou la différence à BICOR VIE ET CAPITALISATION (applicable pour les options avec ticket modérateur)
+- Tous les traitements médicaux et les médicaments doivent prescrits par un médecin diplômé et enregistré et qui a été autorisé par le Ministère de la Santé. Notre régime médical donne accès à des spécialités et à des médicaments génériques. Cependant, les spécialités doivent être prescrites par un médecin spécialiste, sauf en cas d'urgence par autorisation préalable
+- Les garanties de couverture concernent le personnel assuré; son conjoint ainsi que leurs enfants à charge jusqu'à 21 ans et prolongé jusqu'à 25 ans si l'enfant est encore étudiant
+- Frais d'Ambulance pour les cas d'urgence d'un hôpital à un autre et d'un lieu d'accident à l'hôpital en cas d'accident sur le territoire burundais. Le service ambulance s’appliquera aux assurés malades qui devont être traité dans un hôpital désigné, à partir d’une zone où les équipements indispensables n’existent pas, sans toutefois dépasser 500.000.FBu. durant toute la période de couverture (et dans la limite annuelle du patient hospitalisé).
+- Traitements dans tous les hôpitaux partenaires des pays d'Afrique de l'Est. L’assuré ira dans un établissement approprié selon le partenariat de l'assureur. Il devra aviser l’assureur au moins 3 jours avant afin de lui permettre d’aviser les prestatires désignés par l’assuré (seulement pour ceux qui ont une couverture extraterritoriale).
+- Traitement en Inde le cas échéant,sur base d’un rapport médical d’un medecin specialiste attestant que les mêmes services ne peuvent pas être offerts dans les pays de l’Afrique de l’Est avec l'approbation préalable de BICOR VIE ET CAPITALISATION
+- L'extension dans les pays d'Afrique de l'Est est couverte dans la limite de la couverture pour les personnes à charge de l'assuré. Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.
+- L'hébergement d'un parent pour les enfants de moins de 12 ans à l'hôpital, cela ne s'appliquera qu'à la couverture à l'étranger
+- La chambre individuelle est couverte
+- Ajout automatique d'un nouveau-né et/ou conjoint sans prime supplémentaire à l'exception des frais de carte
+- Ajout automatique d'un nouvel adhérent avec une prime calculée au prorata
+- Suppression automatique pour l'agent qui quitte le groupe et remboursement de 75% de la prime non consommée calculée au prorata, si aucun service médical n'a été payé pour lui et les personnes à sa charge
+- L'émission de cartes d'assurance maladie dans les 7 jours suivant la notification et/ou preuve de paiement.
+- Les cartes d'assurance maladie portent un numéro de téléphone que le patient peut appeler si nécessaire. Il y aura également un gestionnaire de sinistre désigné spécifiquement en charge de l'assuré.
+- La liste de tous les partenaires de BICOR VIE ET CAPITALISATION est jointe à cette offre technique
+- Le remboursement sera basé sur le tarif le plus cher selon la catégorie dans laquelle vous êtes assuré localement.pour les frais déboursés chez un prestataire qui n'a pas de partenariat avec BICOR VIE ET CAPITALISATION et qui n'a pas été résilié ou suspendu pour faute ou mauvaises pratiques.
+- Délai maximum de remboursement en cas de paiement direct là où il n y a pas de partenariat et après réception de tous les documents requis : 2 jours
+- Gestion commune avec l'employeur des cas de fraudes
+- Les frais funéraires en cas de décès d'un membre assuré ou son bénéficiaire sont payables endeans 24 heures suivant la réception de l'avis de décès à l'Employeur ou à la personne qu'il peut désigner.
+- La liste du personnel ainsi que les rapports de consommations médicales seront fournis mensuellement.
+- En cas de dépassement des limites de l'assuré au cours de la période d'assurance, BICOR VIE ET CAPITALISATION peut le couvrir sans prime supplémentaire si le taux de sinistralité du groupe est inférieur à 60%.");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. B. REMBOURSEMENT DES SOINS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Aucun acte médical, appareil, opération ou hospitalisation, n'est pris en charge s'il n'a été ordonné par une personne titulaire d'un diplôme de médecin, chirurgien ou chirurgien - dentiste.
+Aucun acte n'est pris en charge s'il n'est exécuté par une personne qualifiée et dans un établissement officiellement autorisé par le Ministère de la santé qui, sauf cas de force majeure, doit être conventionné par l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Le système de règlement des factures des prestations est en principe le Tiers payant par lequel le bénéficiaire de l'assurance maladie ne paie que le ticket modérateur convenu et le prestataire des soins se fait payer le solde de sa facture par l'Assureur.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Le payement direct qui consiste à ce que l'assuré paie la totalité de la facture des prestations médicales et se fait rembourser chez l'Assureur n'est utilisé qu'à titre exceptionnel.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("A cet effet, le prestataire ou l'assuré le cas échéant, devra remettre à l'Assureur les notes d'honoraires ou de frais et les ordonnances acquittées, datées et mentionnant les noms et prénoms de l'Assuré qu'elles concernent.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les notes doivent indiquer la nature et la date des soins donnés en distinguant le coût de chacun des actes pratiqués.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les ordonnances doivent porter lisiblement les noms et prénoms de l'assuré et s'accompagner des justificatifs de payement des produits pharmaceutiques.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. C.ETENDUE DE LA GARANTIE MALADIE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("La garantie englobe la personne assurée elle-même, son conjoint ainsi que leurs enfants légalement à charge de moins de 21 ans ou de moins de 25 ans s'ils sont encore étudiants.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ // $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1. D.PRESTATIONS ET TAUX GARANTIS"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Les prestations et les taux garantis sont décrits, selon la catégorie, dans le tableaux ci-dessous :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(100,$ht,convertirc("Type de Prestataire"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Taux Garantie(%)"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Ticket Modérateur(%)"),1,1,'C',false);
+
+ $categorie = "";
+
+ foreach ($tableaupretationcps as $tableaupretationcp)
+ {
+ if($categorie!=$tableaupretationcp['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoin']),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false);
+ $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false);
+
+ $categorie = $tableaupretationcp['libelleComplet'];
+ }
+
+ $pdf->AddPage();
+ // $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("PLAFONDS ANNUELS PAR FAMILLE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(2);
+
+ $pdf->Cell(100,$ht,convertirc("Garantie"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Plafond"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Par Bén."),1,1,'C',false);
+
+ $produit = "";
+
+ foreach ($garantiescollegecps as $garantiescollegecp)
+ {
+ if($produit!=$garantiescollegecp['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantie']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false);
+
+ $champApplication = ($garantiescollegecp['champApplication']=="1");
+
+ if($champApplication == TRUE)
+ $check = "4";
+ else
+ $check = "";
+
+ $pdf->SetFont('ZapfDingbats','', 9);
+ $pdf->Cell(20, $ht, $check,1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = $garantiescollegecp['libelleComplet'];
+ }
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.2. CESSATION DES GARANTIES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties cessent collectivement le jour de la résiliation du contrat ou de l’echeance de celui-ci et individuellement, le jour où la personne assurée atteint la limite de couverture, quitte le service du Contractant, ou décède.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+ $text = convertirc("En cas de fraude avérée, l'Assureur se réserve le droit de radier l'assuré concerné. L'ensemble des garanties offertes à la personne Assurée doivent être annulées à partir de la date où nous avons eu connaissance de la fraude. Les primes payées ne sont pas remboursables et le Membre ne sera plus admissible comme personne assurée pour les périodes futures.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ // $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION DES GARANTIES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties sont suspendues collectivement si les primes ne sont pas payées dans les TRENTE (30) jours à partir de la prise d'effet du contrat et individuellement si les primes ne sont pas payées immédiatement après l'adhésion de l'assuré.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("Les garanties reprendront effet immédiatement après le paiement de la totalité des primes en souffrance au moment de la suspension.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 5 : COTISATIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Les garanties définies ci-dessus seront accordées moyennant des cotisations de :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ /*
+ if($entetecp['commission']>"0")
+ {
+ $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false);
+ $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['taxeBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ }
+ else
+ {
+ */
+ $pdf->Cell(50,$ht,convertirc("Type assuré"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("P. Base"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("P. Nette"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Carte"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Prime Ttc"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ // $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false);
+ $pdf->Cell(170,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+ // }
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 6 : RENOUVELEMENT ET CLAUSE D'AJUSTEMENT"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Un mois avant l'échéance, un avenant provisionnel de renouvellement sera envoyé à l’assuré pour le règlement d'un acompte sur le renouvellement.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $text = convertirc("La prime définie ci-dessus fera l'objet dans les conditions ci-après d'un ajustement en fonction des résultats de Sinistres sur primes nettes(déduction faite des taxes et commissions des intermédiaires) après la clôture de chaque exercice.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Pour associer l’assuré à l'évolution des consommations, un rapport d’utilisation trimestriel lui sera régulièrement transmis.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 7: EXCLUSIONS GENERALES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("- Traitement cosmétique et chirurgie esthétique
+- Blessures dues à la participation aux jeux et activités dangereuses
+- Blessures dues à la participation aux greves et émeutes
+- Traitement de fécondité à savoir les frais de traitement liés à la stérilité et à l'impuissance
+- Traitement prophylactique, les compléments alimentaires
+- Cardiopathie ischemique
+- Automutilation intentionnelle,suicide ou influence de l'alcool ou de la drogue
+- Cancers de la peau,cancers in situ et mélanomes in situ (sauf les melanones malins)
+- Les voyages en avion, sauf si le Membre (ayant payé le billet) voyage dans un avion conçu pour transporter des passagers
+- Coût d'appareils auditifs, à moins qu’il résulte d’un accident
+- Dépression nerveuse, psychonévrose, à moins qu'il ne résulte d'un accident
+- Frais recouvrables en vertu de la Loi sur l’Indemnisation des Accidents du Travail ou les services publics de santé, y compris les régimes d’indemnisation de l'INSS ou tout autre régime sauf sur demande préalable de l’assuré et moyennant une prime correspondante");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 8 : DISPOSITIONS FINALES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Lors de l'exécution des actes, examens ou traitements des assurés, le professionnel de santé ou l'établissement de soins est seul et unique responsable des complications, incidents ou accidents pouvant survenir dans la pratique de l'art médical.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("En aucun cas, la responsabilité de l'Assureur ne pourra être invoquée pour des faits relevant de la responsabilité du professionnel de santé ou de l'établissement de soins.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Le contrat sera établi en deux (2) exemplaires et prend effet sous réserve des dispositions de l'Article II des CONDITIONS PARTICULIERES, le ".$entetecp['dateEffet']);
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ // DEBUT TEXTE LIBRE
+ if ($entetecp['texteCp']>" ")
+ {
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("ANNEXES AUX CONDITIONS PARTICULIERES"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc($entetecp['texteCp']);
+
+ $pdf->MultiCell(0, $ht, $text);
+ }
+ // FIN TEXTE LIBRE
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BI', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Fait à ".$_SESSION['villeSociete'].", le ".$entetecp['dateJour']),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("POUR BICOR VIE ET CAPITALISATION"),0,0,'L',false);
+
+ $pdf->Cell(0,$ht,convertirc("POUR L’ASSURE"),0,1,'R',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("LE PRODUCTEUR"),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("LA DIRECTION"),0,1,'L',false);
+
+ $fichier="Temp/TMP_devis"."_".uniqid().".pdf";
+ $pdf->Output($fichier,"F");
+
+
+ $t_html ='
diff --git a/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandardeng.php b/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandardeng.php
new file mode 100644
index 0000000..7169a1e
--- /dev/null
+++ b/Societes/radiant/Tarifs/Controleur_2024_10_31/Devisstandardeng.php
@@ -0,0 +1,678 @@
+police->getEnteteCP($idPolice);
+ $collegecps = $this->police->getCollegesCP($idPolice);
+ $collegecp2s = $this->police->getCollegesCP($idPolice);
+ $garantiescollegecps = $this->police->getGarantiesCollegesCP($idPolice);
+ $tableaupretationcps = $this->police->gettableauPrestationsCP($idPolice);
+
+ $pdf = new FPDF();
+ $pdf->AliasNbPages();
+ $pdf->AddPage();
+
+ $ht=10;
+
+ $pdf->SetMargins(10, 10, 10) ;
+
+ $pdf->SetFont('Arial','B', 15);
+
+ $pdf->SetY(40);
+
+ $pdf->SetFillColor(135,206,250); // bleu
+
+ $pdf->Cell(0,$ht,convertirc("MEDICOR PROPOSAL – HEALTH INSURANCE"),1,1,'C',true);
+
+ $pdf->SetFont('');
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(45,$ht,convertirc("No Quotation"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['numeroPolice']),0,1,'L',false);
+
+ $pdf->Cell(45,$ht,convertirc("CLIENT"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['nomClient']),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Cell(45,$ht,convertirc("Headquarter"),0,0,'L',false);
+ $pdf->Cell(0,$ht,convertirc(": ".$entetecp['adresseGeo']),0,1,'L',false);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("As Insured"),0,0,'C',false);
+
+ $pdf->SetFont('Arial','', 10);
+
+ $pdf->Ln(15);
+
+ $pdf->Cell(0,$ht,convertirc("Near "),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomSociete']),0,1,'C',false);
+
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','', 10);
+ $pdf->Cell(0,$ht,convertirc("The future contract will cover the following guarantees :"),0,1,'C',false);
+
+ $pdf->Ln(15);
+
+ $pdf->SetFont('Arial','B', 13);
+ $pdf->Cell(0,$ht,convertirc("DISEASE-HOSPITALIZATION-MATERNITY-OPHTHALOMOLOGY-DENTAL"),0,1,'C',false);
+
+
+ $pdf->AddPage();
+ $ht=6;
+
+ $pdf->SetFont('Arial','B', 15);
+ $pdf->Cell(0,$ht,convertirc("PARTICULAR DISPOSITIONS"),0,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc($entetecp['nomClient']),0,1,'L',false);
+
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Declares to subscribe to the general terms and conditions and special provisions of the Group Heath Insurance Agreement and the following particulars with ".$entetecp['nomSociete']." for the persons to be insured, for the guarantees and for the following contribution :");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 1 : PEOPLE TO BE ASSURED"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Staff members of the insured person over the age of 18 and under 65 at the time of entry into the insurance according to the following breakdown:");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(30,$ht,convertirc("Category"),1,0,'C',false);
+ $pdf->Cell(25,$ht,convertirc("Nb members"),1,0,'C',false);
+ $pdf->Cell(25,$ht,convertirc("Nb Dep"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Premium member"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Premium Dep"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Tot premium"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $oldnumeroOptionTarif = "0";
+
+ $nbAdherent = "0";
+ $nbAyantdroit = "0";
+ $primeTtcAdherent = "0";
+ $primeTtcBeneficiaire = "0";
+ $primeTtcTotal = "0";
+
+ $categorie = "0";
+
+ foreach ($collegecps as $collegecp)
+ {
+ $numeroOptionTarif = $collegecp['numeroOptionTarif'];
+
+ if ($oldnumeroOptionTarif<>$numeroOptionTarif && $oldnumeroOptionTarif <> "0")
+ {
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Total : Option ".$oldnumeroOptionTarif),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($nbAdherent),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($nbAyantdroit),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($primeTtcAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false);
+
+ $nbAdherent = "0";
+ $nbAyantdroit = "0";
+ $primeTtcAdherent = "0";
+ $primeTtcBeneficiaire = "0";
+ $primeTtcTotal = "0";
+
+ $pdf->Ln(5);
+ }
+
+ if($categorie!=$collegecp['numeroOptionTarif'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($collegecp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Option ".$collegecp['numeroOptionTarif']),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($collegecp['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($collegecp['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($collegecp['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp['primeTtcTotal']),1,1,'C',false);
+
+ $nbAdherent += $collegecp['nbAdherent'];
+ $nbAyantdroit += $collegecp['nbAyantdroit'];
+ $primeTtcAdherent += $collegecp['primeTtcAdherent'];
+ $primeTtcBeneficiaire += $collegecp['primeTtcBeneficiaire'];
+ $primeTtcTotal += $collegecp['primeTtcTotal'];
+
+ $oldnumeroOptionTarif = $numeroOptionTarif;
+ $categorie = $collegecp['numeroOptionTarif'];
+ }
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Totaux : Option ".$numeroOptionTarif),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($nbAdherent),1,0,'C',false);
+ $pdf->Cell(25,$ht,format_N($nbAyantdroit),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($primeTtcAdherent),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcBeneficiaire),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($primeTtcTotal),1,1,'C',false);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','', 9);
+ $text = convertirc("Outside this age group the cover is the subject of a special agreement between the subscriber and the Insurer.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("From the age of 60, a medical examination is compulsory for individual insured persons.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 2: TAKING EFFECT AND MODE OF OPERATION OF MEDICOR"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Subject to acceptance by the Insurer, the benefits take effect for each person to be insured:
+- From the effective date of the contract for persons to be insured who are already in the Contractor's service.
+- Directly after the date of their admission to the Contractor's Department for persons hired after the effective date of the contract. The Contractor's Human Resources Department must be in close collaboration with BICOR LIFE AND CAPITALIZATION. A prorated premium is payable immediately to any person who becomes a Member during the period of coverage.
+- Thus, each insured will have a health insurance card that he will present to health care providers and they will verify from his fingerprints his identity and coverage limit via the application of MEDICOR. This will also allow the insured to see in real time where he is with his limit of coverage.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ // $pdf->Ln(5);
+ $pdf->AddPage();
+
+ $pdf->Cell(0,$ht,convertirc("Article 3: DURATION OF THE FUTURE CONTRACT"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The contract will be signed for a period of one year from ".$entetecp['dateEffet']." to ".$entetecp['dateEcheance'].".
+It will be tacitly renewable under the conditions set out in article 6 of these special conditions, unless terminated with one month’s notice before its expiry.
+No obligation to renew the contract is incubent upon the parties. BICOR VIE ET CAPITALISATION reserves the right to refuse or restrict the terms of coverage for all Members or any Member by granting the insured person a notice period of one month in accordance with the conditions set out in article 6 of these special conditions.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("Article 4 : BENEFITS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1.A. ADVANTAGES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The health insurance offers the payment of expenses for health care as a result of accident or maternity sickness.
+
+Thus, the following medical benefits are covered:
+-outpatient, hospitalization, maternity, ophthalmology, dentistry and chronic diseases.
+
+-conditions of prematurity are covered
+
+-MRI and other special tests are all covered
+
+-Indirect payment: the beneficiary pays his contribution while obtaining the medical service and the provider requests refund or difference to BICOR VIE ET CAPITALISATION (applicable for options with co-payment)
+
+- All medical treatments and medications prescribed by a qualified and registered doctor and which has been authorized by the Ministry of Health. Our medical plan provides access to specialties and generic drugs.
+However, specialties must be prescribed by a medical specialist, except in case of emergency by prior authorization.
+
+-Coverage guarantees concern the insured staff, spouse and their dependent children up to age 21 and extended to 25 if the child is still a student.
+
+-Ambulance costs for emergency cases from one hospital to another and from an accident site to the hospital in the event of an accident on Burundian territory. The ambulance service will apply to sick insured persons who are to be treated in a designated hospital, from an area where necessary equipment does not exist, but without exceeding Bif 500,000 during the entire coverage period (and within the annual limit of the hospitalized)
+
+-Treatments in all partner hospitals in East African countries. The insured will go to an appropriate institution according to the partnership of the insurer. He will have to notify the insurer at least 3 days before to allow him to notify the insured persons designated by the insured (only for those who have extraterritorial coverage).
+
+-Treatments in India if necessary, based on a medical report from a specialist doctor attestating tha the same services can not be offerered in East African countries with the prior approval of BICOR VIE ET CAPITALISATION.
+
+-The extension in East African countries is covered within the limit of coverage for dependents of the insured.
+
+-The refund will be based on the most expensive rate depending on the category in which you are insured locally.
+
+-Accommodation of a parent for children under 12 years old in the hospital. This will only apply to coverage abroad
+
+-The single room is covered
+
+-Automatic addition of a newborn and/or spouse without additional premium except card fees
+
+-Automatic addition of a new member with a prorated premium
+
+-Automatic deletion for the agent leaving the group and refund of 75% of the unutilized premium calculated
+
+-pro rata, if no medical service has been paid for him and his dependents
+
+-The issue of health insurance cards within 7 days of notification and/or proof of payment.
+
+-Health insurance cards carry a telephone number which the patient can call if necessary. There will also be a designated claims manager specifically in charge of ".$entetecp['nomClient'].".
+
+-The list of all BICOR VIE ET CAPITALISATION partners is attached to this technical offer
+
+-The refund will be based on the most expensive rate depending on the category in which you are insured locally.
+For expenses paid to a provider who has no partnership with BICOR VIE ET CAPITALISATION and which has not been terminated or suspended for fault or bad practice.
+
+-Maximum repayment period in case of direct payment where there is no partnership and after receipt of all required documents: 2 days
+
+-Joint management with the employer of cases of fraud
+
+-Funeral expenses in the event of the death on an insured member or his beneficiary are payable within 24 hours of receipt of the death notice to the employer or to the person he may designate.
+
+-The list of staff and reports of medical consumption will be provided monthly.
+
+-If the limit of the insured person is exceeded during the insurance period, BICOR VIE ET CAPITALISATION may cover him without additional premium if the loss ratio of the ".$entetecp['nomClient']." Group is less than 60%.");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. B. REIMBURSEMENT OF CARE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("No medical act, device, operation or hospitalization is supported if it has not been ordered by a person holding a doctor’s degree, surgeon or dental surgeon.
+
+No act is taken in charge if it is not performed by a qualified person and in an establishment officially authorized by the Ministry of Health which, except in cases of major force, must be agreed by the insurer.
+
+The system of payment of benefits invoices is in principle the Third party paying by which the beneficiary of the insurance sickness only pays the agreed co-payment and the care provider is paid the balance of his bill by the insurer.
+
+The direct payment which consists in the fact that the insured person pays the entire bill for the medical services and is reimbursed by the insured is only used in exceptional circumstances.
+
+For this purpose, the service provider or the insured if applicable, must submit to the insurer the notes of fees or expenses and the orders paid, dated and mentioning the names and forenames of the insured concerned. The notes must indicate the nature and the date of the care given by distinguishing the cost of each of the acts performed.
+
+Prescriptions must clearly bear the name and surname of the insured and be accompanied by proof of payment of pharmaceutical products.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("4.1. C.EXTENT OF THE DISEASE GUARANTEE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("The coverage includes the insured person himself, his spouse and their legally dependent children under 21 or under 25 if they are still students.
+
+This coverage is also extended to staff who fall ill while on a work mission or on annual leave recognized by the contractor.
+
+In the latter case, the reimbursement will be made on the basis of the KIRA Hospital rate for members of the first category or the Reference Public Hospital for members of the other categories after deduction of the co-payment mentioned in the table of benefits and limits.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Cette couverture est également étendue au personnel qui tomberait malade à l'étranger étant en mission de travail ou en congé annuel reconnu par le contractant.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Dans ce dernier cas, le remboursement se fera sur base du tarif de l'Hôpital privé du BURUNDI pour les adhérents de la première catégorie ou de l'Hôpital Public de référence du BURUNDI pour les adhérents des autres catégories après déduction du ticket modérateur mentionné dans le tableau des prestations et plafonds.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ // $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("4.1. D.BENEFITS AND GUARANTEED RATE"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->Ln(2);
+
+ $text = convertirc("Benefits and guaranteed rates are described, by category, in the tables below :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(100,$ht,convertirc("Type of provider"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Rate guarantee(%)"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Co-payment(%)"),1,1,'C',false);
+
+ $categorie = "";
+
+ foreach ($tableaupretationcps as $tableaupretationcp)
+ {
+ if($categorie!=$tableaupretationcp['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(180,$ht,convertirc($tableaupretationcp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($tableaupretationcp['reseausoinEng']),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("100"-$tableaupretationcp['tm']),1,0,'C',false);
+ $pdf->Cell(40,$ht,$tableaupretationcp['tm'],1,1,'C',false);
+
+ $categorie = $tableaupretationcp['libelleComplet'];
+ }
+
+ $pdf->AddPage();
+ // $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(0,$ht,convertirc("LIMITS PER FAMILY OR PER MEMBER"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Ln(2);
+
+ $pdf->Cell(100,$ht,convertirc("Garantee"),1,0,'C',false);
+ $pdf->Cell(40,$ht,convertirc("Limit"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Per Ben."),1,1,'C',false);
+
+ $produit = "";
+
+ foreach ($garantiescollegecps as $garantiescollegecp)
+ {
+ if($produit!=$garantiescollegecp['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(160,$ht,convertirc($garantiescollegecp['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+ $pdf->Cell(100,$ht,convertirc($garantiescollegecp['garantieEng']),1,0,'C',false);
+ $pdf->Cell(40,$ht,format_N($garantiescollegecp['plafond']),1,0,'C',false);
+
+ $champApplication = ($garantiescollegecp['champApplication']=="1");
+
+ if($champApplication == TRUE)
+ $check = "4";
+ else
+ $check = "";
+
+ $pdf->SetFont('ZapfDingbats','', 9);
+ $pdf->Cell(20, $ht, $check,1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = $garantiescollegecp['libelleComplet'];
+ }
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.2. TERMINATION OF GUARANTEES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Collateral ceases collectively on the day of termination of the contract or on its due date and individually, on the day the insured person reaches the limit of coverage, leaves the contractor’s service, or dies.
+In case of proven fraud, the insurer reserves the right to cancel the insured concerned. All the benefits offered to the insured person must be canceled from the date we became aware of the fraud. Premiums paid are not refundable and the member will no longer be eligible as an insured person for future periods.");
+ $pdf->MultiCell(0, $ht, $text);
+
+
+ // $pdf->AddPage();
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("4.3. SUSPENSION OF GUARANTEES"),0,1,'L',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("Collateral is suspended collectively if the premiums are not paid within THIRTY (30) days of the effective date of the policy and individually if the premiums are not paid immediately after the insured’s membership.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $text = convertirc("Guarantees will resume immediately upon payment of all outstanding premiums at the time of suspens.");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 5 : CONTRIBUTIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("The guarantees defined above will be granted with :");
+
+ $pdf->MultiCell(0, $ht, $text);
+
+ /*
+ if($entetecp['commission']>"0")
+ {
+ $pdf->Cell(30,$ht,convertirc("Type assuré"),1,0,'C',false);
+ $pdf->Cell(10,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Base"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Commis°"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Acces"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("P. Nette"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Carte"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Prime Ttc"),1,0,'C',false);
+ $pdf->Cell(30,$ht,convertirc("Prime Tot"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(190,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(30,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNette']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commission']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['accessoire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(30,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeNetteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['commissionBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['taxeBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(30,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(10,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ }
+ else
+ {
+ */
+ $pdf->Cell(50,$ht,convertirc("Insured type"),1,0,'C',false);
+ $pdf->Cell(20,$ht,convertirc("Nb"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Basic premium"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Net premium"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Card"),1,0,'C',false);
+ // $pdf->Cell(30,$ht,convertirc("Premium Ttc"),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc("Tot Premium"),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $produit = "";
+
+ foreach ($collegecp2s as $collegecp2)
+ {
+ if($produit!=$collegecp2['libelleComplet'])
+ {
+ $pdf->SetFont('Arial','BU', 10);
+ $pdf->Cell(170,$ht,convertirc($collegecp2['libelleComplet']),1,1,'C',false);
+ $pdf->SetFont('Arial','', 9);
+ }
+
+ $pdf->Cell(50,$ht,convertirc(_('Adhérent')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeFamille']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHt']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarte']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcAdherent']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcAdherent_total']),1,1,'C',false);
+
+ $pdf->Cell(50,$ht,convertirc(_('Dépendant')),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAyantdroit']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeHtBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['fraisCarteBeneficiaire']),1,0,'C',false);
+ // $pdf->Cell(30,$ht,format_N($collegecp2['primeTtcBeneficiaire']),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcBeneficiaire_total']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','B', 9);
+
+ $pdf->Cell(50,$ht,convertirc("Total"),1,0,'C',false);
+ $pdf->Cell(20,$ht,format_N($collegecp2['nbAssure']),1,0,'C',false);
+ // $pdf->Cell(120,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,convertirc(""),1,0,'C',false);
+ $pdf->Cell(50,$ht,format_N($collegecp2['primeTtcTotal']),1,1,'C',false);
+
+ $pdf->SetFont('Arial','', 9);
+ }
+ // }
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 6: RENEWAL AND PREMIUM ADJUSTEMENT CLAUSE"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("One month before the expiry, a provisional renewal rider will be sent to the insured for payment of a deposit on the renewal.
+The premium defined above will be adjusted in accordance with the results of net premium claims (net of taxes and commissions of intermediaries) after the end of each financial year.
+To associate the insured with changes in consumptions, quarterly usage report will be regularly transmitted. ");
+ $pdf->MultiCell(0, $ht, $text);
+
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+ $pdf->Cell(0,$ht,convertirc("Article 7: GENERAL EXCLUSIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("- Cosmetic treatment and cosmetic surgery
+- Injuries due to participation in games and dangerous activities
+- Injuries due to participation in strikes and riots
+- Fertility treatment, namely treatment costs related to infertility and impotence
+- Prophylactic treatment, dietary supplements
+-Ischemic heart disease
+- Intentional self-harm, suicide or the influence of alcohol or drugs
+- Skin cancers, in situ cancers and melanomas in situ (except malignant melanomas)
+- Air travel, unless the Member (having paid for the ticket) travels in an airplane designed to carry passengers
+- Cost of hearing aids, unless resulting from an accident
+- Nervous breakdown, psychoneurosis, unless it results from an accident");
+ $pdf->MultiCell(0, $ht, $text);
+
+ $pdf->Ln(5);
+
+ $pdf->SetFont('Arial','B', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Article 8: FINAL PROVISIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc("When performing the acts, examinations or treatments of the insured, the health professional or the care establishment is the sole and sole responsible for complications, incidents or accidents that may occur in the practice of the medical art.
+In no event shall the Insurer's liability be invoked for matters that are the responsibility of the health professional or the health care facility.
+The contract will be established in two (2) copies and takes effect subject to the provisions of Article II of the PARTICULAR CONDITIONS, the ".$entetecp['dateEffet']);
+ $pdf->MultiCell(0, $ht, $text);
+
+ // DEBUT TEXTE LIBRE
+ if ($entetecp['texteCp']>" ")
+ {
+ $pdf->AddPage();
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("ANNEXES TO THE PARTICULAR CONDITIONS"),0,1,'L',false);
+
+ $pdf->Ln(2);
+
+ $pdf->SetFont('Arial','', 9);
+
+ $text = convertirc($entetecp['texteCp']);
+
+ $pdf->MultiCell(0, $ht, $text);
+ }
+ // FIN TEXTE LIBRE
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BI', 10);
+
+ $pdf->Cell(0,$ht,convertirc("Done at ".$_SESSION['villeSociete']." ".$entetecp['dateJour']."."),0,1,'C',false);
+
+ $pdf->Ln(10);
+
+ $pdf->SetFont('Arial','BU', 10);
+
+ $pdf->Cell(0,$ht,convertirc("FOR BICOR VIE ET CAPITALISATION"),0,0,'L',false);
+
+ $pdf->Cell(0,$ht,convertirc("FOR INSURED"),0,1,'R',false);
+
+ $pdf->Ln(20);
+
+ $pdf->Cell(0,$ht,convertirc("UNDERWRITTER"),0,1,'L',false);
+
+ $pdf->Ln(20);
+
+ $pdf->Cell(0,$ht,convertirc("EXECUTIVE MANAGEMENT"),0,1,'L',false);
+
+ $fichier="Temp/TMP_proposal"."_".uniqid().".pdf";
+ $pdf->Output($fichier,"F");
+
+
+ $t_html ='
\ No newline at end of file
diff --git a/Vue/Ajaxproraterprime/index.php b/Vue/Ajaxproraterprime/index.php
new file mode 100644
index 0000000..db1b2bc
--- /dev/null
+++ b/Vue/Ajaxproraterprime/index.php
@@ -0,0 +1,93 @@
+