Ignore:
Timestamp:
8 Apr 2020, 19:26:38 (5 years ago)
Author:
Henrik Bettermann
Message:

Add NYSC certificate file upload.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser.py

    r16051 r16052  
    184184            and self.target.startswith('pg'):
    185185            return False
     186        if filename[1] == 'nysc.pdf' \
     187            and self.target is not None \
     188            and not self.target.startswith('pg'):
     189            return False
    186190        return True
    187191
     
    252256class AdvancedLevelResult(AdditionalFile):
    253257    grok.name('alr_scan.pdf')
     258
     259class NYSCCertificate(AdditionalFile):
     260    grok.name('nysc.pdf')
Note: See TracChangeset for help on using the changeset viewer.