Skip to content
Snippets Groups Projects
Commit 677b7bce authored by xuechen5's avatar xuechen5
Browse files

GUI: Add invoked function to update database users role

parent fad3998b
No related branches found
No related tags found
2 merge requests!22Merge UC92 into Master,!15Merge 5-uc-92-activate-pre-registered-patient-2 into UC92v2
......@@ -40,11 +40,10 @@
request.getParameter("understand") != null && request.getParameter("understand").equals("I UNDERSTAND")) {
try {
action.activate();
long patientMID = action.getPatient().getMID();
ActivateAndDeactivatePreRegi activate = new ActivateAndDeactivatePreRegi(prodDAO, loggedInMID.longValue(), pidString);
long patientMID = action.getPatient().getMID();
activate.activate();
loggingAction.logEvent(TransactionType.PATIENT_ACTIVATE, loggedInMID.longValue(),
Long.valueOf((String)session.getAttribute("pid")).longValue(), "");
%>
......@@ -57,7 +56,9 @@
<div align=center>
<span class="iTrustMessage">Patient Successfully Activated! You can </span>
<a href="editPHR.jsp">Edit Patient</a>
<a href="editPHR.jsp" style="text-decoration: none;">
<input type=button value="Edit Patient" onClick="location='editPHR.jsp';">
</a>
</div>
<br /><br /><br /><br /><br />
<%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment