From cc232b0744eef0c56c1596f54ef4e7afe8b713a2 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sat, 3 Jan 2026 13:11:46 +0000 Subject: [PATCH] a --- Modele/Avenant.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modele/Avenant.php b/Modele/Avenant.php index e21bcc4..0cccca8 100644 --- a/Modele/Avenant.php +++ b/Modele/Avenant.php @@ -65,7 +65,7 @@ class Avenant extends Modele { WHERE (A.idPolice=?) AND (B.ajoutAliment="1") AND (A.codeTypeAvenant IN ("AFN","INC","RET")) AND (A.dateEffet>=P.dateEffet) - and A.ajoutClient="1" + AND (A.ajoutClient="1") ORDER BY A.numeroAvenant DESC;'; } else @@ -77,6 +77,7 @@ class Avenant extends Modele { 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;'; }