From 949736e04c037bedf147791744c4bb7e0eb39f34 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Mon, 12 Jan 2026 19:11:14 +0000 Subject: [PATCH] fraze --- Controleur/ControleurAjaxfactureconspop.php | 72 +++++++++++ Js/fonctions.js | 45 +++++++ Vue/Ajaxfactureconspop/feuillemaladie.php | 134 ++++++++++++++++++++ Vue/Ajaxfactureconspop/geds.php | 29 +++++ Vue/Ajaxfactureconspop/index.php | 127 +++++++++++++++++++ Vue/Ajaxfactureconspop/medicaments.php | 52 ++++++++ Vue/Ajaxfactureconspop/prestationactes.php | 66 ++++++++++ Vue/Ajaxfactureconspop/verres.php | 35 +++++ 8 files changed, 560 insertions(+) create mode 100644 Controleur/ControleurAjaxfactureconspop.php create mode 100644 Vue/Ajaxfactureconspop/feuillemaladie.php create mode 100644 Vue/Ajaxfactureconspop/geds.php create mode 100644 Vue/Ajaxfactureconspop/index.php create mode 100644 Vue/Ajaxfactureconspop/medicaments.php create mode 100644 Vue/Ajaxfactureconspop/prestationactes.php create mode 100644 Vue/Ajaxfactureconspop/verres.php diff --git a/Controleur/ControleurAjaxfactureconspop.php b/Controleur/ControleurAjaxfactureconspop.php new file mode 100644 index 0000000..7c2c83b --- /dev/null +++ b/Controleur/ControleurAjaxfactureconspop.php @@ -0,0 +1,72 @@ +facture = new Facture(); + } + + public function index() + { + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $_SESSION['idFacture_C'] = $idFacture; + + $facture = $this->facture->consulterfacturefacture($idFacture) ; + + $this->genererVueAjax(array('facture' => $facture)); + } + + public function feuillemaladie() + { + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $feuillemaladie = $this->facture->consulterfacturefeuillemaladie($idFacture) ; + + $diagnostics = $this->facture->consulterfacturediagnostics($idFacture); + + $this->genererVueAjax(array('feuillemaladie' => $feuillemaladie, 'diagnostics' => $diagnostics)); + } + + public function prestationactes() + { + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $prestations = $this->facture->consulterfactureprestationactes($idFacture) ; + + $this->genererVueAjax(array('prestations' => $prestations)); + } + + public function medicaments() + { + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $medicaments = $this->facture->consulterfacturemedicaments($idFacture) ; + + $this->genererVueAjax(array('medicaments' => $medicaments)); + } + + public function geds() + { + unset($_FILES['fichier_upload']); + + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $geds = $this->facture->getgedfacture($idFacture); + + $this->genererVueAjax(array('geds' => $geds)); + } + + public function verres() + { + $idFacture = $this->requete->getParametreFormulaire("idFacture"); + + $verres = $this->facture->consulterfactureverres($idFacture) ; + + $this->genererVueAjax(array('verres' => $verres)); + } + +} \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index ddabd1e..f3104ad 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -3877,3 +3877,48 @@ function liste_mouvemements_assures_client() } }); } + + +function consulter_facture_pop(idFacture) +{ + + $("#div_facture_detail").html(''); + + $("#div_consulter_facture_pop").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + + donnees = 'idFacture='+idFacture; + + if(isNaN(idFacture)) + { + v_msg="Valeur numérique exigée!"; + v_msgEng="Numeric value required!"; + alert_ebene(v_msg, v_msgEng); + + $("#idFacture").val("0"); + $("#idFacture").focus(); + return; + } + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxfactureconspop/", + type: 'POST', + data: donnees, + success: function(data) { + $("#div_consulter_facture_pop").html(data); + }, + error: function(data) { + }, + complete: function() { + $('#btn_pop_consulter_facture').click(); + } + }); +} diff --git a/Vue/Ajaxfactureconspop/feuillemaladie.php b/Vue/Ajaxfactureconspop/feuillemaladie.php new file mode 100644 index 0000000..321b35d --- /dev/null +++ b/Vue/Ajaxfactureconspop/feuillemaladie.php @@ -0,0 +1,134 @@ +
+ nettoyer($feuillemaladie['codeTypeAffection']); + + $codeAffection = $this->nettoyer($feuillemaladie['codeAffection']); + + if (est_anglophone()) + { + $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffectionEng']); + $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultationEng']); + } + else + { + $libelleAffection = $this->nettoyer($feuillemaladie['libelleAffection']); + $raisonconsultation = $this->nettoyer($feuillemaladie['raisonconsultation']); + } + + $AffectionVisible = $_SESSION['AffectionVisible']; + + if($AffectionVisible!="1") + { + $libelleAffection = $codeAffection; + } + ?> + " disabled > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + nettoyer($diagnostic['id']); + $supprime = $this->nettoyer($diagnostic['supprime']); + + $codeAffection = $this->nettoyer($diagnostic['codeAffection']); + + if (est_anglophone()) + { + $libelleAffection = $this->nettoyer($diagnostic['libelleAffectionEng'])." => ".$codeAffection; + } + else + { + $libelleAffection = $this->nettoyer($diagnostic['libelleAffection'])." => ".$codeAffection; + } + + $AffectionVisible = $_SESSION['AffectionVisible']; + if($AffectionVisible!="1") + { + $libelleAffection = $codeAffection; + } + ?> + + + + + + + + + + + + + + +
Date Diagnostic User
User Date
nettoyer($diagnostic['dateSysteme'])) ?> nettoyer($diagnostic['codeUtilisateur']) ?> nettoyer($diagnostic['userSuppression']) ?> nettoyer($diagnostic['heueSuppression'])) ?>
+ +
diff --git a/Vue/Ajaxfactureconspop/geds.php b/Vue/Ajaxfactureconspop/geds.php new file mode 100644 index 0000000..5f051df --- /dev/null +++ b/Vue/Ajaxfactureconspop/geds.php @@ -0,0 +1,29 @@ +
+ +
+ + + + + + + + + + nettoyer($ged['idGed']); + $cheminFichier = $this->nettoyer($ged['cheminFichier']); + ?> + + + + + + + +
Date
nettoyer($ged['dateSysteme'])) ?>nettoyer($ged['nomOrigine']) ?> + +
+
+ +
diff --git a/Vue/Ajaxfactureconspop/index.php b/Vue/Ajaxfactureconspop/index.php new file mode 100644 index 0000000..daee010 --- /dev/null +++ b/Vue/Ajaxfactureconspop/index.php @@ -0,0 +1,127 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
E-mail / Tel
Date User
+ + + + + + + + + + + + +
+ +
diff --git a/Vue/Ajaxfactureconspop/medicaments.php b/Vue/Ajaxfactureconspop/medicaments.php new file mode 100644 index 0000000..eb8774e --- /dev/null +++ b/Vue/Ajaxfactureconspop/medicaments.php @@ -0,0 +1,52 @@ +
+ + + " disabled > + + + + + + + + + + + + + + + + nettoyer($medicament['ententePrealable']); + $libelleMedicament = $this->nettoyer($medicament['libelleMedicament']); + $codeMedicament = $this->nettoyer($medicament['codeMedicament']); + + if($actVisible!="1") + { + $libelleMedicament = $codeMedicament; + } + ?> + + + + + + + + + + + + + + + + + + + +
Date
nettoyer($medicament['dateSysteme'])) ?> nettoyer($medicament['valeurActe'])) ?> nettoyer($medicament['quantite']) ?> nettoyer($medicament['fraisReel'])) ?> nettoyer($medicament['montantTm'])) ?> nettoyer($medicament['montantArembourser'])) ?>
+
diff --git a/Vue/Ajaxfactureconspop/prestationactes.php b/Vue/Ajaxfactureconspop/prestationactes.php new file mode 100644 index 0000000..20c3665 --- /dev/null +++ b/Vue/Ajaxfactureconspop/prestationactes.php @@ -0,0 +1,66 @@ +
+ + + " disabled > + + + + + + + + + + + + + + + + + + nettoyer($prestation['codeTypePrestation']); + $ententePrealable = $this->nettoyer($prestation['ententePrealable']); + $autorisation = $this->nettoyer($prestation['autorisation']); + + $codeActe = $this->nettoyer($prestation['codeActe']); + if (est_anglophone()) + { + $libelleActe = $this->nettoyer($prestation['libelleActeEng']); + } + else + { + $libelleActe = $this->nettoyer($prestation['libelleActe']); + } + + if($actVisible!="1") + { + $libelleActe = $codeActe; + } + ?> + + + + + + + + + + + + + + + + + + + + + +
Date Val
nettoyer($prestation['dateSysteme'])) ?> nettoyer($prestation['valeurActe'])) ?> nettoyer($prestation['quantite']) ?> nettoyer($prestation['fraisReel'])) ?> nettoyer($prestation['montantTm'])) ?> nettoyer($prestation['montantArembourser'])) ?> nettoyer($prestation['valide']) ?>
+
diff --git a/Vue/Ajaxfactureconspop/verres.php b/Vue/Ajaxfactureconspop/verres.php new file mode 100644 index 0000000..b48a6c0 --- /dev/null +++ b/Vue/Ajaxfactureconspop/verres.php @@ -0,0 +1,35 @@ +
+ + + " disabled > + + + + + + + + + + + + nettoyer($verre['libelleVerre']); + $codeOptique = $this->nettoyer($verre['codeOptique']); + + if($actVisible!="1") + { + $libelleVerre = $codeOptique; + } + ?> + + + + + + + +
Date
nettoyer($verre['dateSysteme'])) ?> nettoyer($verre['valeurActe'])) ?>
+