22 lines
579 B
PHP
Executable File
22 lines
579 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Facture.php';
|
|
|
|
class ControleurAjaxfacturesfamille extends Controleur {
|
|
private $facture;
|
|
|
|
public function __construct() {
|
|
$this->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));
|
|
}
|
|
} |