makes signature show up and adds logging for why invoice might be imported wrong.

This commit is contained in:
2024-05-30 20:36:03 -07:00
parent e43f313ac0
commit bd3432f540
4 changed files with 30 additions and 7 deletions

View File

@@ -19,7 +19,8 @@
(cond (#{:user-role/admin "admin"} role)
true
(and client-id (not (get (into #{} (map :db/id (:clients user))) client-id)))
(and client-id (not (get (into #{} (map :db/id (or (:clients user)
(:user/clients user)))) client-id)))
false
(#{:user-role/power-user "power-user"} role)