radiantrh/Societes/radiant/Tarifs/Controleur/Devisstandardeng.php
2025-12-30 10:55:06 +00:00

682 lines
28 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$idPolice = $_SESSION['idPolice_d_C'];
$entetecp = $this->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 months 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 doctors 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 contractors 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 insureds 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 =' <div id ="div_export_a" class="alert alert-info"> ';
$t_html .=' <a style="font-size:15pt;" href="'.$fichier.'" target="_blank" > TELECHARGER </a> ';
$t_html .=' </div ';
echo $t_html;
?>