prestation/Controleur/ControleurAjaxtarif.php
2025-12-01 18:54:33 +00:00

18 lines
582 B
PHP

<?php
require_once 'Framework/Controleur.php';
require_once 'Societes/'.$_SESSION['codeSociete'].'/Tarifs/Modele/Tarif.php';
class ControleurAjaxtarif extends Controleur {
private $tarif;
public function __construct() {
$this->tarif = new Tarif();
}
public function index() {
$codeSociete = $this->requete->getSession()->getAttribut('codeSociete');
$codePays = $this->requete->getParametreFormulaire("codePays");
$listeville = (new Ville())->getListe($codePays);
$this->genererVueAjax(array('listeville' => $listeville));
}
}