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

Add NYSC certificate file upload.

Location:
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants
Files:
2 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')
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/utils.py

    r16050 r16052  
    3737                 ('JAMB Result','jamb.pdf'),
    3838                 ('Statement of Result','res_stat.pdf'),
     39                 ('NYSC Certificate','nysc.pdf'),
    3940                 )
    4041
Note: See TracChangeset for help on using the changeset viewer.