This commit is contained in:
KANE LAZENI 2026-01-04 16:59:02 +00:00
parent f871174cbd
commit 4f70d72e1c
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@
require_once 'vendor/autoload.php';
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
require_once 'Framework/Controleurrequete.php'; // OK
require_once 'Modele/Beneficiaire.php';
require_once 'Modele/Avenant.php';

View File

@ -4,7 +4,8 @@ class Avenant extends Modele {
public function getAvenant($idPolice)
{
$sql = 'call sp_avenants_police(?)';
// $sql = 'call sp_avenants_police(?)';
$sql = 'call sp_avenants_police_client(?)';
$resultat = $this->executerRequete($sql, array($idPolice));