Changeset 14828 for main


Ignore:
Timestamp:
31 Aug 2017, 06:02:44 (7 years ago)
Author:
Henrik Bettermann
Message:

Hide bank account fields.

File:
1 edited

Legend:

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

    r14096 r14828  
    172172    'jamb_subjects_list', 'programme_type')
    173173
     174PUTME_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + PUTME_OMIT_FIELDS
     175
    174176# temporary solution to display bank account fields only
    175177# for PUTME (ase) application
    176 
    177 #PUTME_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + PUTME_OMIT_FIELDS
    178 PUTME_OMIT_DISPLAY_FIELDS = (
    179     'locked', 'course_admitted', 'result_uploaded',
    180     'suspended', 'special_application') + PUTME_OMIT_FIELDS
     178#PUTME_OMIT_DISPLAY_FIELDS = (
     179#    'locked', 'course_admitted', 'result_uploaded',
     180#    'suspended', 'special_application') + PUTME_OMIT_FIELDS
    181181
    182182PUTME_OMIT_MANAGE_FIELDS = UG_OMIT_MANAGE_FIELDS + PUTME_OMIT_FIELDS
     183
     184PUTME_OMIT_EDIT_FIELDS = UG_OMIT_EDIT_FIELDS + PUTME_OMIT_FIELDS + (
     185    'firstname', 'middlename', 'lastname', 'sex',
     186    'course1', 'lga')
    183187
    184188# temporary solution to display bank account fields only
    185189# for PUTME (ase) application
    186 
    187 #PUTME_OMIT_EDIT_FIELDS = UG_OMIT_EDIT_FIELDS + PUTME_OMIT_FIELDS + (
     190#PUTME_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS  + (
     191#    'locked', 'course_admitted', 'result_uploaded',
     192#    'suspended', 'special_application',
     193#    'student_id',
     194#    'notice',
     195#    'screening_score',
     196#    'screening_venue',
     197#    'screening_date',
     198#    'jamb_age',
     199#    'jamb_subjects',
     200#    'jamb_score',
     201#    'jamb_reg_number',
     202#    'aggregate',
    188203#    'firstname', 'middlename', 'lastname', 'sex',
    189 #    'course1', 'lga')
    190 PUTME_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS  + (
    191     'locked', 'course_admitted', 'result_uploaded',
    192     'suspended', 'special_application',
    193     'student_id',
    194     'notice',
    195     'screening_score',
    196     'screening_venue',
    197     'screening_date',
    198     'jamb_age',
    199     'jamb_subjects',
    200     'jamb_score',
    201     'jamb_reg_number',
    202     'aggregate',
    203     'firstname', 'middlename', 'lastname', 'sex',
    204     'course1', 'lga') + PUTME_OMIT_FIELDS
     204#    'course1', 'lga') + PUTME_OMIT_FIELDS
    205205
    206206PUTME_OMIT_PDF_FIELDS = PUTME_OMIT_DISPLAY_FIELDS + ('phone',)
Note: See TracChangeset for help on using the changeset viewer.