Ignore:
Timestamp:
26 Feb 2020, 20:42:38 (5 years ago)
Author:
Henrik Bettermann
Message:

Add more file upload options and ensure that the file names correspond to the file names in the student section (so that they are being copied over).

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

    r15947 r16014  
    199199
    200200class ResultStatement(AdditionalFile):
    201     """Renders the pdf form extension for applicants.
    202     """
    203201    grok.name('res_stat.pdf')
    204202
    205203class JAMBResult(AdditionalFile):
    206     """Renders the pdf form extension for applicants.
    207     """
    208204    grok.name('jamb.pdf')
     205
     206class FirstSitting(AdditionalFile):
     207    grok.name('fst_sit_scan.pdf')
     208
     209class SecondSitting(AdditionalFile):
     210    grok.name('scd_sit_scan.pdf')
     211
     212class HighQual(AdditionalFile):
     213    grok.name('hq_scan.pdf')
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/utils.py

    r15947 r16014  
    3030    """
    3131
    32     ADDITIONAL_FILES = (('Statement of Result','res_stat.pdf'),
    33                  ('JAMB Result','jamb.pdf'))
     32    ADDITIONAL_FILES = (
     33                 ('First Sitting Result','fst_sit_scan.pdf'),
     34                 ('Second Sitting Result','scd_sit_scan.pdf'),
     35                 ('Higher Qualification Result','hq_scan.pdf'),
     36                 ('Advanced Level Result','alr_scan.pdf'),
     37                 ('Statement of Result','res_stat.pdf'),
     38                 )
    3439
    3540    APP_TYPES_DICT = {
Note: See TracChangeset for help on using the changeset viewer.