allow to invite party

This commit is contained in:
Pete Matsyburka authored and Oleksandr Turchyn committed 2024-09-16 12:11:20 +03:00
1 parent 3604fb6461
commit 10fbdf6612
27 files changed
+322 -43

No files matched your search

+7
View File
@@ -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