From b80f256cffbc35a566c563b9673bb1ba8993ebc4 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Sat, 17 Jan 2026 09:14:30 +0000 Subject: [PATCH] d --- Modele/Avenant.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Modele/Avenant.php b/Modele/Avenant.php index e49a1f0..cf300c1 100644 --- a/Modele/Avenant.php +++ b/Modele/Avenant.php @@ -67,11 +67,12 @@ class Avenant extends Modele { { if (est_anglophone()) { - $sql = 'SELECT A.id AS `code`, CONCAT(B.libelleEng, " of ",DATE_FORMAT(A.dateEffet, "%d/%m/%Y")) AS libelle + $sql = 'SELECT A.id AS `code`, CONCAT(B.libelleEng, " du ",DATE_FORMAT(A.dateEffet, "%d/%m/%Y"), " => ", A.motifavenant) AS libelle FROM avenant A JOIN typeavenant B ON (B.codeTypeAvenant=A.codeTypeAvenant) JOIN police P ON (P.id=A.idPolice) - + WHERE (A.idPolice=?) AND (B.ajoutAliment="1") + AND (A.codeTypeAvenant IN ("AFN","INC","RET")) AND (A.dateEffet>=P.dateEffet) AND (A.ajoutClient="1") ORDER BY A.numeroAvenant DESC;';