Skip to content

Commit

Permalink
RA-1747:Remove or hide admit button
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertYiga committed Mar 1, 2021
1 parent 27573e6 commit 202f7d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions omod/src/main/webapp/pages/clinicianfacing/patient.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ ${ ui.includeFragment("coreapps", "patientHeader", [ patient: patient.patient, a
<h3 >${ ui.message("coreapps.clinicianfacing.activeVisitActions") }</h3>
<% visitActions.each { ext -> %>
<li class="float-left">
<% if((ext.label) != "Admit to inpatient") %>
<a href="${ ui.escapeJs(ext.url("/" + ui.contextPath(), appContextModel, ui.thisUrl())) }" id="${ ext.id }" class="float-left">
<div class="row">
<div class="col-1 col-lg-2">
Expand All @@ -128,6 +129,7 @@ ${ ui.includeFragment("coreapps", "patientHeader", [ patient: patient.patient, a
</div>
</div>
</a>
<% } %>
</li>
<% } %>
</ul>
Expand Down

0 comments on commit 202f7d9

Please sign in to comment.