From f8b21275befdc1e721b779504345a703059ac335 Mon Sep 17 00:00:00 2001 From: Audrey Hamelers Date: Thu, 19 Sep 2024 21:12:51 +0200 Subject: [PATCH] Closes https://github.com/datadryad/dryad-product-roadmap/issues/3658 --- app/views/stash_datacite/resources/_payment.html.erb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/stash_datacite/resources/_payment.html.erb b/app/views/stash_datacite/resources/_payment.html.erb index aba8019635..d952d31a6f 100644 --- a/app/views/stash_datacite/resources/_payment.html.erb +++ b/app/views/stash_datacite/resources/_payment.html.erb @@ -1,7 +1,6 @@ -<% if @resource.identifier.payment_type.blank? || @resource.identifier.payment_type == 'unknown' %>

Payment

<% submitter_affiliation = @resource.identifier.submitter_affiliation %> @@ -32,7 +31,7 @@ <% else %>

This submission does not require a payment.

<% end %> - <% if @resource.identifier.user_must_pay? || @resource.identifier.institution_will_pay? %> + <% if (@resource.identifier.payment_type.blank? || @resource.identifier.payment_type == 'unknown') && (@resource.identifier.user_must_pay? || @resource.identifier.institution_will_pay?) %> <% if @resource.identifier.user_must_pay? %>

Are you affiliated with a Dryad member institution that could sponsor this fee?

<% if @aff_tenant.present? %> @@ -49,5 +48,4 @@

Is this correct? Your author list affiliation <%= @aff_tenant.long_name %> is also a Dryad member.

<% end %> <% end %> -
-<% end %> \ No newline at end of file + \ No newline at end of file