This commit is contained in:
KANE LAZENI 2026-01-03 01:22:08 +00:00
parent 5d38ae391b
commit 29a5b65352
2 changed files with 3 additions and 3 deletions

View File

@ -25,13 +25,13 @@ class Typeavenant extends Modele
{ {
$sql = 'SELECT A.codeTypeAvenant as `code`, A.libelleEng as libelle FROM typeavenant A $sql = 'SELECT A.codeTypeAvenant as `code`, A.libelleEng as libelle FROM typeavenant A
join suiteavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) 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 else
{ {
$sql = 'SELECT A.codeTypeAvenant as `code`, A.libelle FROM typeavenant A $sql = 'SELECT A.codeTypeAvenant as `code`, A.libelle FROM typeavenant A
join suiteavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) 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)); $liste = $this->executerRequete($sql, array($oldCodeTypeAvenant));

View File

@ -14,7 +14,7 @@
$etatPolice = $police['etatPolice']; $etatPolice = $police['etatPolice'];
} }
?> ?>
KANE
<div id="div_fichepolice"> <div id="div_fichepolice">
<fieldset style='font-size:10pt;'> <fieldset style='font-size:10pt;'>
<legend> <?= _("Informations Police") ?> </legend> <legend> <?= _("Informations Police") ?> </legend>