* adds prefiltering of withdraws --> excludes withdraws of as deleted flagged interventions
* renders intervention-recorded icon into eco account withdraws details view
* fixes bug in case of document deleting which does not contain any files
* renames RecordForm into RecordModalForm for more clarity
@ -413,6 +413,8 @@ class RunCheckForm(BaseModalForm):
super().__init__(*args,**kwargs)
self.form_title=_("Run check")
self.form_caption=_("I, {}{}, confirm that all necessary control steps have been performed by myself.").format(self.user.first_name,self.user.last_name)
# Disable automatic w-100 setting for this type of modal form. Looks kinda strange
@ -359,7 +359,7 @@ class NewDocumentForm(BaseModalForm):
returndoc
classRecordForm(BaseModalForm):
classRecordModalForm(BaseModalForm):
""" Modal form for recording data
"""
@ -374,6 +374,8 @@ class RecordForm(BaseModalForm):
super().__init__(*args,**kwargs)
self.form_title=_("Record data")
self.form_caption=_("I, {}{}, confirm that all necessary control steps have been performed by myself.").format(self.user.first_name,self.user.last_name)
# Disable automatic w-100 setting for this type of modal form. Looks kinda strange