Import initial du projet Production
This commit is contained in:
72
Controleur/ControleurParamfacturegarant.php
Normal file
72
Controleur/ControleurParamfacturegarant.php
Normal file
@@ -0,0 +1,72 @@
|
||||
<?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 ControleurParamfacturegarant extends Controleur {
|
||||
private $menuvue;
|
||||
private $gc;
|
||||
private $police;
|
||||
private $tarif;
|
||||
private $periodicite;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue("Paramfacturegarant");
|
||||
|
||||
$this->gc = new Gestionconfiee();
|
||||
$this->police = new Police();
|
||||
$this->tarif = new Tarifsactes();
|
||||
$this->periodicite = new Periodicite();
|
||||
|
||||
$_SESSION['modeDevis'] = "0";
|
||||
}
|
||||
|
||||
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'];
|
||||
|
||||
$chemin = $this->menuvue->getChemin('Paramfacturegarant');
|
||||
|
||||
$periodicites = $this->periodicite->getPeriodiciteFactureGarant();
|
||||
|
||||
|
||||
$periodicitesappelfond = $this->periodicite->getPeriodiciteFactureGarant();
|
||||
|
||||
|
||||
|
||||
$periodicitesappelcotisation = $this->periodicite->getPeriodiciteFactureGarant();
|
||||
$periodicitesfactDeficit = $this->periodicite->getPeriodiciteFactureGarant();
|
||||
|
||||
$assiettefonds = array();
|
||||
$assiettehonoraire = array();
|
||||
|
||||
$assiettecaution = $this->gc->getListeAssiettes();
|
||||
|
||||
$sourcefonds = $this->gc->getListeSourceFondGarantAppelFond();
|
||||
$sourcehonoraire = $this->gc->getListeSourceFondGarantHonoraire();
|
||||
$sourcecaution = $this->gc->getListeSourceFondGarantCaution();
|
||||
|
||||
$conventions = $this->periodicite->getTypeConvention();
|
||||
|
||||
|
||||
$this->genererVue(array('gc' => $gc, 'chemin' => $chemin,
|
||||
'periodicites' => $periodicites, 'periodicitesappelfond' => $periodicitesappelfond,
|
||||
'periodicitesappelcotisation' => $periodicitesappelcotisation, 'assiettefonds' => $assiettefonds,
|
||||
'assiettehonoraire' => $assiettehonoraire, 'periodicitesfactDeficit' => $periodicitesfactDeficit,
|
||||
'conventions' => $conventions, 'sourcefonds' => $sourcefonds, 'sourcehonoraire' => $sourcehonoraire,
|
||||
'sourcecaution' => $sourcecaution, 'assiettecaution' => $assiettecaution));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user