diff --git a/Controleur/ControleurAjaxdemanderdv.php b/Controleur/ControleurAjaxdemanderdv.php index 232d781..7fbb3c4 100755 --- a/Controleur/ControleurAjaxdemanderdv.php +++ b/Controleur/ControleurAjaxdemanderdv.php @@ -50,4 +50,11 @@ class ControleurAjaxdemanderdv extends Controleur { $this->rendezvous->refuserrdv($numeroDemandeRdv, $motifReponseRdv); } } + + public function listerdemandesconsultation() + { + $demandes = $this->rendezvous->getDemandesConsultation(); + $this->genererVueAjax(array('demandes' => $demandes)); + } + } \ No newline at end of file diff --git a/Controleur/ControleurConnexion.php b/Controleur/ControleurConnexion.php index daa5cce..f639d72 100755 --- a/Controleur/ControleurConnexion.php +++ b/Controleur/ControleurConnexion.php @@ -192,7 +192,6 @@ class ControleurConnexion extends Controleur // Gestion limite usage $dateLimiteUsage = $utilisateur['dateLimiteUsage']; $dateLimiteUsage_0 = getMoritio_0(); - // $dateLimiteUsage_2 = getMoritio_2(); $dateLimiteUsage_2 = getMoritio_2($codeSociete); if($dateLimiteUsage<$dateLimiteUsage_0) diff --git a/Js/fonctions.js b/Js/fonctions.js index d9f27e7..0544156 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -27377,8 +27377,6 @@ function afficherMasquerEnteteProforma() function listerrdv() { - - d1 = $("#d1").val(); d2 = $("#d2").val(); @@ -28816,3 +28814,28 @@ async function ajouter_un_acte_miseenobservation(codeActe, prixBase, prixActe, e console.error("Erreur lors de l'ajout de l'acte:", error); } } + +function listerdemandesconsultation() +{ + d1 = $("#d1").val(); + d2 = $("#d2").val(); + + donnees = 'd1='+ d1+'&d2='+d2; + + $("#div_dossiers").html('
| = _("N° Demande") ?> | +Date | += _("Bénéficiaire") ?> | += _("Nom") ?> | += _("Prestataire") ?> | += _("Spécialité") ?> | += _("Effectuée?") ?> | += _("Motif") ?> | += _("Expiration") ?> | +|
|---|---|---|---|---|---|---|---|---|---|
| = $numeroDemandeConsultation ?> | += dateheureLang($dateSysteme, $_SESSION['lang']) ?> | += $this->nettoyer($v['numeroBeneficiaire']) ?> | += $this->nettoyer($v['beneficiaire']) ?> | ++ = $prestataire ?> + | ++ = $specialite ?> + | ++ + = $demandeEffectuee; ?> + + = $demandeEffectuee; ?> + + | ++ = $this->nettoyer($v['motifConsultation']) ?> + | + + += dateheureLang($this->nettoyer($v['heureExpiration']), $_SESSION['lang']) ?> | + += dateheureLang($this->nettoyer($v['heureExpiration']), $_SESSION['lang']) ?> | + +
|
+
+
+
+ = _("Aucun demande trouvée pour les critères sélectionnés") ?>
+
+
+ |
+ |||||||||