Add "payee is nothing" condition to rule if there is no payee set in a schedule (#4267)

* if no payee set in schedule, add payee = nothing to rule

* note
This commit is contained in:
Matt Fiddaman
2025-03-04 19:13:00 +00:00
committed by GitHub
parent 866f4891ce
commit a2fc6bdd31
2 changed files with 7 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ function updateScheduleConditions(
return { ...cond, value };
}
if (value != null) {
if (value != null || field === 'payee') {
return { op, field, value };
}

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [matt-fidd]
---
Add "payee is nothing" condition to rule if there is no payee set in a schedule