Import initial du projet Production
This commit is contained in:
44
Controleur/ControleurPaiementmobile.php
Normal file
44
Controleur/ControleurPaiementmobile.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
require_once 'Modele/Facture.php';
|
||||
require_once 'Modele/Societeusercentral.php';
|
||||
|
||||
class ControleurPaiementmobile extends Controleur {
|
||||
private $menuvue;
|
||||
private $facture;
|
||||
private $societeusercentral;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue("Paiementmobile");
|
||||
$this->societeusercentral = new societeusercentral();
|
||||
$this->facture = new Facture();
|
||||
|
||||
$_SESSION['modeDevis'] = "0";
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$idDossierClassique = $_SESSION['idDossierClassique'];
|
||||
$dossier = $this->facture->getdossierclassique($idDossierClassique);
|
||||
|
||||
$idReglement = $dossier['idReglement'];
|
||||
|
||||
$reglement = $this->facture->getPaiementMobile($idReglement);
|
||||
|
||||
$codeSociete = $_SESSION['codeSociete'];
|
||||
$parammobile = $this->societeusercentral->getSocieteusersPaiementMobile($codeSociete);
|
||||
$withdrawmodes = $this->societeusercentral->getWithdrawMode($codeSociete);
|
||||
|
||||
$this->genererVue
|
||||
(
|
||||
array
|
||||
(
|
||||
'reglement' => $reglement,
|
||||
'parammobile' => $parammobile,
|
||||
'withdrawmodes' => $withdrawmodes
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user