Changeset 15069 for main


Ignore:
Timestamp:
30 Jun 2018, 06:06:26 (6 years ago)
Author:
Henrik Bettermann
Message:

Start customizing STUDY_MODES_DICT and MODE_GROUPS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/utils/utils.py

    r15041 r15069  
    5656        'certificate': 'Certificate Fee',
    5757        }
     58
     59    STUDY_MODES_DICT = {
     60        'ume_ft': 'UME Full Time',
     61        'ug_ft': 'Undergraduate Full Time',
     62        'ug_pt': 'Undergraduate Part Time',
     63        'dp_pt': 'Diploma Part Time',
     64        'ct_ft': 'Certificate Full Time',
     65        'dp_ft': 'Diploma Full Time',
     66        'de_ft': 'Direct Entry Full Time',
     67        'de_pt': 'Direct Entry Part Time',
     68        'nd_ft': 'National Diploma Full Time',
     69        'nd_pt': 'National Diploma Part Time',
     70        'hnd_ft': 'Higher National Diploma Full Time',
     71        'hnd_pt': 'Higher National Diploma Part Time',
     72        'pg_ft': 'Postgraduate Full Time',
     73        'pg_pt': 'Postgraduate Part Time',
     74        'pgd_ft': 'Postgraduate Diploma Full Time',
     75        'pgd_pt': 'Postgraduate Diploma Part Time',
     76        'special_pg_pt': 'Special Postgraduate Part Time',
     77        'nce_ft': 'NCE Full Time',
     78        'nce_pt': 'NCE Part Time',
     79        'ug_sw': 'Undergraduate Sandwich',
     80        'nce_sw': 'NCE Sandwich',
     81        'jm_ft': 'Joint Matriculation Full Time',
     82        'ph_ft': 'Post Higher Education Full Time',
     83        'transfer_pt': 'Transfer Part Time',
     84        'transfer_ft': 'Transfer Full Time',
     85        'ct_pt': 'Certificate Part Time',
     86        'rmd_ft': 'Remedial with deficiencies',
     87        'rm_ft': 'Remedial',
     88        'transfer': 'Transfer',
     89        'prence': 'Pre-NCE',
     90        'prend': 'Pre-ND',
     91        'pce': 'PCE',
     92        'pd_ft': 'Professional Diploma in Education',
     93        'found': 'Foundation',
     94        'no': 'no application',
     95        }
     96
     97    MODE_GROUPS = {
     98        'All': ('all',),
     99        'Undergraduate Full-Time': ('ug_ft',),
     100        'Undergraduate Part-Time': ('ug_pt',),
     101        'Postgraduate Full-Time': ('pg_ft',),
     102        'Postgraduate Part-Time': ('pg_pt',),
     103        }
Note: See TracChangeset for help on using the changeset viewer.