mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
allow to invite party
This commit is contained in:
1 parent
3604fb6461
commit
10fbdf6612
27 files changed
+322
-43
No files matched your search
@@ -23,4 +23,11 @@ module Templates
|
||||
|
||||
templates.where(Template.arel_table[:name].lower.matches("%#{keyword.downcase}%"))
|
||||
end
|
||||
|
||||
def filter_undefined_submitters(template)
|
||||
template.submitters.to_a.select do |item|
|
||||
item['invite_by_uuid'].blank? && item['linked_to_uuid'].blank? &&
|
||||
item['is_requester'].blank? && item['email'].blank?
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user