Nouvel Adhérent

This commit is contained in:
2025-12-30 10:55:06 +00:00
parent ab855989cf
commit a009e04090
73 changed files with 16552 additions and 726 deletions

25
Modele/Adherent_temp.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
require_once 'Framework/Modele.php';
class Adherent_temp extends Modele {
public function getAdherent_temp($idCollege, $dateEntree, $user, $prorata)
{
$sql = 'call sp_init_adherent(?, ?, ?, ?)';
$adherent_temp = $this->executerRequete($sql, array($idCollege, $dateEntree, $user, $prorata));
return $adherent_temp->fetch(PDO::FETCH_ASSOC);
}
public function recapadherentfamilialetemp($idCollege, $dateEntree, $primeBase, $codeTypeEcheancier)
{
$codeCommercial = $_SESSION['codeApporteur_C'];
$user = $_SESSION['login'];
$sql = 'call sp_recap_prime_adherent_familiale_temp(?, ?, ?, ?, ?, ?)';
$resultat = $this->executerRequete($sql, array($idCollege, $dateEntree, $primeBase, $codeTypeEcheancier,
$codeCommercial, $user));
return $resultat->fetch(PDO::FETCH_ASSOC);
}
}