show multiple signatures toggle on cloud
This commit is contained in:
@@ -123,7 +123,6 @@
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if !Docuseal.multitenant? %>
|
||||
<% account_config = AccountConfig.where(account: current_account, key: AccountConfig::ESIGNING_PREFERENCE_KEY).first_or_initialize(value: 'multiple') %>
|
||||
<% if can?(:manage, account_config) %>
|
||||
<div class="px-1 mt-8 max-w-xl">
|
||||
@@ -143,6 +142,5 @@
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -341,8 +341,6 @@ module Submissions
|
||||
def fetch_sign_reason(submitter)
|
||||
reason_name = submitter.email || submitter.name || submitter.phone
|
||||
|
||||
return sign_reason(reason_name) if Docuseal.multitenant?
|
||||
|
||||
config =
|
||||
if Docuseal.multitenant?
|
||||
AccountConfig.where(account: submitter.account, key: AccountConfig::ESIGNING_PREFERENCE_KEY)
|
||||
|
||||
Reference in New Issue
Block a user