From 29a5b65352b6805ba9d654aebb699f71a54b5243 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sat, 3 Jan 2026 01:22:08 +0000 Subject: [PATCH] a --- Modele/Typeavenant.php | 4 ++-- Vue/Creeravenant/index.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Modele/Typeavenant.php b/Modele/Typeavenant.php index f9f36e6..f7a3b9e 100644 --- a/Modele/Typeavenant.php +++ b/Modele/Typeavenant.php @@ -25,13 +25,13 @@ class Typeavenant extends Modele { $sql = 'SELECT A.codeTypeAvenant as `code`, A.libelleEng as libelle FROM typeavenant A join suiteavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - where (B.oldCodeTypeAvenant=?) order by A.libelle'; + where (B.oldCodeTypeAvenant=?) and A.order by A.libelle'; } else { $sql = 'SELECT A.codeTypeAvenant as `code`, A.libelle FROM typeavenant A join suiteavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - where (B.oldCodeTypeAvenant=?) order by A.libelle'; + where (B.oldCodeTypeAvenant=?) and A.extranetClient="1" order by A.libelle'; } $liste = $this->executerRequete($sql, array($oldCodeTypeAvenant)); diff --git a/Vue/Creeravenant/index.php b/Vue/Creeravenant/index.php index 7c1427f..23efdb9 100644 --- a/Vue/Creeravenant/index.php +++ b/Vue/Creeravenant/index.php @@ -14,7 +14,7 @@ $etatPolice = $police['etatPolice']; } ?> -KANE +