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 +