This commit is contained in:
2026-01-03 14:19:05 +00:00
parent cc232b0744
commit b3996bbf91
2 changed files with 3 additions and 3 deletions

View File

@@ -62,8 +62,7 @@ class Avenant extends Modele {
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;';