production/Societes/envoyx/Tarifs/Controleur/Creercollegedinitcollege.php
2026-03-04 01:48:40 +00:00

31 lines
940 B
PHP
Executable File

<?php
/*
$idPolice = $_SESSION['idPolice_d_C'];
$user = $this->requete->getSession()->getAttribut('login');
$idCollegeTemp = $this->college_temp->initCollege($idPolice, $user);
$_SESSION['codeLienParente_C'] = "A";*/
$idPolice = $_SESSION['idPolice_d_C'];
$garant = $this->college_temp->getGarantPolice($idPolice);
$typeGarant = $this->college_temp->getTypeGarantPolice($idPolice);
$_SESSION['codeGcAssureur_d'] = $garant['codeGcAssureur'];
$_SESSION['codeTypeGarant'] = $typeGarant['codeTypeGarant'];
$user = $this->requete->getSession()->getAttribut('login');
$idCollegeTemp = $this->college_temp->initCollege($idPolice, $garant['codeGcAssureur'], $user);
$budgetDefini = "0";
$_SESSION['codeProduit'] = "C1";
$_SESSION['codeTypeTarifActe'] = "";
$_SESSION['codeLienParente_C'] = "A";
$this->rediriger("Creercolleged");
?>