able to find by vendor.

This commit is contained in:
Bryce Covert
2020-07-27 21:49:21 -07:00
parent fdc1d3e9e4
commit a1946f0d6e
4 changed files with 97 additions and 11 deletions

View File

@@ -47,6 +47,11 @@
:where ['[?e :transaction-rule/client ?client-id]]}
:args [(:client-id args)]})
(:vendor-id args)
(merge-query {:query {:in ['?vendor-id]
:where ['[?e :transaction-rule/vendor ?vendor-id]]}
:args [(:vendor-id args)]})
true
(merge-query {:query {:find ['?e]
:where ['[?e :transaction-rule/transaction-approval-status]]}}))]