Ignore:
Timestamp:
27 Sep 2021, 06:17:08 (3 years ago)
Author:
Henrik Bettermann
Message:

Remove course1 and course2.

File:
1 edited

Legend:

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

    r16639 r16643  
    4242    INigeriaPGApplicantEdit, INigeriaUGApplicantEdit,
    4343    INigeriaApplicantOnlinePayment,
    44     UG_OMIT_DISPLAY_FIELDS,
    45     UG_OMIT_PDF_FIELDS,
    46     UG_OMIT_MANAGE_FIELDS,
    47     UG_OMIT_EDIT_FIELDS,
     44    #UG_OMIT_DISPLAY_FIELDS,
     45    #UG_OMIT_PDF_FIELDS,
     46    #UG_OMIT_MANAGE_FIELDS,
     47    #UG_OMIT_EDIT_FIELDS,
    4848    PG_OMIT_DISPLAY_FIELDS,
    4949    PG_OMIT_PDF_FIELDS,
     
    5757    )
    5858from kofacustom.nigeria.interfaces import MessageFactory as _
     59
     60# Fields to be omitted in all display forms. course_admitted is
     61# rendered separately.
     62
     63OMIT_DISPLAY_FIELDS = ('locked', 'course_admitted',
     64    'result_uploaded', 'suspended', 'special_application',
     65    'bank_account_number',
     66    'bank_account_name',
     67    'bank_name',
     68    'course1', 'course2') # these 2 have been added
     69
     70# UG students are all undergraduate students.
     71UG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + (
     72    'jamb_subjects_list', 'programme_type')
     73UG_OMIT_PDF_FIELDS = UG_OMIT_DISPLAY_FIELDS + ('phone',)
     74UG_OMIT_MANAGE_FIELDS = (
     75    'special_application',
     76    'jamb_subjects_list',
     77    'programme_type')
     78UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + OMIT_DISPLAY_FIELDS + (
     79    'student_id',
     80    'notice',
     81    'screening_score',
     82    'screening_venue',
     83    'screening_date',
     84    'jamb_age',
     85    'jamb_subjects',
     86    'jamb_score',
     87    'jamb_reg_number',
     88    'aggregate')
    5989
    6090class CustomApplicantDisplayFormPage(NigeriaApplicantDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.