Changeset 17705 for main


Ignore:
Timestamp:
27 Feb 2024, 12:09:35 (9 months ago)
Author:
Henrik Bettermann
Message:

Add backdoor to edit blocked applicants,

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/batching.py

    r16472 r17705  
    114114                self.iface).keys())))
    115115
    116     def checkHeaders(self, headerfields, mode='create'):
     116    def cheadminckHeaders(self, headerfields, mode='create'):
    117117        cond1 = 'container_code' in headerfields
    118118        cond2 = 'application_number' in headerfields
     
    339339        problems.
    340340        """
    341         if obj.state == CREATED:
     341        # Block applicant with backdoor ...
     342        if obj.state == CREATED and obj.notice != 'reset':
    342343            return 'Applicant is blocked.'
    343344        return None
Note: See TracChangeset for help on using the changeset viewer.