Prevent recorded deduction deletion #217

Closed
opened 2022-10-11 15:10:59 +02:00 by mpeltriaux · 1 comment
Owner

Status quo

Related deductions can be removed from an eco account's detail view. Deductions which are related to an already recorded intervention, can be deleted as well. The related intervention will be unrecorded automatically by this action.

Fix

Deductions, which are related to an already recorded intervention, should not be deletable. Instead render the default "Data is recorded and cannot be edited" message.

Deleting deductions related to an unrecorded intervention is fine and works as intended.

# Status quo Related deductions can be removed from an eco account's detail view. Deductions which are related to an already recorded intervention, can be deleted as well. The related intervention will be unrecorded automatically by this action. # Fix Deductions, which are related to an already recorded intervention, should not be deletable. Instead render the default "Data is recorded and cannot be edited" message. Deleting deductions related to an unrecorded intervention is fine and works as intended.
mpeltriaux added the
bug
label 2022-10-11 15:10:59 +02:00
mpeltriaux self-assigned this 2022-10-11 15:10:59 +02:00
Author
Owner

Merged in #220

# Merged in #220
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IT-Naturschutz/konova#217
No description provided.