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(` +
| = _("No Feuille") ?> | ++ + | = _("Date Cons") ?> | ++ + | = _("Prestataire") ?> | ++ + | = _("Médecin") ?> | ++ |
| = _("Bon Cons") ?> | ++ + | = _("Bon Phar") ?> | ++ + | = _("Bon Hospit") ?> | ++ + | = _("Bon Opt") ?> | ++ |
| = _("Bon Exam") ?> | ++ + | = _("Bon Kine") ?> | ++ + | = _("Chambre") ?> | ++ + | = _("Rais Cons") ?> | ++ |
| = _("Affection") ?> | ++ + | +||||||
| Date | +Diagnostic | +User | += _("Suppression") ?> | +|
|---|---|---|---|---|
| User | +Date | +|||
| = dateheureLang($this->nettoyer($diagnostic['dateSysteme'])) ?> | += $libelleAffection ?> | += $this->nettoyer($diagnostic['codeUtilisateur']) ?> | + += $this->nettoyer($diagnostic['userSuppression']) ?> | += dateheureLang($this->nettoyer($diagnostic['heueSuppression'])) ?> | +
| Date | += _("Document GED") ?> | += _("Télécharger") ?> | + + + + nettoyer($ged['idGed']); + $cheminFichier = $this->nettoyer($ged['cheminFichier']); + ?> +
|---|---|---|
| = dateheureLang($this->nettoyer($ged['dateSysteme'])) ?> | += $this->nettoyer($ged['nomOrigine']) ?> | ++ = _("Télécharger") ?> + | +
| = _("ID Facture") ?> | ++ + | = _("No Bénéf") ?> | ++ + | = _("Bénéficiaire") ?> | ++ + | = _("Adhérent") ?> | ++ | ||
| = _("Police") ?> | ++ + | = _("Catégorie") ?> | ++ + | E-mail / Tel | ++ + | = _("Client") ?> | ++ | ||
| Date | ++ + | User | ++ + | = _("Prestataire") ?> | ++ + | = _("Etat") ?> | ++ | ||
| = _("Frais") ?> | ++ + | = _("T M") ?> | ++ + | = _("A Remb") ?> | ++ + | = _("Dépas") ?> | ++ | ||
| = _("Retenu") ?> | ++ + | = _("Forcé") ?> | ++ + | = _("Redressé") ?> | ++ + | = _("A payer") ?> | ++ | ||
| = _("T P") ?> | + ++ + | + + + | = _("Gest Conf") ?> | + ++ + | + + + | = _("No Décpte") ?> | ++ + | = _("No Lot") ?> | ++ |
| = _("Vérif") ?> | ++ + | = _("Date Décpte") ?> | ++ + | = _("Date Rgt") ?> | ++ + | = _("Réglé") ?> | ++ |
| + | + | + | + | + |
| Date | += _("Médicament") ?> | += _("Valeur") ?> | += _("Qtité") ?> | += _("Frais") ?> | += _("T M") ?> | += _("A Remb") ?> | +
|---|---|---|---|---|---|---|
| = dateheureLang($this->nettoyer($medicament['dateSysteme'])) ?> | += $libelleMedicament?> | += format_N($this->nettoyer($medicament['valeurActe'])) ?> | += $this->nettoyer($medicament['quantite']) ?> | += format_N($this->nettoyer($medicament['fraisReel'])) ?> | += format_N($this->nettoyer($medicament['montantTm'])) ?> | += format_N($this->nettoyer($medicament['montantArembourser'])) ?> | +
| Date | += _("Acte") ?> | += _("Valeur") ?> | += _("Qtité") ?> | += _("Frais") ?> | += _("T M") ?> | += _("A Remb") ?> | +Val | +|
|---|---|---|---|---|---|---|---|---|
| = dateheureLang($this->nettoyer($prestation['dateSysteme'])) ?> | += $codeTypePrestation ?> | += $libelleActe ?> | += format_N($this->nettoyer($prestation['valeurActe'])) ?> | += $this->nettoyer($prestation['quantite']) ?> | += format_N($this->nettoyer($prestation['fraisReel'])) ?> | += format_N($this->nettoyer($prestation['montantTm'])) ?> | += format_N($this->nettoyer($prestation['montantArembourser'])) ?> | += $this->nettoyer($prestation['valide']) ?> | +
| Date | += _("Verres") ?> | += _("Valeur") ?> | +
|---|---|---|
| = dateheureLang($this->nettoyer($verre['dateSysteme'])) ?> | += $libelleVerre?> | += format_N($this->nettoyer($verre['valeurActe'])) ?> | +