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 |
+ = _("Primes Totales") ?> |
+ = _("Primes Acquises") ?> |
+ = _("Consommations") ?> |
+ = _("Rapport S/P") ?> |
+ = _("S/P Global") ?> |
+
+
+
+
+
+
+ | = $this->nettoyer($sppolice['codeProduit']) ?> |
+ = format_N($this->nettoyer($sppolice['primestat'])) ?> |
+ = format_N($this->nettoyer($sppolice['prime_acquise'])) ?> |
+ = format_N($this->nettoyer($sppolice['consommation'])) ?> |
+ = $this->nettoyer($sppolice['rapportsp']) ?> |
+ = $this->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 >
+
+
+
+
+ | = _("Collège") ?> |
+ = _("Primes Totales") ?> |
+ = _("Primes Acquises") ?> |
+ = _("Consommations") ?> |
+ = _("Rapport S/P") ?> |
+ = _("S/P Global") ?> |
+
+
+
+
+
+
+ | = $this->nettoyer($sppolice['codeProduit']) ?> |
+ = $this->nettoyer($sppolice['libelleCollege']) ?> |
+ = format_N($this->nettoyer($sppolice['primestat'])) ?> |
+ = format_N($this->nettoyer($sppolice['prime_acquise'])) ?> |
+ = format_N($this->nettoyer($sppolice['consommation'])) ?> |
+ = $this->nettoyer($sppolice['rapportsp']) ?> |
+ = $this->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 >
+
+
+
+
+ | = _("Primes Totales") ?> |
+ = _("Primes Acquises") ?> |
+ = _("Consommations") ?> |
+ = _("Rapport S/P") ?> |
+ = _("S/P Global") ?> |
+
+
+
+
+
+ | = format_N($this->nettoyer($sppolice['primestat'])) ?> |
+ = format_N($this->nettoyer($sppolice['prime_acquise'])) ?> |
+ = format_N($this->nettoyer($sppolice['consommation'])) ?> |
+ = $this->nettoyer($sppolice['rapportsp']) ?> |
+ = $this->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"; ?>
+
+
+
+
+
+
+ | = _("Date Effet") ?> |
+ = _("Date Echéance") ?> |
+ = _("Durée Acquise") ?> |
+ = _("Ratio Acquise") ?> |
+ = _("Durée Contrat") ?> |
+
+
+
+
+
+
+ | = dateLang($this->nettoyer($sppoliceentete['dateEffet'])) ?> |
+ = dateLang($this->nettoyer($sppoliceentete['dateEcheance'])) ?> |
+ = $this->nettoyer($sppoliceentete['duree_acquise']) ?> |
+ = $this->nettoyer($sppoliceentete['ratio_acquise']) ?> |
+ = $this->nettoyer($sppoliceentete['dureePolice']) ?> |
+
+
+
+
+
+
+
+ | |
+ |
+ |
+
+
+
+
+
+
+