Changeset 15858


Ignore:
Timestamp:
27 Nov 2019, 09:17:47 (5 years ago)
Author:
Henrik Bettermann
Message:

Add COMBINED UG FULL TIME APPLICATION type with subtypes.

Location:
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
Files:
3 edited

Legend:

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

    r15838 r15858  
    6262    )
    6363
     64subtype_vocab = SimpleKofaVocabulary(
     65    (_('UTME'), 'utme'),
     66    (_('Direct Entry'), 'de'),
     67    (_('Inter Uni Transfer'), 'transfer'),
     68    )
     69
    6470class ICustomUGApplicant(IApplicantBaseData):
    6571    """An undergraduate applicant.
     
    7076    """
    7177
     78    subtype = schema.Choice(
     79        title = _(u'Application Subtype'),
     80        vocabulary = subtype_vocab,
     81        required = False,
     82        )
    7283    disabilities = schema.Choice(
    7384        title = _(u'Disability'),
     
    172183        defaultFactory=list,
    173184        )
     185    hq_type = schema.Choice(
     186        title = _(u'Qualification Obtained'),
     187        required = False,
     188        readonly = False,
     189        vocabulary = high_qual,
     190        )
     191    hq_matric_no = schema.TextLine(
     192        title = _(u'Former Matric Number'),
     193        required = False,
     194        readonly = False,
     195        )
     196    hq_degree = schema.Choice(
     197        title = _(u'Class of Degree'),
     198        required = False,
     199        readonly = False,
     200        vocabulary = high_grade,
     201        )
     202    hq_school = schema.TextLine(
     203        title = _(u'Institution Attended'),
     204        required = False,
     205        readonly = False,
     206        )
     207    hq_session = schema.TextLine(
     208        title = _(u'Years Attended'),
     209        required = False,
     210        readonly = False,
     211        )
     212    hq_disc = schema.TextLine(
     213        title = _(u'Discipline'),
     214        required = False,
     215        readonly = False,
     216        )
     217    jamb_subjects = schema.Text(
     218        title = _(u'Subjects and Scores'),
     219        required = False,
     220        )
    174221    jamb_subjects = schema.Text(
    175222        title = _(u'Subjects and Scores'),
     
    240287        )
    241288
     289ICustomUGApplicant[
     290    'subtype'].order =  ICustomUGApplicant['lga'].order
    242291ICustomUGApplicant[
    243292    'locked'].order =  ICustomUGApplicant['suspended'].order
     
    293342        """
    294343
    295 class ICustomUGApplicantEdit(INigeriaUGApplicantEdit):
     344class ICustomUGApplicantEdit(ICustomUGApplicant):
    296345    """An undergraduate applicant interface for edit forms.
    297346
     
    305354    """
    306355
    307 class ICustomPGApplicantEdit(INigeriaPGApplicantEdit):
     356class ICustomPGApplicantEdit(ICustomPGApplicant):
    308357    """A postgraduate applicant interface for editing.
    309358
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/utils.py

    r15762 r15858  
    4444        'ase': ['Admission Screening Exercise', 'ASE'], # successor of putme
    4545        'pg': ['Postgraduate Programmes', 'PG'],
     46        'ug': ['Undergraduate Programmes', 'UG'],
    4647        }
     48
     49    SEPARATORS_DICT = {
     50        'form.applicant_id': _(u'Base Data'),
     51        'form.course1': _(u'Programmes/Courses Desired'),
     52        'form.hq_type': _(u'Higher Education Record (where applicable)'),
     53        'form.presently': _(u'Course or Programme Presently Attending'),
     54        'form.nysc_year': _(u'NYSC Information'),
     55        'form.employer': _(u'Employment History'),
     56        'form.jamb_subjects': _(u'JAMB Data'),
     57        'form.jamb_subjects_list': _(u'JAMB Data'),
     58        'form.notice': _(u'Application Process Information'),
     59        'form.pp_school': _(u'Post Primary School Qualification'),
     60        'form.presently_inst': _(u'Presently attending a course or programme'),
     61        'form.fst_sit_fname': _(u'First Sitting Record'),
     62        'form.scd_sit_fname': _(u'Second Sitting Record'),
     63        'form.referees': _(u'Referees'),
     64        }
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py

    r15809 r15858  
    147147        'basic': 'UAS, PUTME, PUDE, PCE, PRENCE',
    148148        'no': 'No Application',
    149         'pg': 'Postgraduate',
     149        'pg': 'Postgraduate Programmes',
    150150        'pre': 'Pre-Degree Studies',
    151151        'pt': 'Part-Time Degree Programmes',
     152        'ut': 'Undergraduate Programmes',
    152153        }
Note: See TracChangeset for help on using the changeset viewer.