Skip to content

Commit

Permalink
Merge pull request #2822 from sparc-request/yw-study_level_acivities_bug
Browse files Browse the repository at this point in the history
add non-clinical service error without fulfillment fix
  • Loading branch information
Stuart-Johnson committed Feb 2, 2022
2 parents 7970d9c + 0de2e91 commit cd58974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/dashboard/study_level_activities/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- url = action_name == 'new' ? dashboard_study_level_activities_path : dashboard_study_level_activity_path(line_item)
- fulfillment_line_items = Shard::Fulfillment::LineItem.where(sparc_id: line_item.id)
- service_disabled = (fulfillment_line_items.size > 0) && (fulfillment_line_items.first.fulfillments.size > 0) ? true : false
- service_disabled = Setting.get_value('fulfillment_contingent_on_catalog_manager') && (fulfillment_line_items.size > 0) && (fulfillment_line_items.first.fulfillments.size > 0) ? true : false

.modal-dialog{ role: 'document' }
.modal-content
Expand Down

0 comments on commit cd58974

Please sign in to comment.