19 lines
564 B
PHP
Executable File
19 lines
564 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Typeecheancier.php';
|
|
|
|
class ControleurAjaxinitnbecheance extends Controleur {
|
|
private $typeecheancier;
|
|
|
|
public function __construct() {
|
|
$this->typeecheancier = new Typeecheancier();
|
|
}
|
|
|
|
public function index() {
|
|
$codeTypeEcheancier = $this->requete->getParametreFormulaire("codeTypeEcheancier");
|
|
|
|
$nbEcheance_info = $this->typeecheancier->getNbEcheancier($codeTypeEcheancier);
|
|
|
|
$this->genererVueAjax(array('nbEcheance_info' => $nbEcheance_info));
|
|
}
|
|
} |