diff --git a/Controleur/ControleurAjaxsppolice.php b/Controleur/ControleurAjaxsppolice.php new file mode 100644 index 0000000..ce13821 --- /dev/null +++ b/Controleur/ControleurAjaxsppolice.php @@ -0,0 +1,50 @@ +sppolice = new Police(); + } + + public function index() + { + $this->genererVueAjax(); + } + + public function police() + { + $idPolice = $_SESSION['idPolice_C']; + + $dj = date("Y-m-d"); + + $sppolice = $this->sppolice->getRapportSpPolicePol($idPolice, $dj); + + $this->genererVueAjax(array('sppolice' => $sppolice)); + } + + public function categorie() + { + $idPolice = $_SESSION['idPolice_C']; + + $dj = date("Y-m-d"); + + $sppolices = $this->sppolice->getRapportSpPoliceCat($idPolice, $dj); + + $this->genererVueAjax(array('sppolices' => $sppolices)); + } + + public function college() + { + $idPolice = $_SESSION['idPolice_C']; + + $dj = date("Y-m-d"); + + $sppolices = $this->sppolice->getRapportSpPoliceCol($idPolice, $dj); + + $this->genererVueAjax(array('sppolices' => $sppolices)); + } +} \ No newline at end of file diff --git a/Controleur/ControleurSppolice.php b/Controleur/ControleurSppolice.php new file mode 100644 index 0000000..ad547cb --- /dev/null +++ b/Controleur/ControleurSppolice.php @@ -0,0 +1,26 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue("Sppolice"); + + $this->sppolice = new Police(); + } + public function index() + { + $idPolice = $_SESSION['idPolice_C']; + + $dj = date("Y-m-d"); + + $sppoliceentete = $this->sppolice->getRapportSpPoliceEntete($idPolice, $dj); + + $this->genererVue(array('sppoliceentete' => $sppoliceentete)); + } +} \ No newline at end of file diff --git a/Vue/Ajaxsppolice/categorie.php b/Vue/Ajaxsppolice/categorie.php new file mode 100644 index 0000000..459fbe3 --- /dev/null +++ b/Vue/Ajaxsppolice/categorie.php @@ -0,0 +1,31 @@ +
+ + " disabled > + + + + + + + + + + + + + + + + + + + + + + + + + +
Cat
nettoyer($sppolice['codeProduit']) ?> nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?> nettoyer($sppolice['rapportspgeneral']) ?>
+
diff --git a/Vue/Ajaxsppolice/college.php b/Vue/Ajaxsppolice/college.php new file mode 100644 index 0000000..b005e6a --- /dev/null +++ b/Vue/Ajaxsppolice/college.php @@ -0,0 +1,32 @@ +
+ + " disabled > + + + + + + + + + + + + + + + + + + + + + + + + + + +
nettoyer($sppolice['codeProduit']) ?> nettoyer($sppolice['libelleCollege']) ?> nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?> nettoyer($sppolice['rapportspgeneral']) ?>
+
diff --git a/Vue/Ajaxsppolice/index.php b/Vue/Ajaxsppolice/index.php new file mode 100644 index 0000000..f351111 --- /dev/null +++ b/Vue/Ajaxsppolice/index.php @@ -0,0 +1 @@ +SP POLICE \ No newline at end of file diff --git a/Vue/Ajaxsppolice/police.php b/Vue/Ajaxsppolice/police.php new file mode 100644 index 0000000..2b62abe --- /dev/null +++ b/Vue/Ajaxsppolice/police.php @@ -0,0 +1,26 @@ +
+ + " disabled > + + + + + + + + + + + + + + + + + + + + + +
nettoyer($sppolice['primestat'])) ?> nettoyer($sppolice['prime_acquise'])) ?> nettoyer($sppolice['consommation'])) ?> nettoyer($sppolice['rapportsp']) ?> nettoyer($sppolice['rapportspgeneral']) ?>
+
diff --git a/Vue/Sppolice/index.php b/Vue/Sppolice/index.php new file mode 100644 index 0000000..3c2763c --- /dev/null +++ b/Vue/Sppolice/index.php @@ -0,0 +1,40 @@ +titre = "INTER-SANTE - Rapport S/P police"; ?> + + nettoyer($_SESSION['numeroPolice_C'])?> + + + + + + + + + + + + + + + + + + + + + + +
nettoyer($sppoliceentete['dateEffet'])) ?> nettoyer($sppoliceentete['dateEcheance'])) ?> nettoyer($sppoliceentete['duree_acquise']) ?> nettoyer($sppoliceentete['ratio_acquise']) ?> nettoyer($sppoliceentete['dureePolice']) ?>
+ + + + + + + + + +
+ +
+ +