Skip to content

Commit

Permalink
fix(rules): force require order state SUBMITTED for withdraw
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Apr 17, 2024
1 parent cb19845 commit d6bd943
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datasets/system/data/seed-data/rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,7 @@
"
context?.resources?.some(
resource => (
!resource.order_state
|| resource.order_state?.toString() === 'SUBMITTED'
resource.order_state?.toString() === 'SUBMITTED'
)
)
"
Expand Down

0 comments on commit d6bd943

Please sign in to comment.