AddFont('newyorktimes', 'newyorktimes', 'newyorktimes.php'); $html2pdf->setDefaultFont('newyorktimes'); class ControleurAjaxetatpersopdf extends Controleurrequete { private $requetesperso; public function __construct() { $this->requetesperso = new Requetesperso(); $this->detailsp = new Statistique(); } public function index() { $paramrequetes = $this->requete->getParametreDonnees(); $codeGcAssureur = $_SESSION['codeGcAssureurStat']; // $idPolice = $this->requete->getParametreFormulaire("idPolice"); $outputString = substr($paramrequetes['p_idBenef'], 0, 10); // $paramrequetes['p_idBenef'] = preg_replace('/[^0-9]/', '', $outputString); if($idPolice_C=='' || $idPolice_C=='22' ){ $idPolice_C = NULL; } if($codeGcAssureur=='AUC'){ $codeGcAssureur = NULL; } // $paramrequetes['p_idPolice'] = $idPolice_C; // $paramrequetes['p_garant'] = $codeGcAssureur; $codeRequete = $_SESSION['codeRequete']; if (isset( $paramrequetes['idPolice']) && ($paramrequetes['idPolice']=='0' ||$paramrequetes['idPolice']=='22'|| $paramrequetes['idPolice']=='')){ $paramrequetes['idPolice'] = NULL; } if($paramrequetes['codeGcAssureur']=='0' ||$paramrequetes['codeGcAssureur']=='AUC'){ $paramrequetes['codeGcAssureur'] = NULL; } if($paramrequetes['p_idClient']=='0'){ $paramrequetes['p_idClient'] = NULL; } if($paramrequetes['p_idClient']=='0'){ $paramrequetes['p_idClient'] = NULL; } if($paramrequetes['p_idCollege']=='0'){ $paramrequetes['p_idCollege'] = NULL; } if($paramrequetes['p_matricule']=='0'){ $paramrequetes['p_matricule'] = NULL; } if($paramrequetes['p_idBenef']=='0'){ $paramrequetes['p_idBenef'] = NULL; } if($paramrequetes['p_idAdherent']=='0'){ $paramrequetes['p_idAdherent'] = NULL; } //highlight_string(""); //die(); //highlight_string(""); //die(); $donnees = $this->requetesperso->executerrequeteperso($paramrequetes); $p_garant =""; $p_id_clients=""; $p_id= ""; $p_id_college= ""; $p_debutStat= ""; $p_finStat= ""; $recapcolleges = array(); //highlight_string(""); //highlight_string(""); $nbLignes = count($donnees); switch($codeRequete){ ///////////////////////////////////////////////////////////////////////////////////////// ////////////// case "vitalis0001": //highlight_string(""); $p_mois = $paramrequetes['p_codeMois']; $p_annee = $paramrequetes['p_codeExercice']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Décomptes périodique par prestataire Edition du :
VitalisSanté
DECOMPTES PERIODIQUES PAR PRESTATAIRE, PAR POLICE et PAR GARANT

VITALIS

PERIODE COMPTABLE CONSIDEREE

Prestataire Police Garant Montant A payer Total Montant Payé Total
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0002": //highlight_string(""); $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Récapitulatif des depenses Edition du :
VitalisSanté
RECAPITULATIF DES DEPENSES PAR PRESTATAIRE,PAR POLICE ET PAR GARANT

VITALIS

PERIODE COMPTABLE CONSIDEREE

Prestataire Police Garant Nombre de Factures Montant A payer
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0003": //highlight_string(""); $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Récapitulatif des depenses Edition du :
VitalisSanté
RECAPITULATIF DES DEPENSES PAR PRESTATAIRE

VITALIS

PERIODE COMPTABLE CONSIDEREE

Prestataire Nombre de facture Montant reclamé Base Reglement Montant Débit Montant crédit
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0004": //highlight_string(""); $p_debutStat = $paramrequetes['p_codeMois']; $p_finStat = $paramrequetes['p_codeExercice']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Décompte périodique par prestataire Edition du :
VitalisSanté
DECOMPTES PERIODIQUE PAR PRESTATAIRE ET PAR GARANT

VITALIS

PERIODE COMPTABLE CONSIDEREE

Date Paiement code Prestataire Prestataire Montant Reclame Base Réglement Montant Débit Montant crédit
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0005": //highlight_string(""); $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Liste des Pharmacies Edition du :
VitalisSanté
RECAPITULATIF DES DEPENSES PAR GARANT ET PAR PRESTATAIRE

VITALIS

PERIODE COMPTABLE CONSIDEREE

Date Paiement Compte Bénéficiaire Montant Reclame Base Réglement Montant Débit Montant crédit
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0006": //highlight_string(""); $p_debutStat = $paramrequetes['p_codeMois']; $p_finStat = $paramrequetes['p_codeExercice']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Décomptes périodiques des remboursement directs Edition du :
VitalisSanté
DECOMPTES PERIODIQUES DES REMBOURSEMENT DIRECTS

VITALIS

PERIODE COMPTABLE CONSIDEREE

Date Paiement Matricule Bénéficiaire Montant Reclame Base Réglement Montant Débit Montant crédit
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0007": //highlight_string(""); $codePrestataire_rp = ""; $montantPrestatiare_rp = 0; $p_debutStat = $paramrequetes['p_debut']; $p_finStat = $paramrequetes['p_fin']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Listes des factures non décomptées Edition du :
VitalisSanté
LISTE DES PRESTATAIRES EST DES FACTURES NON DECOMPTEES

VITALIS

PERIODE COMPTABLE CONSIDEREE

"); ?>
Code Prestataire Prestataire Nombre de facture
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0008": if (isset($paramrequetes['p_type']) and !empty($paramrequetes['p_type']) and isset($paramrequetes['p_limite']) and isset($paramrequetes['p_limite'])) { //echo '
'; var_dump($paramrequetes['p_type']); echo '
'; $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; $p_type = $paramrequetes['p_type']; $p_limite = $paramrequetes['p_limite']; $datas = array(); $grand = array(); highlight_string(""); foreach ($donnees as $donnee) { $codePrestataire_rp = $donnee['Compte']; $datas['DatePaiement'] = $donnee['DatePaiement']; $datas['Compte'] = $donnee['Compte']; $datas['TypeP'] = $donnee['TypeP']; $datas['prestataire'] = $donnee['prestataire']; $datas['montantFacture'] = $donnee['montantFacture']; $datas['apresDecompte'] = $donnee['apresDecompte']; $datas['montantPaye'] = $donnee['montantPaye']; $donneesDetails = $this->requetesperso->getPrestataireTypeDetail($p_debutStat, $p_finStat, $p_type, $codePrestataire_rp); foreach ($donneesDetails as $donneesDetail) { highlight_string(""); $datas['DatePrescription'] = (new DateTime($donneesDetail['datePrescription']))->format('d/m/Y'); $datas['CodeG'] = $donneesDetail['CodeG']; $datas['Garant'] = $donneesDetail['Garant']; $datas['NumeroPolice'] = $donneesDetail['NumeroPolice']; $datas['libellePolice'] = $donneesDetail['libellePolice']; $datas['Compte'] = $donneesDetail['Compte']; $datas['TypeP'] = $donneesDetail['TypeP']; $datas['prestataire'] = $donneesDetail['prestataire']; $datas['numeroBeneficiaire'] = $donneesDetail['numeroBeneficiaire']; $datas['beneficaire'] = $donneesDetail['beneficaire']; $datas['CodeM'] = $donneesDetail['CodeM']; $datas['Medicament'] = $donneesDetail['Medicament']; $datas['MontantReclame'] = $donneesDetail['MontantReclame']; $datas['MontantRembourser'] = $donneesDetail['MontantRembourser']; array_push($grand, $datas); } } if ($nbLignes>0) { ob_start(); ?>
Liste des Pharmacies Edition du :
VitalisSanté
LISTE DES PHARMACIES AYANT UN CONSOMMATION SUPERIEUR A F CFA

VITALIS

PERIODE COMPTABLE CONSIDEREE

"); if ($prestataire_old != $g['Compte']) { ?>
Montant Total facture Consommations Supérieures à
Date Prescription CodeG Police NumBeneficiaire Bénéficiaire Médicaments Montant reclammé Montant remboursé
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } } break; case "vitalis0009": //highlight_string(""); $codePrestataire_rp = ""; $montantPrestatiare_rp = 0; $p_debutStat = $paramrequetes['p_codeMois']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Factures mensuelles en doublon Edition du :
VitalisSanté
LISTE DES FACTURES MENSUELLES EN DOUBLON

VITALIS

PERIODE COMPTABLE CONSIDEREE MOIS

"); ?>
Prestataire No Feuille Maladie id Beneficiaire frais Reel Montant A rembourser date Systeme
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0010":// NOMBRE DE BON ORDONNANCE CONSULTATION //highlight_string(""); $codePrestataire_rp = ""; $montantPrestatiare_rp = 0; $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Nombre de consultation par assuré Edition du :
VitalisSanté
NOMBRE DE CONSULTATION PAR ASSURE

PERIODE CONSIDEREE

"); ?>
Police Numéro Bénéficiaire Bénéficiaire Quantité Montant à payer
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0011": // NOMBRE DE BON ORDONNANCE PHARMACIE //highlight_string(""); $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Nombre de bons ordonnances par assuré Edition du :
VitalisSanté
NOMBRE DE BONS ORDONNANCES PAR ASSURE

PERIODE COMPTABLE CONSIDEREE

Numéro bénéficiaire Bénéficiaire Quantité Montant à payer
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0012": highlight_string(""); $p_limite = $paramrequetes['p_limite']; highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Ordannace de plus de par semaine en cours Edition du :
VitalisSanté
ORDANNANCE DE PLUS DE PAR SEMAINE EN COURS

VITALIS

PERIODE COMPTABLE CONSIDEREE

Numéro bénéficiaire Bénéficiaire Quantité Montant à payer
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0013": //highlight_string(""); $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Nombre de bons ordonnance par assuré avec entente préalable Edition du :
VitalisSanté
NOMBRE DE BONS ORDONNANCE PAR ASSURE AVEC ENTENTE PREALABLE

VITALIS

PERIODE COMPTABLE CONSIDEREE

Numéro bénéficiaire Bénéficiaire Quantité Montant à payer
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis00013": //highlight_string(""); $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Nombre de bons ordonnance par assuré avec entente préalable Edition du :
VitalisSanté
NOMBRE DE BONS ORDONNANCE PAR ASSURE AVEC ENTENTE PREALABLE

VITALIS

PERIODE COMPTABLE CONSIDEREE

Numéro bénéficiaire Bénéficiaire Quantité Montant à payer
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0014": //highlight_string(""); $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Etat optique mensuel par contrat Edition du :
VitalisSanté
ETAT OPTIQUE MENSUEL PAR CONTRAT

VITALIS

PERIODE COMPTABLE CONSIDEREE

Numéro bénéficiaire Bénéficiaire Quantité Montant à payer
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0017": //highlight_string("") //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Effectif des assurés principaux par police et par college Edition du :
VitalisSanté
EFFECTIF DES ASSURES PRINCIPAUX PAR POLICE ET PAR COLLEGE

VITALIS

Date effet Date Echeance Police College Effectif Assures
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0016": //highlight_string(""); $codePrestataire_rp = ""; $montantPrestatiare_rp = 0; $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Centres ayant eu des hospitalisations Edition du :
VitalisSanté
CENTRES AYANT EU DES HOSPITALISATIONS

VITALIS SANTE

PERIODE COMPTABLE CONSIDEREE

"); ?>
code Garant numero Police Police Adherent numero Bénéficiaire Bénéficiaire Compte Prestataire Date Debut Date Fin
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0029": ?> detailsp->getenregistrerusers($p_utilisateur,$p_numeroFeuilleMaladie); //highlight_string(""); break; case "vitalis0042": ?> detailsp->getenregistrerusers($p_utilisateur,$p_numeroFeuilleMaladie); //highlight_string(""); break; case "vitalis0043": ?> detailsp->getrecapbeneficierecollegeEffet($p_garant, $p_id_clients, $p_id, $p_id_college, $p_debutStat, $p_finStat); $beneficiaires = $this->detailsp->etatrecapbeneficierecollegeEffet($p_garant, $p_id_clients, $p_id, $p_id_college, $p_debutStat, $p_finStat); $datas = array(); $nbLignes = count($beneficiaires); if ($nbLignes>0) { ob_start(); ?>
ETAT DES ASSURES ET DEPENDANTS Edition du :
ETAT DES ASSURES ET DEPENDANTS PAR POLICE ET PAR COLLEGE
Garant :
Période du : Statut(s) concerné(s): ('A','C','D','E','G','K','X')
Souscripteur :
Police :
Collège :
Effectif collège :
Assuré(e)s principal(e)s 'A' : Géniteur(Ascendant) : Autre(s) parent(s) : 0
Conjoint(e)s 'C': Autres conjoint(e)s: :
Enfants: 'E': Enfants supplementaire(s): :
Assuré(e) Matricule Souscripteur Bénéficiaire Statut Genre Age Date effet
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0032": //etat des assurés et beneficiaire effet $p_garant = $paramrequetes['p_garant']; $p_id_clients= $paramrequetes['p_idClient']; $p_id= $paramrequetes['p_idPolice']; $p_id_college= $paramrequetes['p_idCollege']; $p_debutStat= $paramrequetes['p_debutStat']; $p_finStat= $paramrequetes['p_finStat']; $recapcolleges = $this->detailsp->getrecapbeneficierecollegeentree($p_garant, $p_id_clients, $p_id, $p_id_college, $p_debutStat, $p_finStat); $beneficiaires = $this->detailsp->etatrecapbeneficierecollegeentree($p_garant, $p_id_clients, $p_id, $p_id_college, $p_debutStat, $p_finStat); //highlight_string(""); //die(); $datas = array(); $nbLignes = count($beneficiaires); if ($nbLignes>0) { ob_start(); ?>
ETAT DES ASSURES ET DEPENDANTS Edition du :
ETAT DES ASSURES ET DEPENDANTS PAR POLICE ET PAR COLLEGE
Garant :
Période du : Statut(s) concerné(s): ('A','C','D','E','G','K','X')
Souscripteur :
Police :
Collège :
Effectif collège :
Assuré(e)s principal(e)s 'A' : Géniteur(Ascendant) : Autre(s) parent(s) : 0
Conjoint(e)s 'C': Autres conjoint(e)s: :
Enfants: 'E': Enfants supplementaire(s): :
Assuré(e) Matricule Souscripteur Bénéficiaire Statut Genre Age Date effet
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0033": //etat des assurés et beneficiaire RETIRE effet //highlight_string(""); $debutStat= $paramrequetes['p_debutStat']; $finStat = $paramrequetes['p_finStat']; // highlight_string(""); $p_garant = $paramrequetes['p_garant']; $p_id_clients= $paramrequetes['p_idClient']; $p_id= $paramrequetes['p_idPolice']; $p_id_college= $paramrequetes['p_idCollege']; $p_datedebut= $paramrequetes['p_debutStat']; $p_datefin= $paramrequetes['p_finStat']; $recapcolleges = $this->detailsp->getrecapbeneficierecollegeEffet($p_garant, $p_id_clients, $p_id, $p_id_college, $p_datedebut, $p_datefin); //highlight_string(""); $datas = array(); $grand = array(); if ($nbLignes>0) { ob_start(); ?>
ETAT DES ASSURES ET DEPENDANTS RETIRES Edition du :
ETAT DES ASSURES ET DEPENDANTS RETIRES PAR POLICE ET PAR COLLEGE
Garant :
Période du : Statut(s) concerné(s): ('A','C','D','E','G','K','X')
Souscripteur :
Police :
Collège :
Effectif collège :
Assuré(e)s principal(e)s 'A' : Géniteur(Ascendant) : Autre(s) parent(s) : 0
Conjoint(e)s 'C': Autres conjoint(e)s: :
Enfants: 'E': Enfants supplementaire(s): :
Assuré(e) Matricule Souscripteur Bénéficiaire Statut Genre Age Date effet
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0040": //RECAP POLICE EFFET //highlight_string(""); $debutStat= $paramrequetes['p_debutStat']; $finStat = $paramrequetes['p_finStat']; // highlight_string(""); $p_garant = $paramrequetes['p_garant']; $p_id_clients= $paramrequetes['p_idClient']; $p_id= $paramrequetes['p_idPolice']; $p_id_college= $paramrequetes['p_idCollege']; $p_datedebut= $paramrequetes['p_debutStat']; $p_datefin= $paramrequetes['p_finStat']; $recapcolleges = $this->detailsp->getrecapbeneficierecollegeEffet($p_garant, $p_id_clients, $p_id, $p_id_college, $p_datedebut, $p_datefin); //highlight_string(""); $datas = array(); $grand = array(); if ($nbLignes>0) { ob_start(); ?>
ETAT DES ASSURES ET DEPENDANTS Edition du :
ETAT DES ASSURES ET DEPENDANTS PAR POLICE ET PAR COLLEGE
Garant :
Période du : Statut(s) concerné(s): ('A','C','D','E','G','K','X')
Souscripteur :

Police :
Effectif Police :
Assuré(e)s principal(e)s 'A' : Géniteur(Ascendant) : Autre(s) parent(s) :
Conjoint(e)s 'C': Autres conjoint(e)s: : 0
Enfants: 'E': Enfants supplementaire(s): :
Effectif Police :
Assuré(e)s principal(e)s 'A' : Géniteur(Ascendant) : Autre(s) parent(s) :
Conjoint(e)s 'C': Autres conjoint(e)s: :
Enfants: 'E': Enfants supplementaire(s): :
Assuré(e) Matricule Souscripteur Bénéficiaire Statut Genre Age Date effet
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0035": // evolution mensuelle des assurés par police effet $debutStat= $paramrequetes['p_debutStat']; $finStat = $paramrequetes['p_finStat']; $datas =array(); ob_start(); ?>
Evolution mensuelle des assurés par police Edition du :
Vitalis Santé
EVOLUTION MENSUELLE DES ASSURE(E)S PAR POLICE

VITALIS SANTE

Police Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre Totaux
TOTAL GENERAL
setTestIsImage(false); $pdf = new HTML2PDF("l", "A4", "fr"); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('EVOLUTION MENSUELLE DES BENEFICIAIRES'); $pdf->pdf->SetKeywords('HTML2PDF, ETATSTATS, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_EVOLUTION_MENSUELLE_DES_BENEFICIAIRES"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } break; case "vitalis0036": // evolution mensuelle des assurés par police entrée $debutStat= $paramrequetes['p_debutStat']; $finStat = $paramrequetes['p_finStat']; $datas =array(); ob_start(); ?>
Evolution mensuelle des assurés par police Edition du :
Vitalis Santé
EVOLUTION MENSUELLE DES ASSURE(E)S PAR POLICE (entrée)

VITALIS SANTE

Police Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre Totaux
TOTAL GENERAL
setTestIsImage(false); $pdf = new HTML2PDF("l", "A4", "fr"); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('Etat des hopitalisations par affections'); $pdf->pdf->SetKeywords('HTML2PDF, ETATSTATS, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_SP_FICHE10"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } break; case "vitalis0037": // evolution mensuelle des assurés par college effet $debutStat= $paramrequetes['p_debutStat']; $finStat = $paramrequetes['p_finStat']; $datas =array(); ob_start(); ?>
Evolution mensuelle des assurés par police Edition du :
Vitalis Santé
EVOLUTION MENSUELLE DES ASSURE(E)S PAR POLICE

VITALIS

PERIODE CONSIDEREE

GARANT                :

Police Colleges Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre Totaux
TOTAL GENERAL
setTestIsImage(false); $pdf = new HTML2PDF("l", "A4", "fr"); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('Etat des hopitalisations par affections'); $pdf->pdf->SetKeywords('HTML2PDF, ETATSTATS, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_SP_FICHE10"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } break; case "vitalis0038": // evolution mensuelle des assurés par college entrée $debutStat= $paramrequetes['p_debutStat']; $finStat = $paramrequetes['p_finStat']; $datas =array(); $data =array(); ob_start(); if($paramrequetes['p_idClient'] =='0'){ $paramrequetes['p_idClient'] = NULL; } if($paramrequetes['p_idPolice'] =='0'){ $paramrequetes['p_idPolice'] = NULL; } if($paramrequetes['p_idCollege'] =='0'){ $paramrequetes['p_idCollege'] = NULL; } //highlight_string(""); $requetedonnees = $this->detailsp->getevolutionmenspolicecollegeentre($paramrequetes['p_garant'], $paramrequetes['p_idClient'], $paramrequetes['p_idPolice'], $paramrequetes['p_idCollege'], $debutStat, $finStat); highlight_string(""); // highlight_string(""); die(); ?>
Evolution mensuelle des assurés par police Edition du :
EVOLUTION MENSUELLE DES ASSURE(E)S PAR POLICE ET PAR COLLEGE

VITALIS SANTE

PERIODE CONSIDEREE

GARANT                :

Police Collège Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre Totaux
TOTAL GENERAL
setTestIsImage(false); $pdf = new HTML2PDF("l", "A4", "fr"); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('Etat des hopitalisations par affections'); $pdf->pdf->SetKeywords('HTML2PDF, ETATSTATS, PHP'); $pdf->writeHTML($content); $fichier="Temp/Requetepersoevolution"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } break; case "vitalis0022": // RECAP PAR PRESTATAIRE $p_debutStat= $paramrequetes['p_debutStat']; $p_finStat= $paramrequetes['p_finStat']; foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Edition du :
BORDEREAUX DE REGLEMENT EN TIERS PAYANT

VITALIS SANTE

PERIODE COMPTABLE CONSIDEREE

GARANT :
Date comptable :
DATE PAIEMENT COMPTE BENEFICIAIRE MONTANT RECLAME BASE DE REGLEMENT MONTANT DEBIT MONTANT CREDIT

Nombre de ligne :   

Pour le departement des prestation                                                     Pour la Direction Financière                                                     Pour la Direction Générale

setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0044": // RECAP PAR CONTRAT $p_debutStat= $paramrequetes['p_debutStat']; $p_finStat= $paramrequetes['p_finStat']; foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Edition du :
RECAPITULATIF DES DEPENSES PAR CONTRAT

VITALIS SANTE

PERIODE COMPTABLE CONSIDEREE

GARANT :
Date comptable :
DATE PAIEMENT NUMERO POLICE POLICE MONTANT RECLAME BASE DE REGLEMENT MONTANT DEBIT MONTANT CREDIT

Nombre de ligne :   

Pour le departement des prestation                                                     Pour la Direction Financière                                                     Pour la Direction Générale

setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0025": // RECAP PAR des remboursements directs $p_debutStat= $paramrequetes['p_debutStat']; $p_finStat= $paramrequetes['p_finStat']; foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Edition du :
BORDEREAUX DE REGLEMENTS EN REMBOURSEMENT DIRECT

VITALIS SANTE

PERIODE COMPTABLE CONSIDEREE

GARANT :
Date comptable :
DATE PAIEMENT POLICE MATRICULE ADHERENT ADHERENT MATRICULE BENEFICIAIRE BENEFICIAIRE MONTANT RECLAME BASE DE REGLEMENT MONTANT CREDIT

Nombre de ligne :   

Pour le departement des prestation                                                     Pour la Direction Financière                                                     Pour la Direction Générale

setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0047": // RECAP PAR GARANT PAR PRESTATAIRE //highlight_string(""); $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Etat des dépenses garant par prestataire Edition du :
Vitalis Santé
ETAT DES DEPENSES GARANT PAR PRESTATAIRE

PERIODE COMPTABLE CONSIDEREE

requetesperso->depensePrestataire($paramrequetes['p_debutStat'],$paramrequetes['p_finStat'],$donnee['Compte']); //var_dump($depensesprestatire); //die(); $total_depenses = 0; ?> $depensesprestatire) { $datas['Compte'] = $depensesprestatire['Compte']; $datas['garant'] = $depensesprestatire['garant']; $datas['codeGarant'] = $depensesprestatire['codeGarant']; $datas['Beneficiaire'] = $depensesprestatire['Beneficiaire']; $datas['MontantReclame'] = $depensesprestatire['MontantReclame']; $datas['BaseReglement'] = $depensesprestatire['BaseReglement']; $datas['MontantDebit'] = $depensesprestatire['MontantDebit']; $datas['Montantcredit'] = $depensesprestatire['Montantcredit']; /* if ($prestataire['Compte'] == $datas['Compte']) { */ $total_depenses = $total_depenses + $datas['Montantcredit']; ?>
Code Garant Montant réclamé Base reglement Montant débit Montant crédit
TOTAL DEPENSES :
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0040": //highlight_string(""); $codePrestataire_rp = ""; $montantPrestatiare_rp = 0; $p_debutStat = $paramrequetes['p_codeMois']; // highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Factures mensuelles en doublon Edition du :
VitalisSanté
LISTE DES FACTURES MENSUELLES EN DOUBLON

VITALIS

PERIODE COMPTABLE CONSIDEREE MOIS

"); ?>
Prestataire No Feuille Maladie id Beneficiaire frais Reel Montant A rembourser date Systeme
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0048": // RECAP PAR famille PAR PRESTATAIRE highlight_string(""); $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
Etat des dépenses par famille Edition du :
Vitalis Santé
ETAT DES DEPENSES PAR FAMILLE D'ASSURES

PERIODE COMPTABLE CONSIDEREE

requetesperso->depensefamille($paramrequetes['p_debutStat'],$paramrequetes['p_finStat'],$donnee['MatriculeAssurePrincipal']); //var_dump($depensesprestatire); //die(); $total_depenses = $total_TM = $total_factures= 0; ?> $depensesfamille) { $datas['codeGarant'] = $depensesfamille['codeGarant']; $datas['Garant'] = $depensesfamille['Garant']; $datas['Souscripteur'] = $depensesfamille['Souscripteur']; $datas['MatriculeAssurePrincipal'] = $depensesfamille['MatriculeAssurePrincipal']; $datas['NomAssurePrincipal'] = $depensesfamille['NomAssurePrincipal']; $datas['MatriculeAssureBeneficiaire'] = $depensesfamille['MatriculeAssureBeneficiaire']; $datas['NomBeneficiairePrincipal'] = $depensesfamille['NomBeneficiairePrincipal']; $datas['LienParente'] = $depensesfamille['LienParente']; $datas['DatedeSoins'] = $depensesfamille['DatedeSoins']; $datas['Prestataire'] = $depensesfamille['Prestataire']; $datas['FamillePrestation'] = $depensesfamille['FamillePrestation']; $datas['Quantité'] = $depensesfamille['Quantité']; $datas['MontantReclame'] = $depensesfamille['MontantReclame']; $datas['BaseRemboursement'] = $depensesfamille['BaseRemboursement']; $datas['MontantTM'] = $depensesfamille['MontantTM']; $datas['MontantPaye'] = $depensesfamille['MontantPaye']; /* if ($prestataire['Compte'] == $datas['Compte']) { */ $total_depenses = $total_depenses + $datas['MontantPaye']; $total_factures = $total_factures + $datas['MontantReclame']; $total_TM = $total_TM + $datas['MontantTM']; ?>
Bénéficiaire Date de soin Prestataire Prestation Montant réclamé Tm Montant remboursé
TOTAL ASSURE(E) :
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUER"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0051": // RECAP PAR famille PAR PRESTATAIRE new //highlight_string(""); $p_debutStat = $paramrequetes['p_debutStat']; $p_finStat = $paramrequetes['p_finStat']; //highlight_string(""); $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { ob_start(); ?>
ETAT DES DEPENSES PAR FAMILLE Edition du :
Vitalis Santé
ETAT DES DEPENSES PAR FAMILLE D'ASSURES

PERIODE COMPTABLE CONSIDEREE

detailsp->etatdetailledepensefamAssure($p_idAdherent,$p_debutStat,$p_finStat); //parcourir les details assures foreach ($depensesfamilles as $key => $depensesfamille) { $p_numeroBeneficiaire = ""; $p_numeroBeneficiaire = $depensesfamille['numeroBeneficiaire']; ?> detailsp->etatdetaillebeneficiaire($p_numeroBeneficiaire,$p_debutStat,$p_finStat); $total_depenses = 0; $total_facture = 0; ?> $depensesbeneficiaire) { $datas['DatePaiement'] = $depensesbeneficiaire['DatePaiement']; $datas['id'] = $depensesbeneficiaire['id']; $datas['numeroPolice'] = $depensesbeneficiaire['numeroPolice']; $datas['libellePolice'] = $depensesbeneficiaire['libellePolice']; $datas['Compte'] = $depensesbeneficiaire['Compte']; $datas['Prestataire'] = $depensesbeneficiaire['Prestataire']; $datas['codeActe'] = $depensesbeneficiaire['codeActe']; $datas['codeMedecin'] = $depensesbeneficiaire['codeMedecin']; $datas['dateSoins'] = $depensesbeneficiaire['dateSoins']; $datas['CodeAffection'] = $depensesbeneficiaire['CodeAffection']; $datas['typePrestation'] = $depensesbeneficiaire['typePrestation']; $datas['numeroAdherent'] = $depensesbeneficiaire['numeroAdherent']; $datas['adherent'] = $depensesbeneficiaire['adherent']; $datas['numeroBeneficiaire'] = $depensesbeneficiaire['numeroBeneficiaire']; $datas['Beneficiaire'] = $depensesbeneficiaire['Beneficiaire']; $datas['montantFacture'] = $depensesbeneficiaire['montantFacture']; $datas['montantRembourse'] = $depensesbeneficiaire['montantRembourse']; //$depensesbeneficiaires = $this->detailsp->etatdetailledepensefamAssure($p_idAdherent,$p_debutStat,$p_finStat); // highlight_string(""); ?> "); //die(); } ?>
Bénéficiaire Date de soin Prestataire Prestation code affection Montant facture Montant remboursé
TOTAL PATIENT :
TOTAL ASSURE(E) :
TOTAL GENERAL :
setTestIsImage(false); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('ETATS PERSONNALISES'); $pdf->pdf->SetKeywords('HTML2PDF, Etat, PHP'); $pdf->writeHTML($content); $fichier="Temp/TMP_CUMUL_QUERY"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; case "vitalis0052": // Reseau de soin $datas = array(); $grand = array(); foreach ($donnees as $donnee) { } if ($nbLignes>0) { $datas =array(); ob_start(); ?>
VITALIS SANTE
RESEAU DE SOINS DE ||

CODE PRESTATAIRE ADRESSE Téléphone FAX
setTestIsImage(false); $pdf = new HTML2PDF("p", "A4", "fr"); $pdf->pdf->SetAuthor('Vitalissanté'); $pdf->pdf->SetSubject('Etat des dépenses par prestataires médicaux'); $pdf->pdf->SetKeywords('HTML2PDF, ETATSTATS, PHP'); $pdf->writeHTML($content); $fichier="Temp/Reseau de soin"."_".uniqid().".pdf"; $pdf->Output($fichier, "F"); $pdf->pdf->SetTitle($fichier); $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='
'; echo $t_html; } catch (HTML2PDF_exception $e) { die($e); } } else { $t_html ='
'; $t_html .='

'._("Résultat vide!").'

'; $t_html .='
'; } break; default: $t_html ='
'; $t_html .='

'._("Pas encore disponible!").'

'; $t_html .='
'; echo $t_html; break; } } }