Import initial du projet Production
This commit is contained in:
79
Controleur/ControleurParamfacturegarantcons.php
Normal file
79
Controleur/ControleurParamfacturegarantcons.php
Normal file
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Gestionconfiee.php';
|
||||
require_once 'Modele/Police.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
require_once 'Modele/Tarifsactes.php';
|
||||
require_once 'Modele/Periodicite.php';
|
||||
|
||||
class ControleurParamfacturegarantcons extends Controleur {
|
||||
private $menuvue;
|
||||
private $gc;
|
||||
private $police;
|
||||
private $tarif;
|
||||
private $periodicite;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue("Paramfacturegarantcons");
|
||||
|
||||
$this->gc = new Gestionconfiee();
|
||||
$this->police = new Police();
|
||||
$this->tarif = new Tarifsactes();
|
||||
$this->periodicite = new Periodicite();
|
||||
|
||||
$_SESSION['modeDevis'] = "0";
|
||||
$_SESSION['codeProduit_C'] = "";
|
||||
}
|
||||
|
||||
public function index() {
|
||||
$idGc = $_SESSION['idGcAssureur_C'];
|
||||
|
||||
|
||||
$gc = $this->gc->getGcAssureurId($idGc);
|
||||
|
||||
|
||||
$_SESSION['codeGcAssureur_C'] = $gc['codeGcAssureur'];
|
||||
$_SESSION['nomGcAssureur_C'] = $gc['libelle'] ;
|
||||
|
||||
|
||||
|
||||
$codeGcAssureur = $_SESSION['codeGcAssureur_C'];
|
||||
|
||||
|
||||
|
||||
$periodicites = $this->periodicite->getPeriodiciteFactureGarant();
|
||||
|
||||
|
||||
$periodicitesappelfond = $this->periodicite->getPeriodiciteFactureGarant();
|
||||
|
||||
|
||||
|
||||
$periodicitesappelcotisation = $this->periodicite->getPeriodiciteFactureGarant();
|
||||
//$periodicitesfactsinistre = $this->periodicite->getPeriodiciteFactureGarant();
|
||||
$periodicitesfactDeficit = $this->periodicite->getPeriodiciteFactureGarant();
|
||||
|
||||
$assiettefonds = array();
|
||||
$assiettehonoraire = array();
|
||||
|
||||
$assiettefonds = $this->gc->getListeAssiettes();
|
||||
$assiettehonoraire = $this->gc->getListeAssiettes();
|
||||
$assiettecaution = $this->gc->getListeAssiettes();
|
||||
|
||||
|
||||
$sourcefonds = $this->gc->getListeSourceFondGarantAppelFond();
|
||||
$sourcehonoraire = $this->gc->getListeSourceFondGarantHonoraire();
|
||||
$sourcecaution = $this->gc->getListeSourceFondGarantCaution();
|
||||
|
||||
$conventions = $this->periodicite->getTypeConvention();
|
||||
|
||||
$paramFacGcProduit = $this->gc->getParametresFacturationGarantProduit();
|
||||
|
||||
|
||||
$this->genererVue(array('gc' => $gc, 'periodicites' => $periodicites, 'periodicitesappelfond' => $periodicitesappelfond,
|
||||
'periodicitesappelcotisation' => $periodicitesappelcotisation, 'assiettefonds' => $assiettefonds,
|
||||
'assiettehonoraire' => $assiettehonoraire, 'periodicitesfactDeficit' => $periodicitesfactDeficit,
|
||||
'conventions' => $conventions, 'sourcefonds' => $sourcefonds, 'sourcecaution' => $sourcecaution,
|
||||
'sourcehonoraire' => $sourcehonoraire, 'assiettecaution' => $assiettecaution, 'paramFacGcProduit' => $paramFacGcProduit));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user