diff --git a/Controleur/ControleurAjaxfacturesfamille.php b/Controleur/ControleurAjaxfacturesfamille.php new file mode 100644 index 0000000..def944b --- /dev/null +++ b/Controleur/ControleurAjaxfacturesfamille.php @@ -0,0 +1,22 @@ +facture = new Facture(); + } + + public function index() + { + $idAdherent = $_SESSION['idAdherent_C']; + $d1 = $this->requete->getParametreDate("d1"); + $d2 = $this->requete->getParametreDate("d2"); + + $factures = $this->facture->getfacturesfamille($idAdherent, $d1, $d2) ; + + $this->genererVueAjax(array('factures' => $factures)); + } +} \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index 79e33fa..5d69867 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -3177,3 +3177,26 @@ function factures_famille_2() { window.location.assign($("#racineWeb" ).val()+"Facturesfamilleadh/"); } + +function listerfacturefamille() +{ + d1=$("#d1").val(); + d2=$("#d2").val(); + + donnees = 'd1='+d1+'&d2='+d2; + + $("#div_dossiers").html('
' + 'Veuillez patienter... / Please wait...' + '| Type | += _("No Bon") ?> | += _("Id Fact") ?> | +Date | += _("Prestataire") ?> | += _("Bénéficiaire") ?> | += _("Frais") ?> | += _("T M") ?> | += _("A Remb") ?> | += _("Dépas") ?> | += _("Ret") ?> | +
|---|---|---|---|---|---|---|---|---|---|---|
| = $codeTypeFacture ?> | += $numeroBon ?> | + ++ + | + += dateheureLang($this->nettoyer($facture['dateSysteme'])) ?> | += $this->nettoyer($facture['prestataire']) ?> | += $this->nettoyer($facture['beneficiaire']) ?> | += format_N($this->nettoyer($facture['fraisReel'])) ?> | += format_N($this->nettoyer($facture['montantTm'])) ?> | += format_N($this->nettoyer($facture['montantArembourser'])) ?> | += format_N($this->nettoyer($facture['fraisExclu'])) ?> | += format_N($this->nettoyer($facture['fraisRetenu'])) ?> | +