prestation/Controleur/ControleurAjaxinitnbecheance.php
2025-12-05 10:42:46 +00:00

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));
}
}