Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back to patient button on Prescriptions and Amendments #1606

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions interface/patient_file/summary/left_frame.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,24 @@

<span class="title"><?php echo text($featureData[$feature]['title']); ?></span>
<table>
<tr height="20px">
<td>
<tr height="20px">
<td>

<a href="<?php echo $GLOBALS['webroot']?>/interface/patient_file/summary/<?php echo attr($featureData[$feature]['listLink']); ?>?id=<?php echo attr($pid); ?>" target='rightFrame' class="css_button" onclick="top.restoreSession()">
<span><?php echo xlt('List');?></span></a>
<?php if ( acl_check('patients', 'trans') ) { ?>
<a href="<?php echo $GLOBALS['webroot']?>/interface/patient_file/summary/<?php echo attr($featureData[$feature]['addLink']); ?>" target='rightFrame' class="css_button" onclick="top.restoreSession()">
<span><?php echo xlt('Add');?></span></a>
<?php } ?>
</td>
</tr>
<a href="<?php echo $GLOBALS['webroot']?>/interface/patient_file/summary/<?php echo attr($featureData[$feature]['listLink']); ?>?id=<?php echo attr($pid); ?>" target='rightFrame' class="css_button" onclick="top.restoreSession()">
<span><?php echo xlt('List');?></span></a>
<?php if ( acl_check('patients', 'trans') ) { ?>
<a href="<?php echo $GLOBALS['webroot']?>/interface/patient_file/summary/<?php echo attr($featureData[$feature]['addLink']); ?>" target='rightFrame' class="css_button" onclick="top.restoreSession()">
<span><?php echo xlt('Add');?></span></a>
<?php } ?>
</td>
</tr>
<tr>
<td>
<a class="css_button large_button" href="demographics.php" target="pat" onclick="top.restoreSession()">
<span class="css_button_span large_button_span"><?php echo xlt('Back to Patient');?></span>
</a>
</td>
</tr>
</table>
</body>
</html>
7 changes: 7 additions & 0 deletions interface/patient_file/summary/rx_left.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
<span><?php xl('Add','e');?></span></a>
</td>
</tr>
<tr>
<td>
<a class="css_button large_button" href="demographics.php" target="pat" onclick="top.restoreSession()">
<span class="css_button_span large_button_span"><?php echo xlt('Back to Patient');?></span>
</a>
</td>
</tr>
</table>

</body>
Expand Down