validation Fiche police
This commit is contained in:
parent
b3d9013e26
commit
59c6707f84
|
|
@ -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'];
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user