production/Societes/ric/Tarifs/Controleur/Ajaxgarantiescollege.php
2026-04-08 07:03:19 +00:00

43 lines
2.3 KiB
PHP
Executable File

<?php
require_once $_SESSION['dossierSociete'].'/Tarifs/Modele/Trancheage.php';
require_once $_SESSION['dossierSociete'].'/Tarifs/Modele/Capitalfraisfuneraire.php';
$this->trancheage = (new Trancheage())->getListe();
$this->capitalfraisfuneraire = (new Capitalfraisfuneraire())->getListe();
$idPolice = ($_SESSION['modeDevis'] == "0") ? $_SESSION['idPolice_C'] : $_SESSION['idPolice_d_C'];
$idCollegeTemp = $_SESSION['idCollegeTemp'];
$codeProduit = $_SESSION['codeProduit'];
$reseausoins = $this->reseausoins->getReseauProduit($codeProduit);
$collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp);
$codeLienParente = $this->requete->getParametreFormulaire("codeLienParente");
$_SESSION['codeLienParente']= $codeLienParente;
$forfaitTaux = $this->college_temp->getTauxForfait();
$nomStatus = $this->college_temp->getNomStatus($codeLienParente);
$garanties_lien_parente = $this->college_temp->getGarantieLienParente($idCollegeTemp, $codeLienParente);
$prime_colleges = $this->college_temp->getPrimesCollege($idCollegeTemp);
$collegelienparenteTemp = $this->college_temp->getCollegeLienParenteTemp($idCollegeTemp, $codeLienParente);
$populationstatut = $this->college_temp->getPopulationStatut($idCollegeTemp, $codeLienParente);
$lienParente = $this->college_temp->getNomStatus($codeLienParente);
$forfaitHonoraire = $this->college_temp->getTauxForfait($forfaitHonoraire );
$forfaitAppelFond = $this->college_temp->getTauxForfait( $forfaitAppelFond );
$forfaitAppelCotisation = $this->college_temp->getTauxForfait($forfaitAppelCotisation );
$this->genererVueAjax(
array('trancheage' => $this->trancheage, 'capitalfraisfuneraire' => $this->capitalfraisfuneraire,
'prime_colleges' => $prime_colleges, 'collegelienparenteTemp' => $collegelienparenteTemp,
'garanties_lien_parente' => $garanties_lien_parente,'forfaitTaux' => $forfaitTaux,
'nomStatus' => $nomStatus,'collegeTemp' => $collegeTemp,'reseausoins' => $reseausoins,
'populationstatut' => $populationstatut, 'lienParente' => $lienParente,'forfaitHonoraire' => $forfaitHonoraire, 'forfaitAppelFond' => $forfaitAppelFond, 'forfaitAppelCotisation' => $forfaitAppelCotisation,
));
?>