34 lines
1.0 KiB
PHP
34 lines
1.0 KiB
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Facturesansbon.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Ouinon.php';
|
|
|
|
class ControleurFacturesansboncso extends Controleur {
|
|
private $facture;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Facturesansboncso');
|
|
|
|
$this->facture = new Facturesansbon();
|
|
$this->ouinonhospit = (new Ouinon())->getListe();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$codePrestataire = $_SESSION['codePrestataire_C'];
|
|
|
|
$this->facture->init_facture_sans_bon();
|
|
|
|
$facture = $this->facture->getfacture_sans_bon_temp();
|
|
|
|
$prestations = $this->facture->getprestations_sans_bon_temp();
|
|
|
|
$garantieadherent_temp = $this->facture->afficher_garantieadherent_temp();
|
|
|
|
$this->genererVue(array('facture' => $facture, 'prestations' => $prestations,
|
|
'garantieadherent_temp' => $garantieadherent_temp, 'ouinonhospit' => $this->ouinonhospit));
|
|
}
|
|
} |