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 status delete alert in patient event panel #1158

Merged
merged 2 commits into from May 28, 2018

Conversation

apooravc
Copy link
Contributor

@apooravc apooravc commented May 26, 2018

Added an alert so that users can re-confirm their decision when deleting patient appointments by selecting status "Delete" and clicking save in event panel. Please have a look @teryhill

@apooravc
Copy link
Contributor Author

Adding this for tracking appointment-delete-related PRs #1116

@teryhill teryhill self-requested a review May 26, 2018 22:31
@apooravc
Copy link
Contributor Author

Added an alert Cannot create an Appointment with status Deleted to prevent user from making an event with status "Deleted".

Copy link
Contributor

@aethelwulffe aethelwulffe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested several "scenarios" for the appointments...I don't see any issues, but we should apply this to a "real" database and check again to make sure nothing weird happens. I will stick it on my "double-check" deployment list.
-We really need to start maintaining a "feature change version log".

return false;
}
//alert user if creating appt. with status "Delete";
alert('<?php echo addslashes(xl("Cannot create an Appointment with status Deleted")); ?>');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new appt. view model could simply hide that status option...

@aethelwulffe aethelwulffe merged commit 944ccbd into LibreHealthIO:master May 28, 2018
@apooravc apooravc deleted the status-delete-alert branch July 13, 2018 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants