Conversation
Adds an API endpoint to synchronize EMD (Emergency Dispatch Monitor) data from IntraRP. This endpoint receives vehicle data, validates it, and imports it into the `intra_edivi` table. It handles scenarios such as duplicate entries, dispatch assignment, and logging. Also removes the old EMD viewer, as it is replaced by the new synchronization logic.
Updates the EMD sync process to ensure unique ENRs are generated for each vehicle entry in the intra_edivi table. It now checks for existing ENRs with the same base dispatch ID and appends an incrementing suffix to create a unique identifier, preventing data conflicts and ensuring accurate record-keeping. Also, modifies the vehicle identifier to use identifier instead of name if the vehicle is not a 'Notarzt'.
Implements a feature to allow users to mark protocols as deleted, rather than permanently removing them from the database. This change introduces a `hidden_user` flag to the `intra_edivi` table, indicating if a protocol has been marked as deleted by a user. The list view now displays a "G" badge for protocols marked as deleted. A notification is also shown if a protocol has been deleted. It provides a button to delete all non released protocols. Includes database migration to add the `hidden_user` column.
Implements a new "hidden" status for E-Notf protocols, allowing administrators to hide entries without deleting them. This change: - Updates the database query to exclude hidden protocols from the default view. - Introduces a new status code (4) for "hidden" protocols. - Adds a visual representation for the "hidden" status in the list view. - Modifies the delete functionality to set the hidden status instead of deleting the entry.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Config dazu im intraTab