diff --git a/modules/client/back/models/defaulter.json b/modules/client/back/models/defaulter.json index 8d50356f1..b002fcca6 100644 --- a/modules/client/back/models/defaulter.json +++ b/modules/client/back/models/defaulter.json @@ -27,5 +27,6 @@ "model": "Client", "foreignKey": "clientFk" } - } + }, + "scope" : {"where": {"amount": {"gt": 0}}} } \ No newline at end of file