diff --git a/Controleur/ControleurListeavenant.php b/Controleur/ControleurListeavenant.php new file mode 100644 index 0000000..c291506 --- /dev/null +++ b/Controleur/ControleurListeavenant.php @@ -0,0 +1,28 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue("Listeavenant"); + + $this->police = new Police(); + $this->avenant = new Avenant(); + } + public function index() { + $idPolice = $_SESSION['idPolice_C']; + $this->police->getContextePoliceId($idPolice); + $police = $this->police->getPoliceId($idPolice); + + $avenants = $this->avenant->getAvenant($idPolice); + + $this->genererVue(array('police' => $police, 'avenants' => $avenants)); + } +} \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index 6d656fa..74fdd3a 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -1555,3 +1555,7 @@ function enregistrer_retrait() }); } +function liste_avenant() +{ + window.location.assign($("#racineWeb" ).val()+"Listeavenant/"); +} diff --git a/Vue/Listeavenant/index.php b/Vue/Listeavenant/index.php new file mode 100644 index 0000000..52eb4d0 --- /dev/null +++ b/Vue/Listeavenant/index.php @@ -0,0 +1,49 @@ +titre = "INTER-SANTE - Liste Avenants police"; +?> + + " . $_SESSION['nomClient_C'] . " => " . $police['numeroPolice'] . " => " . $police['idPolice'] ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
nettoyer($avenant['numeroAvenant']) ?>nettoyer($avenant['dateEffet']), $_SESSION['lang']) ?>nettoyer($avenant['motifavenant']) ?>nettoyer($avenant['utilisateur']) ?>nettoyer($avenant['dateSysteme'])) ?> + + + + + + nettoyer($avenant['dateFacturation'])) ?> nettoyer($avenant['userFacturation']) ?>