Skip to content

Commit

Permalink
Merge pull request #2300 from sparc-request/jl-inactice-service-displ…
Browse files Browse the repository at this point in the history
…ay-bug

Jl - Inactive service display bug
  • Loading branch information
Stuart-Johnson committed Apr 17, 2020
2 parents 8e42199 + 65e87c3 commit a8c4d61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/dashboard/sub_service_requests/_tabs.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
.tabs.w-100#adminTabs
%nav.nav.nav-tabs.nav-justified.border-bottom-0{ role: 'tablist' }
= link_to t('dashboard.sub_service_requests.request_details.header'), refresh_tab_dashboard_sub_service_request_path(sub_service_request, tab: 'details'), remote: true, id: 'detailsTabLink', class: ['nav-link nav-item h4 mb-0', tab == 'details' ? 'active' : ''], role: 'tab', data: { toggle: 'tab' }, aria: { controls: 'detailsTab', selected: (tab == 'details').to_s }
- if sub_service_request.process_ssrs_organization.has_per_patient_per_visit_services?(is_available: true)
- if sub_service_request.process_ssrs_organization.has_per_patient_per_visit_services?
= link_to t('dashboard.sub_service_requests.study_schedule.header'), refresh_tab_dashboard_sub_service_request_path(sub_service_request, tab: 'study_schedule'), remote: true, id: 'studyScheduleTabLink', class: ['nav-link nav-item h4 mb-0', tab == 'study_schedule' ? 'active' : ''], role: 'tab', data: { toggle: 'tab' }, aria: { controls: 'studyScheduleTab', selected: (tab == 'study_schedule').to_s }
- if sub_service_request.process_ssrs_organization.has_one_time_fee_services?(is_available: true)
- if sub_service_request.process_ssrs_organization.has_one_time_fee_services?
= link_to t('dashboard.sub_service_requests.study_level_activities.header'), refresh_tab_dashboard_sub_service_request_path(sub_service_request, tab: 'study_level_activities'), remote: true, id: 'studyLevelActivitiesTabLink', class: ['nav-link nav-item h4 mb-0', tab == 'study_level_activities' ? 'active' : ''], role: 'tab', data: { toggle: 'tab' }, aria: { controls: 'studyLevelActivitiesTab', selected: (tab == 'study_level_activities').to_s }
= link_to t('dashboard.sub_service_requests.history.header'), refresh_tab_dashboard_sub_service_request_path(sub_service_request, tab: 'history'), remote: true, id: 'historyTabLink', class: ['nav-link nav-item h4 mb-0', tab == 'history' ? 'active' : ''], role: 'tab', data: { toggle: 'tab' }, aria: { controls: 'historyTab', selected: (tab == 'history').to_s }
= link_to refresh_tab_dashboard_sub_service_request_path(sub_service_request, tab: 'notifications'), remote: true, id: 'notificationsTabLink', class: ['nav-link nav-item h4 mb-0', tab == 'notifications' ? 'active' : ''], role: 'tab', data: { toggle: 'tab' }, aria: { controls: 'notificationsTab', selected: (tab == 'notifications').to_s } do
Expand Down

0 comments on commit a8c4d61

Please sign in to comment.