sxe
This commit is contained in:
parent
c2fe10f0b9
commit
1df1c58bc0
|
|
@ -3,13 +3,15 @@ require_once 'Framework/Modele.php';
|
|||
class Tabbaremeaccessoireavenant extends Modele{
|
||||
|
||||
public function getlisterbaremeaccessoireavenant(){
|
||||
$sql = "SELECT a.*, b.libelle AS typecontrat, b.libelleEng AS typecontratEng,
|
||||
c.libelle AS appli, c.libelleEng AS appliEng
|
||||
$sql = "SELECT a.*,
|
||||
b.libelle AS typecontrat,
|
||||
b.libelleEng AS typecontratEng,
|
||||
c.libelle AS appli,
|
||||
c.libelleEng AS appliEng
|
||||
FROM baremeaccessoireavevant a
|
||||
JOIN typecontrat b ON (b.codeTypeContrat = a.codeTypeContrat)
|
||||
JOIN applications c ON (c.codeApplication = a.codeApplication)
|
||||
WHERE (a.codeSociete =?)
|
||||
ORDER BY a.codeTypeContrat DESC, a.primeMin ASC;";
|
||||
WHERE (a.codeSociete =?) ORDER BY a.codeTypeContrat DESC, a.primeMax ASC;";
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($_SESSION['codeSociete']));
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user