validation Fiche police

This commit is contained in:
KONE SOREL 2025-12-26 18:09:57 +00:00
parent b3d9013e26
commit 59c6707f84

View File

@ -102,4 +102,12 @@ class Police extends Modele {
return $resultat->fetchAll(PDO::FETCH_ASSOC);
}
public function fn_primes_non_facturees_police($idPolice)
{
$sql = 'select fn_primes_non_facturees_police(?) as nb_non_facturees';
$resultat = $this->executerRequete($sql, array($idPolice));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['nb_non_facturees'];
}
}