Import initial du projet Production
This commit is contained in:
26
Controleur/ControleurAjaxconsultationpha.php
Normal file
26
Controleur/ControleurAjaxconsultationpha.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Facture.php';
|
||||
|
||||
class ControleurAjaxconsultationpha extends Controleur {
|
||||
private $facture;
|
||||
|
||||
public function __construct() {
|
||||
$this->facture = new Facture();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$codePrestataire = $_SESSION['p_codePrestataire_C'];
|
||||
|
||||
$d1 = $this->requete->getParametreDate("d1");
|
||||
$d2 = $this->requete->getParametreDate("d2");
|
||||
|
||||
$_SESSION['p_d1_C'] = $d1;
|
||||
$_SESSION['p_d2_C'] = $d2;
|
||||
|
||||
$factures = $this->facture->getfacturesprestatairecons($codePrestataire, $d1, $d2) ;
|
||||
|
||||
$this->genererVueAjax(array('factures' => $factures));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user